Skip to content

Commit

Permalink
Use new encodeXML lambda in RSS feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Aug 29, 2019
1 parent 7b61262 commit 0178794
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion app/templates/latest/archive/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/latest/console/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/latest/default/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/latest/index/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/latest/magazine/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/latest/photos/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/latest/portfolio/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/latest/rosa/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/blank/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/empty/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/essay/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/grid/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/log/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/marfa/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/mira/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/mono/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/original/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/photo/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/scroll/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/serif/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/terminal/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/twentytwelve/feed.rss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{! RSS feeds need a RFC 822 date}}
<pubDate>{{#formatDate}}ddd, DD MMM YYYY HH:mm:ss ZZ{{/formatDate}}</pubDate>
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<description><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></description>
<description><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></description>
</item>
{{/recentEntries}}
</channel>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/past/wordpress-export/export.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dc:creator><![CDATA[ {{{title}}} ]]></dc:creator>
<guid isPermaLink="true">{{{absoluteURL}}}</guid>
<description></description>
<content:encoded><![CDATA[ {{#absoluteURLs}} {{{body}}} {{/absoluteURLs}} ]]></content:encoded>
<content:encoded><![CDATA[ {{#encodeXML}} {{{body}}} {{/encodeXML}} ]]></content:encoded>
<wp:post_name><![CDATA[{{{slug}}}]]></wp:post_name>
<wp:post_type><![CDATA[post]]></wp:post_type>
<wp:status><![CDATA[publish]]></wp:status>
Expand Down

0 comments on commit 0178794

Please sign in to comment.