You are here: XML parser « PHP Programming Language « IT news, forums, messages
XML parser

Posted by Bob Bedford on 10/06/06 13:56

Hi all,

I've to parse XML files on the fly and I must admit I'm far away to
understand why the parser are done.

The files I receive have all the same structure, and due to limitations of
my hosting (I can't change, so don't tell me to) I have a 10 seconds script
limit.

My XML files contains datas and images.

The structure is very complex, but I only need to save images and refresh
the page everytime the article is changed.

Here is the simpified structure:
<struct>
<structinfo>
</structinfo>
<sourceinfo>
</sourceinfo>
<art id="452445" mode="test">
<fsdfsd></fsdfsd>
<fghdh></fghdh>
<pictures count="2" data="43">
<pic nr="1">
<![CDATA[/9j/4AAQ.....>
</pic>
<pic nr="2">
<![CDATA[/9j/4AAQ.....>
</pic>
</art>
<art id="452446" mode="test">
</art>
</struct>
I only need to get the art id and every picture for each article, then save
on a disk and refresh the page (for avoiding the 10 seconds limits) and
manage the others articles until all articles's pictures have been saved.

Please help me do it. I can do everything in the same file (manage datas and
save files) using a parser (I've dowloaded the php script but don't really
understand how it does work). I don't need the rest, only the number and the
files, then be able to refresh.

Bob

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация