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.
 
 
 
 
 
 

39 lines
2.0 KiB

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