Closed Thread
Results 1 to 4 of 4

Thread: embed refreshing shoutcast stats

  1. #1
    Pro Member oates151 has disabled reputation
    Join Date
    Nov 2005
    Location
    Jersey COAST
    Posts
    480

    embed refreshing shoutcast stats

    I am trying to put the current song playing on my shoutcast stream into my website (seen at: http://camp.sharpertech.net/surge). The script i'm using for it is GMTT (http://camp.sharpertech.net/surge/radio/radio_stats.php). I had a problem when I tried using PHP include because the radio_stats.php refreshed every 10 seconds, so it would error out after 10 seconds.

    I heard I can fix this with AJAX, but I have no clue what i'm doing there. Why method should I go about trying to get these stats to work. The iframe method I am using now is not working out too well because of browser compatibility and because the text on the stats is on the bottom and not shown as i'd like it.

    Thanks so much for your help guys,

    -Pat
    PAT MAC
    Galaxy Webs Development Services
    GalaxyWebs.com

  2. #2
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,126
    Pat, like i said, i am not ajax guru, and Joe will still be the best to help here, but, this may be able to help you in your quest without him.

    http://www.webmasterworld.com/javascript/3700144.htm

    check that out. sounds similar to what you want, but, you want to do it without clicking anything, so, just incorporate a JS refresh after so many seconds or something. that should work, but, not 100% and dont have time to fool with it myself since i am at work right now. if i get a chance later, i will see if i can put something together if you dont get it yourself.
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

  3. #3
    Pro Member oates151 has disabled reputation
    Join Date
    Nov 2005
    Location
    Jersey COAST
    Posts
    480
    Having some trouble with this - maybe there is an easier way to set this up.

    I know www.fusionchicago.com was able to pull it off with their stats some how, but the source code isn't giving me any hints as to how. I hope I can get this working some how - otherwise, i'll just have to set the radio_stats.php to not auto-refresh, but that would kind of make the stats function pointless.

    If you have any idea of how fusion put their stats together, please let me know. I may just have to go out and hire a programmer to try and put it together if it's too much of a complicated job - I know everyone here is busy with other programming projects.

    Thanks for your help so far - let me know if you have an idea

    -Pat
    PAT MAC
    Galaxy Webs Development Services
    GalaxyWebs.com

  4. #4
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,126
    they are using frames and more than likely php to generate the content since i dont see any javascript references in that frames code.
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

Closed Thread

Similar Threads

  1. shoutcast stats in iframe
    By oates151 in forum Webdesign / HTML
    Replies: 7
    Last Post: July 24th, 2008, 09:49
  2. Refreshing Favorites
    By A.J. Angel in forum Computers
    Replies: 11
    Last Post: June 5th, 2007, 19:25
  3. Refreshing Problem
    By mami in forum Programming Help
    Replies: 2
    Last Post: May 15th, 2005, 03:17
  4. Refreshing page?
    By trenzterra in forum Computers
    Replies: 4
    Last Post: April 22nd, 2003, 10:13
  5. Refreshing Bandwidth ?
    By Dark Tribe in forum General Discussions
    Replies: 3
    Last Post: May 23rd, 2001, 16:17

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts