Jump to content


parsing xml with cache and change of encoding

  • Please log in to reply
2 replies to this topic

#1 agga.gaag

  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 18 October 2006 - 12:19 PM


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

#2 printf

  • Staff Alumni
  • Advanced Member
  • 889 posts

Posted 18 October 2006 - 01:37 PM

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!


#3 agga.gaag

  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 19 October 2006 - 05:37 AM


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

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


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users