blob: 565f3b16c9a35a788dfc85c88f579591ddbcfa72 (
plain)
In Atom, we can provide published and updated information.
In RSS, there is only pubDate , for the
publication date, but an update can be mentioned with the dc:modified
element (whose datetime format is iso 8601).
This patch updates :) inline.pm and the two relevant templates.
I tested a slightly modified patch, which I've put below for now.
feedvalidator.org complains that dc:modified is not a known element. I'll
bet some header needs to be added to make the dublin core stuff available.
The atom feeds seem ok. --[[Joey]]
Yes I noticedthe bug today; the correct (tested on feedvalidator) rssitem.tmpl template must start with the following content:
<item>
<TMPL_IF NAME="AUTHOR">
<title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>
<dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator>
<TMPL_ELSE>
<title><TMPL_VAR TITLE></title>
</TMPL_IF>
<dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified>
<dcterms:created><TMPL_VAR DATE_3339></dcterms:created>
....
and rsspage.tmpl must start with:
<?xml version="1.0"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/" >
....
— [[NicolasLimare]]
[[done]] --[[Joey]]
[[!tag patch]]
|