info about link
: Javascript : PHP Index : MySQL :
internet radio
: Source : : Explanation : : Example : : Todo : : Feedback :

Feedback on internet radio

name: RaphaelDDL
email: ddl_[at]_raphaelddl_[dot]_com
homepage: http://raphaelddl.com
Hello there :D
I really apperciate your class, very nice stuff.

I've been trying to implement output_jsonp and already made it (created getHistoryInfoAsJsonp() and other stuff) but it always is wrong formatted because i need the last DEFAULT_ROW to be different because last row must not have the last ',' or json gets invalid (like LAST_ROW i made)

const DEFAULT_HEADER = "jsonpCallback({\"data\": [";
const DEFAULT_FOOTER = "]})";

const DEFAULT_ROW = "{\"time\" : \"%s\", \"music\" : \"%s\"},";
const LAST_ROW = "{\"time\" : \"%s\", \"music\" : \"%s\"}";


But there is one problem: I can't find how to pick last_row at Tag.php at the looping foreach
// looping through the data-array
foreach ($data AS $key => $value)


I saw you have a count and added values and wanted to make if count > 8, the next would use LAST_ROW instead of DEFAULT_ROW but i have no idea how to do so :(

Can you give me a hand?

thank you very much
14-10-2011 @ 18:14
name: Marty
email: marty_[at]_excudo_[dot]_net
homepage: http://devshed.excudo.net
Hi Alex

The purpose of this class is to extract information from your internet-radio station. Linking that information to other external information such as images would logically be placed in another class.
There's already loads of classes that can interact with sites such as flickr, so i would recommend using such a class and feed it with the information you can extract with this one.
18-12-2010 @ 16:14
name: Alex
email: sashareds_[at]_gmail_[dot]_com
Hi,
Cool stuff!
Really appreciated to you for such sharing of the information
Scripts work as a sharm! :)
Keep it up!

However, it there any chance to show an image from mp3 tag?
With such a nice feature, your script would be priceless! :))

Looking foward to seeing it!

Thank you

Regards,
Alex
09-12-2010 @ 13:47
Name
Email
Homepage
Comment
Type the shown code:
=[Disclaimer]=     © 2005-2012 Excudo.net