Browse Source

Wrap georss:featurname contents in a CDATA too.

master
duncan.parkes 16 years ago
parent
commit
d5448840fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/templates/rss.tpl

+ 1
- 1
docs/templates/rss.tpl View File

@@ -9,7 +9,7 @@
<title><![CDATA[{$application->address}]]></title> <title><![CDATA[{$application->address}]]></title>
<pubDate>{$application->date_scraped|date_format:"%a, %e %b %Y"}</pubDate> <pubDate>{$application->date_scraped|date_format:"%a, %e %b %Y"}</pubDate>
<guid isPermaLink="false">{$application->council_reference}</guid> <guid isPermaLink="false">{$application->council_reference}</guid>
<georss:featurename>{$application->address}</georss:featurename>
<georss:featurename><![CDATA[{$application->address}]]></georss:featurename>
<georss:point>{$application->lat} {$application->lon}</georss:point> <georss:point>{$application->lat} {$application->lon}</georss:point>
<description><![CDATA[{$application->description}]]></description> <description><![CDATA[{$application->description}]]></description>
<link><![CDATA[{$application->info_url}]]></link> <link><![CDATA[{$application->info_url}]]></link>


Loading…
Cancel
Save