Browse Source

valid RSS

master
mikel.maron 17 years ago
parent
commit
8ff767aa84
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      docs/templates/rss.tpl

+ 5
- 6
docs/templates/rss.tpl View File

@@ -2,17 +2,16 @@
<rss version="2.0" xmlns:georss="http://georss.org/georss">
<channel>
<title>Search Results</title>
<link></link>
<link>http://www.planningalerts.com/</link>
<description></description>
{foreach name="applications" from="$applications" item="application"}
<item>
<guid>{$application->council_reference}</guid>
<guid isPermaLink="false">{$application->council_reference}</guid>
<georss:featurename>{$application->address}</georss:featurename>
<georss:point>{$application->lat} {$application->lon}</georss:point>
<description>{$application->description}</description>
<link>{$application->info_url}</link>
<comments>{$application->comment_url}</comments>
<pubDate>{$application->date_received}</pubDate>
<description><![CDATA[{$application->description}]]></description>
<link><![CDATA[{$application->info_url}]]></link>
<comments><![CDATA[{$application->comment_url}]]></comments>
</item>
{/foreach}
</channel>


Loading…
Cancel
Save