Find Article
Saturday, May 21, 2011
Php Code: RSS Feed
This small snippet will create an RSS feed. I've tested the format using several popular RSS readers and it seems to work fine.
<!-- This Script is from www.hawkee.com, found at www.phpfreecode.com--><br /><b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/content/k/k/r/kkr152/html/phpfreecode/rss_feed.htm:6) in <b>/home/content/k/k/r/kkr152/html/phpfreecode/rss_feed.htm</b> on line <b>163</b><br /><?xml version="1.0"?><!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> <rss version="0.91"> <channel> <title>RSS Feed</title> <language>en</language> <link>http://www.website.com</link> <description>RSS Feed Description</description><br /><b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/home/content/k/k/r/kkr152/html/phpfreecode/rss_feed.htm</b> on line <b>185</b><br /><br /><b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in <b>/home/content/k/k/r/kkr152/html/phpfreecode/rss_feed.htm</b> on line <b>185</b><br /><br /><b>Warning</b>: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in <b>/home/content/k/k/r/kkr152/html/phpfreecode/rss_feed.htm</b> on line <b>188</b><br /></channel></rss><br><font face="Tahoma"><a target="_blank" href="http://www.phpfreecode.com/"><span style="font-size: 8pt; text-decoration: none">PHP Free Code</span></a></font>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment