Re: Full RSS feeds
Brian Sullivan <[email protected]>
| Newsgroups | gmane.comp.python.zope.coreblog.english |
|---|---|
| Message-ID | <[email protected]> |
On 12/1/05, George Siemens <[email protected]> wrote: > > Hi, I imagine the solution is simple...but how do I make my full coreblogfeed appear in > > RSS readers (rather than only the 3 line exerpt? > > This is what I use -- maybe a bit kludgey but seems to work: <dtml-call "RESPONSE.setHeader('content-type', 'text/xml; charset=ISO-8859-1')"><?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"> <channel> <title><dtml-var title></title> <link><dtml-var blogurl></link> <description><dtml-var blog_description></description> <language>en-ca</language> <copyright>Copyright 2005 Courses by Wire</copyright> <skipHours> <hour>0</hour> <hour>1</hour> <hour>2</hour> <hour>3</hour> <hour>4</hour> <hour>5</hour> <hour>6</hour> <hour>23</hour> </skipHours> <ttl>60</ttl> <dtml-in "rev_day_entry_items(count=top_days)"> <item> <title><dtml-var title></title> <link><dtml-var blogurl>/<dtml-var id></link> <description><![CDATA[ <dtml-if "format == 0"> <dtml-var body newline_to_br> <dtml-elif "format == 1"> <dtml-var body fmt=structured-text> <dtml-elif "format == 2"> <dtml-var body> </dtml-if>]]> </description> <dtml-in entry_category_list> <category><dtml-var name></category> </dtml-in> <comments><dtml-var blogurl>/<dtml-var id>#comments</comments> <dc:creator><dtml-var author html_quote></dc:creator> <dc:date><dtml-var "date_created().toZone('UTC').strftime('%Y-%m-%dT%H:%M:%SZ')"></dc:date> <guid><dtml-var blogurl>/<dtml-var id></guid> <pubDate><dtml-var "date_created().rfc822()"></pubDate> </item> </dtml-in> </channel> </rss> _______________________________________________ COREblog-en mailing list COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected] http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en Unsubscription writing to coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]