| | |
RSS Feeds Question
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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.
•
•
Join Date: Jul 2004
Posts: 11
Reputation:
Solved Threads: 1
•
•
•
•
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
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.
•
•
Join Date: Mar 2005
Posts: 1
Reputation:
Solved Threads: 0
•
•
•
•
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
Best
S. Housley
FeedForAll - http://www.feedforall.com | NotePage - http://www.notepage.net
![]() |
Similar Threads
- Where are the good Java RSS Feeds? (IT Professionals' Lounge)
- RSS Feeds (DaniWeb Community Feedback)
- RSS feeds (Web Browsers)
- Finding updated rss feeds (ASP.NET)
- Waht Is Rss Feeds (PHP)
Other Threads in the PHP Forum
- Previous Thread: Need help diplaying null values
- Next Thread: trying to create an online contents menu
| Thread Tools | Search this Thread |
apache api array basic beginner binary broken cakephp checkbox class cms code computing confirm cron curl customizableitems database date delete display dynamic echo email error external file files filter folder form forms forum function functions gc_maxlifetime google headmethod host href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction memmory memory menu mlm multiple mysql navigation oop parsing paypal pdf php problem query question radio random recursion regex remote script search select server sessions sms snippet soap source space sql syntax system table thesishelp trouble tutorial update upload url validator variable video web xml youtube







