RSS Feeds Question

Reply

Join Date: Sep 2004
Posts: 23
Reputation: shortd81 is an unknown quantity at this point 
Solved Threads: 0
shortd81 shortd81 is offline Offline
Newbie Poster

RSS Feeds Question

 
0
  #1
Feb 18th, 2005
Not sure if this is in the right place, if not please move.

I'm looking to make my own rss feeds, and need some nice tutorials. I googled it but only got rss feeds for your site not how to make them.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,041
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 128
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: RSS Feeds Question

 
0
  #2
Feb 18th, 2005
Do you have any experience with writing database queries? You would actually just create a page called rss.php and in it you would write PHP code to query the database for the last 10 or so entries. Then, you'd loop through each entry. Suppose an entry consisted of an article title and URL. Then, the inside of your loop would have four echo statements. One to denote a new <article>. Two echo statements (for title and URL). And then a </article>. This is just a very, very basic example. I could provide more information if you let me know what exact information you want to appear in the RSS.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 11
Reputation: rice_web is an unknown quantity at this point 
Solved Threads: 1
rice_web rice_web is offline Offline
Newbie Poster

Re: RSS Feeds Question

 
0
  #3
Feb 20th, 2005
Originally Posted by shortd81
Not sure if this is in the right place, if not please move.

I'm looking to make my own rss feeds, and need some nice tutorials. I googled it but only got rss feeds for your site not how to make them.

Thanks
You can start by looking at the specifications for RSS feeds. Googling "RSS Specifications" is a good start. You'll get results from several standards organizations and a few comparisons of the RSS standards.

After you've familiarized yourself with the RSS standard, you'll realize that it's not much different than an HTML file with looping data. If you know rudimentary HTML and can manage a for{...} or while{...} loop in PHP, you should be fine.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 1
Reputation: notepage is an unknown quantity at this point 
Solved Threads: 0
notepage notepage is offline Offline
Newbie Poster

Re: RSS Feeds Question

 
0
  #4
Mar 24th, 2005
Originally Posted by shortd81
Not sure if this is in the right place, if not please move.

I'm looking to make my own rss feeds, and need some nice tutorials. I googled it but only got rss feeds for your site not how to make them.

Thanks
FeedForAll makes feed creation really easy http://www.feedforall.com if you prefer to use notepad and create the feed by hand there is a good walkthrough at http://www.make-rss-feeds.com

Best
S. Housley
FeedForAll - http://www.feedforall.com | NotePage - http://www.notepage.net
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC