Tuesday, March 20, 2012

Link to an RSS feed in HTML (whit CakePHP)

Link to an RSS feed for a Webpage. The Browser should display the RSS Logo in the URL Field or elsewhere if you include this line in the of the HTML:

If you use CackePHP, you can generate this easy whit
echo $this->Html->meta('rss', '/.rss', array('title' => 'Space Pirates News'));
Of course, you want to change the URL and the Title ;-)

No comments:

Post a Comment