User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 401,665 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,659 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2385 | Replies: 3
Reply
Join Date: Sep 2004
Posts: 23
Reputation: shortd81 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
shortd81 shortd81 is offline Offline
Newbie Poster

RSS Feeds Question

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,888
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 110
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: RSS Feeds Question

  #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.
Reply With Quote  
Join Date: Jul 2004
Posts: 11
Reputation: rice_web is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
rice_web rice_web is offline Offline
Newbie Poster

Re: RSS Feeds Question

  #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  
Join Date: Mar 2005
Posts: 1
Reputation: notepage is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
notepage notepage is offline Offline
Newbie Poster

Re: RSS Feeds Question

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 7:07 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC