roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r219456 - /incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm
Date Mon, 18 Jul 2005 04:36:45 GMT
Author: snoopdave
Date: Sun Jul 17 21:36:14 2005
New Revision: 219456

URL: http://svn.apache.org/viewcvs?rev=219456&view=rev
Log:
<feed> MUST have <id>
<feed> MUST have <link> with rel="self"

Modified:
    incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm

Modified: incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm?rev=219456&r1=219455&r2=219456&view=diff
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/flavors/atom.vm Sun Jul 17 21:36:14 2005
@@ -2,7 +2,10 @@
 <feed xmlns="http://www.w3.org/2005/Atom">
     <title>$utilities.textToHTML($website.name,true)</title>
     <subtitle>$utilities.textToHTML($website.description,true)</subtitle>
+    <id>$absBaseURL/flavor/${entry.website.user.userName}?flavor=atom</id>
     <link rel="alternate" type="text/html" href="$websiteURL" />
+    <link rel="self" type="application/atom+xml" 
+       href="$absBaseURL/flavor/${entry.website.user.userName}?flavor=atom" />
     <updated>$utilities.formatIso8601Date($updateTime)</updated>
     <generator uri="http://www.rollerweblogger.org" version="#showVersion() ($rollerBuildTime:$rollerBuildUser)">
        Roller Weblogger
@@ -15,7 +18,7 @@
     #foreach( $entry in $entries )
     <entry>
         <title>$utilities.textToHTML($entry.title,true)</title>
-        <id>tag:$host,$utilities.formatIso8601Day($entry.pubTime):/$entry.website.user.userName?entry=$utilities.textToHTML($entry.anchor)</id>
+        <id>$absBaseURL$entry.permaLink</id>
         <link rel="alternate" type="text/html" href="$absBaseURL$entry.permaLink"/>
         <published>$utilities.formatIso8601Date($entry.pubTime)</published>
         <updated>$utilities.formatIso8601Date($entry.updateTime)</updated>



Mime
View raw message