Jump to content

parsing using php and xml


ravravrav

Recommended Posts


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
Link to comment
Share on other sites

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]
Link to comment
Share on other sites

[!--quoteo(post=375758:date=May 21 2006, 02:27 PM:name=eves)--][div class=\'quotetop\']QUOTE(eves @ May 21 2006, 02:27 PM) [snapback]375758[/snapback][/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>??

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.