|
|
 |
Re: FN-FORUM: php, XML, content and searching
date posted 4th September 2007 09:15
kujo wrote:
>
> Hi
>
> You could still be using a main database for all the websites and pull
> the data out of it into static XML files on a regular basis or when some
> data is changed via your CMS and parse the XML remotely from each website.
> I'd use PHP5 simpleXML methods and maybe some PEAR library for content
> syndication, but I'm not sure what's your goal and which platform you're
> on so it's just an idea.
Just to add to my previous comment, php5's simpleXML and domXML
extensions both use the same XML parsing library which means you can
convert from one method of accessing the xml to the other without
virtually any overhead. That is to say you don't need two copies of the
data in memory.
Regards
Richard
--
Artumi Systems, 58 Salmon Street, Sheffield, S11 8DD.
Tel 0114 250 7654, Web http://www.artumi.com
VAT Reg 889 0317 88
|
 |
|