I need to know how

DJLHood
DJLHood used Ask the Experts™
on
Im trying to integrate a custom broadcasting solution with an api. I was told to simply construct a url as defined below, and hit it each song you play. My main shoutcast server is up and running. It is streaming now and i have sam broadcaster running. (not encoding)  but analytics relay is active and i have spacialnet registration. However. How can I get a script to access my shoutcast server via ftp and get the play list information and put it on a server directory on my other host account for archiving.? The information i need to retrieve and archive from my shoutcast server is below.
How can i use a php script on my server to do this?  My server is linux with apache  located at http:larryhoodpublishing.com
My shoutcast server is http://64.64.13.52:PORT#
My Radio launch page
http://www.loudcity.com/stations/98811-1302466048/files/show/newradio_launch_2011.html
Fields (bold fields are required)

artist - Name of the artist.
title - Title of the track.
album - Name of the album
label - The record label name
albumyear - The year of this release
viewers - Number of listeners tuned in
stationguid - your unique identifier
Your stationguid is:
d8dc2bb0-45dd-012e-2e0f-fdbefe3683c8
A properly constructed url could look like this:

http://logger.loudcity.net/tracks/submit?stationguid=d8dc2bb0-45dd-012e-2e0f-fdbefe3683c8&artist=Areosmith&title=Walk This Way&album=Toys in the Attic&label=Sony&albumyear=2003&duration=221&viewers=25
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
you need the parse xml, if i understand correct

there is an example

http://forum.loudcity.net/viewtopic.php?id=4017

please comment if you need any further help

Author

Commented:
ok thanks but not clear about the redirects.php what goes there?
sorry, i didn't understand what do you mean with redirects.php?
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Redirects.php creates the web page to view the data that was retrieved.  It uses jQuery.  The main part you need is retrieving the data which is yql.php which returns:

Return: The parsed XML in an array form. Use print_r() to see the resulting array structure.
Dirk HaestProject manager

Commented:
I've requested that this question be deleted for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
I think we got what he needed.  There is some useful information that someone may need.  I don't care who gets the points, but I don't think it should be deleted.
I vote 3 and give the points to aabozkurt.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial