PDA

View Full Version : Posting Data from XML file?



sixstringlass
23 Feb 2007, 07:23 AM
Hi, everyone,

I hope this is the right forum for this. :)

I have created a Flash-based MP3 player that gets information from an XML file. It works fine. What I need is to be able to get the "most played" track data from the XML file and have it post the top ten results automatically to a web page.

I've done some research on this, and have been reading about AJAX, but I'm not sure that's what I need.

So, I guess my question would be: how do I get the "most played track" data from the XML file to post on a web page automatically?

If anyone can even point me in the right direction, I'd be really grateful.

Thanks so much!
Charity

jfsuite
26 Feb 2007, 11:40 AM
Both Get or Post method will work for you. Not sure where you start to 'post' the information, the Flash? or the HTML that hosting the Flash?

1. you should have a dynamic page working on your site, php or jsp.

2. you can use Get method to 'post' those tracked informations, something like this:

http://yourdomain.com/trackdata?CustID=111&MostPlayed=music1,music2,music3

3. the trackdata is a php or jsp page, when open it, it starts working..to record those informations to your database... CustID=111&MostPlayed=music1,music2,music3

4. then sure, you can simply ouput a OK to the caller.. Flash, or HTML.

5. yes. when using AJAX, your customer will not know anything when you send out those informations...