TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
Advertisement
Associates
Associates
techtuts Darkmindz
CSS Tutorials Tutorialsphere.com - Free Online Tutorials
Boston PHP SurfnLearn
Reply
 
LinkBack Thread Tools Display Modes
Old 02-03-2008, 02:08 AM   #1 (permalink)
The Contributor
Inquisitive 
 
Join Date: Jul 2005
Location: UK
Posts: 87
Thanks: 30
Brook is on a distinguished road
Default How easy is it to create RSS feeds?

If a page is constructed by a bunch of queries (depending on an 'id' in the url) how easy is it to create an RSS feed for that page?

For eg, say there was a movie site, that had a news and features section. Each news and features article would be 'tagged' with the name of actors it related to.

Then say we had an actors page that showed the latest news and features relating to whichever actors id is put in the url (eg actor_id=) (so basically that page is just constucted with sql queries). Would there be anyway to create an rss feed for those pages? So whenever a new news of feature is posted about a certain actor, anyone subscribed to that actors page get's a notification?

Is this easy enough to do?
__________________
PS3 Forums on GameSlurp - the site for gaming fans!
Brook is offline  
Reply With Quote
Old 02-03-2008, 03:59 AM   #2 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 700
Thanks: 2
Salathe is on a distinguished road
Default

RSS is just another form of output. You're comfortable with outputting HTML? There's no reason why RSS shouldn't be just as easy. :)
__________________
Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
Brook (02-03-2008)
Old 02-03-2008, 04:47 AM   #3 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Location: On your Hard Drive, hiding like a Virus
Posts: 818
Thanks: 163
Orc is on a distinguished road
Default

RSS is easy as using grabbing rows from the MySQL in php. :]
__________________
Wax on, Wax off
Orc is offline  
Reply With Quote
The Following User Says Thank You to Orc For This Useful Post:
Brook (02-03-2008)
Old 02-03-2008, 05:39 AM   #4 (permalink)
The Acquainted
Inquisitive 
 
WinSrev's Avatar
 
Join Date: Sep 2007
Posts: 133
Thanks: 6
WinSrev is on a distinguished road
Default

It's upto the rss feeding software to determine if there's a new "post"
Send a message via ICQ to WinSrev
WinSrev is offline  
Reply With Quote
The Following User Says Thank You to WinSrev For This Useful Post:
Brook (02-03-2008)
Old 02-03-2008, 08:10 PM   #5 (permalink)
The Contributor
 
Join Date: Dec 2007
Location: Florida
Posts: 73
Thanks: 12
danielneri is on a distinguished road
Default

This might help you - Dynamic RSS Feeds - Viper Creations

__________________
Send a message via AIM to danielneri
danielneri is offline  
Reply With Quote
The Following User Says Thank You to danielneri For This Useful Post:
Brook (02-07-2008)
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:29 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0