943,353 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 3142
  • PHP RSS
Feb 18th, 2005
0

RSS Feeds Question

Expand Post »
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
Similar Threads
Reputation Points: 11
Solved Threads: 0
Newbie Poster
shortd81 is offline Offline
23 posts
since Sep 2004
Feb 18th, 2005
0

Re: RSS Feeds Question

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.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002
Feb 20th, 2005
0

Re: RSS Feeds Question

Quote 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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
rice_web is offline Offline
11 posts
since Jul 2004
Mar 24th, 2005
0

Re: RSS Feeds Question

Quote 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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
notepage is offline Offline
1 posts
since Mar 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Need help diplaying null values
Next Thread in PHP Forum Timeline: trying to create an online contents menu





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC