PHP XML RSS? :S

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
BETA
Forum Commoner
Posts: 47
Joined: Fri Jul 25, 2008 3:21 am

PHP XML RSS? :S

Post by BETA »

Hello again! Im back from my holidays in which i was playing a lot with PHP now i think i know it way good... Well my web is almost complete (for its first version). But now comes the task of making it indexable for all search engines and well u know the so called SEO...
I read about RSS i didn't know what it was till today now... i managed to make an RSS.xml doc but i was thinking it's a pain in the ass to update it whenever i add a new in my news system... i know nothing about combining PHP+XML but i want to make it so the rss.xml updates whenever i add a new or a new section on my web... Can u give any guides?
Thx in advance! :drunk:

BTW:dunno if this is the right section for this... pls move it if u think it isn't mods :)
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: PHP XML RSS? :S

Post by jayshields »

Is the data you use for you website coming from a database? You could have your existing scripts update the XML file every time they're used to add something, or even better, have the XML file actually as a PHP file that is served as XML, and it pulls the data from the database everytime it is requested - I guess that is the norm, but I've never programmed one before.

There are loads of XML interaction classes in PHP, search on http://php.net to read up.
BETA
Forum Commoner
Posts: 47
Joined: Fri Jul 25, 2008 3:21 am

Re: PHP XML RSS? :S

Post by BETA »

Thanks ill take a look at it... if i come uo with something ill tell it here... anyway this is not urgent so i may post today or tomorrow or whenever... dunno
Thx!
Post Reply