roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r239719 - /incubator/roller/trunk/web/WEB-INF/classes/weblog.vm
Date Wed, 24 Aug 2005 17:45:59 GMT
Author: agilliland
Date: Wed Aug 24 10:45:56 2005
New Revision: 239719

URL: http://svn.apache.org/viewcvs?rev=239719&view=rev
Log:
adding trackback autodiscovery velocity macro.


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

Modified: incubator/roller/trunk/web/WEB-INF/classes/weblog.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/WEB-INF/classes/weblog.vm?rev=239719&r1=239718&r2=239719&view=diff
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/weblog.vm (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/weblog.vm Wed Aug 24 10:45:56 2005
@@ -450,4 +450,25 @@
 **#
 #macro( showAnchorTag $entry )
     <a name="$utilities.encode($entry.anchor)" id="$utilities.encode($entry.anchor)"></a>
+#end
+
+#**
+ * Display a trackback auto-discovery comment for a WeblogEntry.
+ **#
+#macro( showTrackbackAutodiscovery $entry )
+<!--
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
+         xmlns:dc="http://purl.org/dc/elements/1.1/">
+<rdf:Description
+    rdf:about="$absBaseURL$entry.permaLink"
+    trackback:ping="#showTrackbackURL($entry)"
+    dc:title="$entry.title"
+    dc:identifier="$absBaseURL$entry.permaLink"
+    dc:subject="$entry.category.name"
+    dc:description="$entry.title"
+    dc:creator="$entry.website.user.userName"
+    dc:date="$entry.pubTime" />
+</rdf:RDF>
+-->
 #end



Mime
View raw message