|
1234567891011121314151617181920212223242526272829303132333435 |
- <?php /* Smarty version 2.6.16, created on 2007-04-09 16:50:59
- compiled from rss.tpl */ ?>
- <?php echo '<?xml'; ?>
- version="1.0" encoding="UTF-8"<?php echo '?>'; ?>
-
- <rss version="2.0" xmlns:georss="http://www.georss.org/georss">
- <channel>
- <title>PlanningAlerts.com</title>
- <link>http://www.planningalerts.com/</link>
- <description></description>
- <?php $_from = ($this->_tpl_vars['applications']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['applications'] = array('total' => count($_from), 'iteration' => 0);
- if ($this->_foreach['applications']['total'] > 0):
- foreach ($_from as $this->_tpl_vars['application']):
- $this->_foreach['applications']['iteration']++;
- ?>
- <item>
- <title><?php echo $this->_tpl_vars['application']->address; ?>
- </title>
- <guid isPermaLink="false"><?php echo $this->_tpl_vars['application']->council_reference; ?>
- </guid>
- <georss:featurename><?php echo $this->_tpl_vars['application']->address; ?>
- </georss:featurename>
- <georss:point><?php echo $this->_tpl_vars['application']->lat; ?>
- <?php echo $this->_tpl_vars['application']->lon; ?>
- </georss:point>
- <description><![CDATA[<?php echo $this->_tpl_vars['application']->description; ?>
- ]]></description>
- <link><![CDATA[<?php echo $this->_tpl_vars['application']->info_url; ?>
- ]]></link>
- <comments><![CDATA[<?php echo $this->_tpl_vars['application']->comment_url; ?>
- ]]></comments>
- </item>
- <?php endforeach; endif; unset($_from); ?>
- </channel>
- </rss>
|