Connecting Tech Pros Worldwide Forums | Help | Site Map

Displaying RSS with PHP

Newbie
 
Join Date: Aug 2008
Posts: 2
#1: Aug 14 '08
My RSS feeds end with a .php extension. The php code generates the XML (RSS feed). Does anyone know how to post the RSS feed, update daily automatically, and When it displays the link to the feed it displays the title as a hyperlink.

If anyone could assist it would be greatly appreciated.

Thanks
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,642
#2: Aug 21 '08

re: Displaying RSS with PHP


usually you post a feed like that (in the HEAD section of the HTML file):
Expand|Select|Wrap|Line Numbers
  1. <link type="application/rss+xml" rel="alternate" title="Feed-Title" href="yuorfeed.php" />
this should cause most of the browsers to display that a feed is available.

you only have to make sure you set the right file type header in php
Reply