Jump to content


Photo

parsing using php and xml


  • Please log in to reply
2 replies to this topic

#1 ravravrav

ravravrav
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 21 May 2006 - 12:21 PM


hi,

this is my first post here so apologies if anythings not right...

i want to make a simple file for my website which searches a website like imdb.com and puts the top 250 movies into a list made with macromedia flash...

anyway i understand that i will need to use xml, php and flash in order to do this.

the problem is i dont fully understand how to use php to put the information into an xml file...which is what flash needs to show the data.

can anyone explain this or maybe link to a good tutorial for beginners.

thanks
[a href="http://www.filmfiler.com" target="_blank"]FilmFiler.com -- everybody has a story to tell, what's yours?[/a]

#2 eves

eves
  • Members
  • PipPip
  • Member
  • 26 posts

Posted 21 May 2006 - 01:27 PM

Check for the RSS of the site, big sites usullay have that, you can already feed it to flash since its already in XML format. here's an info on RSS: [a href=\"http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html\" target=\"_blank\"]http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html[/a]

#3 ravravrav

ravravrav
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 21 May 2006 - 02:37 PM

[!--quoteo(post=375758:date=May 21 2006, 02:27 PM:name=eves)--][div class=\'quotetop\']QUOTE(eves @ May 21 2006, 02:27 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Check for the RSS of the site, big sites usullay have that, you can already feed it to flash since its already in XML format. here's an info on RSS: [a href=\"http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html\" target=\"_blank\"]http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html[/a]
[/quote]


can you believe it, out of all the sites which would really be cool with an rss feed, this one doesnt have any good ones!! lol

thanks for the link i found a great tutorial on parsing rss feeds and displaying them into flash, which is almost exactly what i want!

i think the html code in the top 250 movies page is quite straightforward so i thought the php bit to parse it would be easy - - im not sure how the overall thing works. what does the code actually look for or do>??


[a href="http://www.filmfiler.com" target="_blank"]FilmFiler.com -- everybody has a story to tell, what's yours?[/a]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users