I want to show RSS feeds on my PHP site. How would I take an XML file and parse it to display no my site? Thanks.
PHP RSS Feeds?
Use RSS2HTML http://www.feedforall.com/more-php.htm it is a free PHP script that will display the RSS feed as an HTML web page.
You can use templates to control the appearance of the feed being displayed. This allows it to match your existing webpage look.
Reply:Something like this should work
%26lt;?php header('Content-type: application/xml', true);
echo '%26lt;?xml version="1.0" encoding="iso-8859-1"?%26gt;'; ?%26gt;
%26lt;rss version="2.0"%26gt;
You should know the rest :)
%26lt;/rss%26gt;
teeth braces
No comments:
Post a Comment