removed CDATA tags; added xml encoding parameters, instead
This commit is contained in:
parent
d3766c5ced
commit
578ae4537b
7 changed files with 31 additions and 31 deletions
|
@ -13,13 +13,13 @@ var items = "";
|
|||
var resources = "";
|
||||
|
||||
for (var i=0; i<max; i++) {
|
||||
var site = this.get(i);
|
||||
if (site.online && site.lastupdate) {
|
||||
var site = this.get(i);
|
||||
if (site.online && site.lastupdate) {
|
||||
param.title = site.title ? site.title : site.alias;
|
||||
param.publisher = systitle;
|
||||
param.creator = site.creator.name;
|
||||
param.email = translateToEntities(site.creator.email);
|
||||
param.date = site.lastupdate.format("dd.MM.yyyy, HH:mm'h CET'");
|
||||
param.date = site.lastupdate.format("dd.MM.yyyy, HH:mm'h CET'");
|
||||
param.isodate = site.lastupdate.format(isoDateFormat);
|
||||
param.year = site.lastupdate.getYear();
|
||||
items += site.renderSkinAsString("rssItem", param);
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
xmlns="http://purl.org/rss/1.0/"
|
||||
>
|
||||
|
||||
<channel rdf:about="<% this.url encode="xml" %>">
|
||||
<title><% param.title %> Sites</title>
|
||||
<link><% this.url encode="xml" %></link>
|
||||
<channel rdf:about="<% this.url encoding="xml" %>">
|
||||
<title><% param.title encoding="xml" %> Sites</title>
|
||||
<link><% this.url encoding="xml" %></link>
|
||||
<description>Recently updated <% param.title %> sites ordered by date</description>
|
||||
<dc:publisher><% param.title %></dc:publisher>
|
||||
<dc:creator><% param.title %> (mailto:<% param.email %>)</dc:creator>
|
||||
<dc:publisher><% param.title encoding="xml" %></dc:publisher>
|
||||
<dc:creator><% param.title encoding="xml" %> (mailto:<% param.email %>)</dc:creator>
|
||||
<dc:date><% param.lastupdate %></dc:date>
|
||||
<dc:language>en</dc:language>
|
||||
<sy:updatePeriod>hourly</sy:updatePeriod>
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
>
|
||||
|
||||
<channel rdf:about="<% this.url %>">
|
||||
<title><![CDATA[<% this.title %>]]></title>
|
||||
<title><% this.title encoding="xml" %></title>
|
||||
<link><% this.url %></link>
|
||||
<description><![CDATA[<% this.tagline %>]]></description>
|
||||
<dc:publisher><![CDATA[<% param.title %>]]></dc:publisher>
|
||||
<dc:creator><![CDATA[<% param.creator %> (mailto:<% param.email %>)]]></dc:creator>
|
||||
<description><% this.tagline encoding="xml" %></description>
|
||||
<dc:publisher><% param.title encoding="xml" %></dc:publisher>
|
||||
<dc:creator><% param.creator encoding="xml" %> (mailto:<% param.email encoding="xml" %>)</dc:creator>
|
||||
<dc:date><% param.lastupdate %></dc:date>
|
||||
<dc:language>en</dc:language>
|
||||
<sy:updatePeriod>hourly</sy:updatePeriod>
|
||||
|
@ -26,10 +26,10 @@
|
|||
</channel>
|
||||
|
||||
<textinput rdf:about="<% this.url %>search">
|
||||
<title>find</title>
|
||||
<description>Search this weblog:</description>
|
||||
<name>q</name>
|
||||
<link><% this.url %>search</link>
|
||||
<title>find</title>
|
||||
<description>Search this weblog:</description>
|
||||
<name>q</name>
|
||||
<link><% this.url %>search</link>
|
||||
</textinput>
|
||||
|
||||
<% param.items %>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<item rdf:about="<% this.url encode="xml" %>">
|
||||
<title><![CDATA[<% param.title %>]]></title>
|
||||
<link><% this.url encode="xml" %></link>
|
||||
<description><![CDATA[<% param.date %><% this.tagline encode="xml" prefix=" – " %>]]></description>
|
||||
<dc:publisher><![CDATA[<% param.publisher %>]]></dc:publisher>
|
||||
<dc:creator><![CDATA[<% param.creator %> (mailto:<% param.email %>)]]></dc:creator>
|
||||
<dc:rights><![CDATA[Copyright © <% param.year %> <% param.creator %>]]></dc:rights>
|
||||
<item rdf:about="<% this.url encoding="xml" %>">
|
||||
<title><% param.title encoding="xml" %></title>
|
||||
<link><% this.url encoding="xml" %></link>
|
||||
<description><% param.date %><% this.tagline encoding="xml" prefix=" – " %></description>
|
||||
<dc:publisher><% param.publisher encoding="xml" %></dc:publisher>
|
||||
<dc:creator><% param.creator encoding="xml" %> (mailto:<% param.email encoding="xml" %>)</dc:creator>
|
||||
<dc:rights>Copyright © <% param.year %> <% param.creator encoding="xml" %>%></dc:rights>
|
||||
<dc:date><% param.isodate %></dc:date>
|
||||
</item>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<rdf:li rdf:resource="<% this.url encode="xml" %>" />
|
||||
<rdf:li rdf:resource="<% this.url encoding="xml" %>" />
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<item rdf:about="<% param.url %>">
|
||||
<title><![CDATA[<% param.title %>]]></title>
|
||||
<title><% param.title encoding="xml" %></title>
|
||||
<link><% param.url %></link>
|
||||
<% param.text prefix="<description><![CDATA[" suffix="]]></description>" %>
|
||||
<dc:publisher><![CDATA[<% param.publisher %>]]></dc:publisher>
|
||||
<dc:creator><![CDATA[<% param.creator %> (mailto:<% param.email %>)]]></dc:creator>
|
||||
<% param.subject prefix="<dc:subject><![CDATA[" suffix="]]></dc:subject>" %>
|
||||
<dc:rights><![CDATA[Copyright © <% param.year %> <% param.creator %>]]></dc:rights>
|
||||
<% param.text prefix="<description>" suffix="</description>" encoding="xml" %>
|
||||
<dc:publisher><% param.publisher encoding="xml" %></dc:publisher>
|
||||
<dc:creator><% param.creator encoding="xml" %> (mailto:<% param.email encoding="xml" %>)</dc:creator>
|
||||
<% param.subject prefix="<dc:subject>" suffix="</dc:subject>" encoding="xml" %>
|
||||
<dc:rights>Copyright © <% param.year %> <% param.creator %></dc:rights>
|
||||
<dc:date><% param.date %></dc:date>
|
||||
</item>
|
||||
|
|
|
@ -1 +1 @@
|
|||
<rdf:li rdf:resource="<% this.url encode="xml" %>" />
|
||||
<rdf:li rdf:resource="<% this.url encoding="xml" %>" />
|
||||
|
|
Loading…
Add table
Reference in a new issue