Skip to content

Instantly share code, notes, and snippets.

Created January 27, 2009 21:15
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Example ExpressionEngine RSS template for creating a feed of all your recent comments, reverse date ordered
{exp:rss:feed weblog="{master_weblog_name}"}
<?xml version="1.0" encoding="{encoding}"?>
<rss version="2.0" xmlns:dc="" xmlns:sy="" xmlns:admin="" xmlns:rdf="" xmlns:content="">
<title>{exp:xml_encode}My Comments Feed{/exp:xml_encode}</title>
<description>Comments on my site</description>
<dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
<dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
<admin:generatorAgent rdf:resource="" />
{exp:comment:entries weblog="{master_weblog_name}" dynamic="off" sort="desc" limit="20"}
<title>{exp:xml_encode}{name} commented on {title}{/exp:xml_encode}</title>
<guid>{gmt_entry_date format="%H:%i:%sZ"}</guid>
<dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment