|
- <?php /* Smarty version 2.6.16, created on 2007-03-20 21:55:51
- compiled from rss.tpl */ ?>
- <?php echo '<?xml'; ?>
- version="1.0" encoding="UTF-8"<?php echo '?>'; ?>
-
- <rss version="2.0" xmlns:georss="http://georss.org/georss">
- <channel>
- <title>Search Results</title>
- <link></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>
- <guid><?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><?php echo $this->_tpl_vars['application']->description; ?>
- </description>
- <link><?php echo $this->_tpl_vars['application']->info_url; ?>
- </link>
- <comments><?php echo $this->_tpl_vars['application']->comment_url; ?>
- </comments>
- <pubDate><?php echo $this->_tpl_vars['application']->date_received; ?>
- </pubDate>
- </item>
- <?php endforeach; endif; unset($_from); ?>
- </channel>
- </rss>
|