Afficher un message
Vieux 14/06/2007, 20h09   #2
Gleep
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: getting data from a feed file

On Thu, 14 Jun 2007 08:01:19 -0700, jerry@mynetserv.com wrote:

>Ok, I have a feed that I need to get the data from. The file is an
>html file that contains items. I need to step through the file,
>getting the first item, doing whatever, then the second item, and so
>on. Any thoughts on the best way to to this?
>
><Feed>
> <Item>
> <ID>Data I need</ID>
> <Title>Data I need</Title>
> </Item>
> <Item>
> <ID>Data I need</ID>
> <Title>Data I need</Title>
> </Item>
></Feed>



look into http://sourceforge.net/projects/snoopy/

or data mining

google: php data mining
or google: html data scraping

the idea is you grab the data from a web site
trim out the top/bottom parts so you are left with what you need
then parse through the remaning using tag identifiers and pass into an array
then use that array as needed




  Réponse avec citation
 
Page generated in 0,05049 seconds with 9 queries