Jump to content

Archived

This topic is now archived and is closed to further replies.

agga.gaag

parsing xml with cache and change of encoding

Recommended Posts

HIs!

if anyone knows a php application that would solve my problem I will very much appreciate. The case is that I have to retrive, parse and afterwards display some data from a source written in XML format (Windows-1251 encoding).

Is there an apllication that will facilitate the procedure. I am especially looking for one that will create cache to minimize site traffic and have an old copy of the information displayed in case that there are problems on the website with original information. Also the application should ideally read the data in Windows-1251 and encode it into UTF-8. Much like MagpieRSS which would be perfect had the source file was in the RSS instead of XML.

MAny thanks

Share this post


Link to post
Share on other sites
Can you give an example XML document, so I can see the format. I need to see the format to give you an example of the best way of caching the XML file after parsing it!

me!

Share this post


Link to post
Share on other sites
sure,

please see http://weather.afisha.uz/current.php

it is in russian though, but shouldn't matter.

Thanks


Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.