Catch up rsspage to atompage. Validates.
parent
59b597ec84
commit
4b6ea05ac8
|
@ -710,6 +710,7 @@ sub genfeed ($$$$$@) {
|
|||
feeddesc => $feeddesc,
|
||||
guid => $guid,
|
||||
feeddate => date_3339($lasttime),
|
||||
feeddate_822 => date_822($lasttime),
|
||||
feedurl => $feedurl,
|
||||
);
|
||||
run_hooks(pagetemplate => sub {
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
<?xml version="1.0"?>
|
||||
<rss version="2.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:dcterms="http://purl.org/dc/terms/" >
|
||||
<channel>
|
||||
<title><TMPL_VAR TITLE></title>
|
||||
<link><TMPL_VAR PAGEURL></link>
|
||||
<atom:link href="<TMPL_VAR FEEDURL>" rel="self" type="application/rss+xml" />
|
||||
<TMPL_IF COPYRIGHT>
|
||||
<copyright><TMPL_VAR COPYRIGHT ESCAPE=HTML></copyright>
|
||||
</TMPL_IF>
|
||||
<description><TMPL_VAR FEEDDESC ESCAPE=HTML></description>
|
||||
<generator>ikiwiki</generator>
|
||||
<pubDate><TMPL_VAR FEEDDATE_822></pubDate>
|
||||
<TMPL_VAR CONTENT>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
Loading…
Reference in New Issue