Automatically exported from code.google.com/p/planningalerts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 line
1.6 KiB

  1. <?php /* Smarty version 2.6.16, created on 2007-04-07 17:19:50
  2. compiled from rss.tpl */ ?>
  3. <?php echo '<?xml'; ?>
  4. version="1.0" encoding="UTF-8"<?php echo '?>'; ?>
  5. <rss version="2.0" xmlns:georss="http://www.georss.org/georss">
  6. <channel>
  7. <title>PlanningAlerts.com</title>
  8. <link>http://www.planningalerts.com/</link>
  9. <description></description>
  10. <?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);
  11. if ($this->_foreach['applications']['total'] > 0):
  12. foreach ($_from as $this->_tpl_vars['application']):
  13. $this->_foreach['applications']['iteration']++;
  14. ?>
  15. <item>
  16. <title><?php echo $this->_tpl_vars['application']->address; ?>
  17. </title>
  18. <guid isPermaLink="false"><?php echo $this->_tpl_vars['application']->council_reference; ?>
  19. </guid>
  20. <georss:featurename><?php echo $this->_tpl_vars['application']->address; ?>
  21. </georss:featurename>
  22. <georss:point><?php echo $this->_tpl_vars['application']->lat; ?>
  23. <?php echo $this->_tpl_vars['application']->lon; ?>
  24. </georss:point>
  25. <description><![CDATA[<?php echo $this->_tpl_vars['application']->description; ?>
  26. ]]></description>
  27. <link><![CDATA[<?php echo $this->_tpl_vars['application']->info_url; ?>
  28. ]]></link>
  29. <comments><![CDATA[<?php echo $this->_tpl_vars['application']->comment_url; ?>
  30. ]]></comments>
  31. </item>
  32. <?php endforeach; endif; unset($_from); ?>
  33. </channel>
  34. </rss>