Pubblicazione

More
09 Apr 2011 15:53 #55704 by alvin
Pubblicazione was created by alvin
E' possibile pubblicare sull'HTML in una riga il titolo del brano e da una altra parte il nome dell'artista?
Se si, qual è la sintassi da usare ?

Please Log in or Create an account to join the conversation.

More
09 Apr 2011 16:23 #55706 by arlo
Replied by arlo on topic Re: Pubblicazione
non so se è possibile, in ogni caso puoi usare una funzione da parte del sito...
in php esiste la funzione EXPLODE che serve appunto a separare un unica variabile in piu parti.
ipotizzando che sia:

LADY GAGA - BORN THIS WAY

effettuando l'explode della variabile avremo:

$titolo = "LADY GAGA - BORN THIS WAY";
$radio = explode(" - ", $titolo);
echo $radio[0];    //conterrà LADY GAGA
echo $radio[1];    //conterrà BORN THIS WAY

cosi facendo io cerco i caratteri " - " e li utilizzo come separatore
nella nostra variabile titolo c'è una volta, quindi avrò solo due variabili: bravo e autore.

Puo causare problemi se vi sono brani che hanno una seconda interlina, del tipo
NE - YO - Beautiful Monster

quindi sempre meglio usare le - nei titoli senza mettere spazi...
sul mio sito io faccio cosi, con l'explode :)

so di essere stato poco chiaro, chiedi pure delucidazioni! ahah... con 32 gradi al sole è difficile scrivere ahah (Rimini è gia in stagione estiva xD)

Please Log in or Create an account to join the conversation.

More
10 Apr 2011 08:55 #55724 by alvin
Replied by alvin on topic Re: Pubblicazione
Grazie Arlo per la dritta, nel caso di Ne - Yo risolvo inserendo in regia Ne-Yo senza spazi.

Grazie  mille :D

Please Log in or Create an account to join the conversation.

More
10 Apr 2011 21:52 #55733 by arlo
Replied by arlo on topic Re: Pubblicazione

Grazie Arlo per la dritta, nel caso di Ne - Yo risolvo inserendo in regia Ne-Yo senza spazi.

Grazie  mille :D

esatto =)

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
30off-website-mbstudio-user

MB STUDIO HOME / LITE / PRO

MB STUDIO PRO / LITE MB STUDIO is a radio automation software that will allow you to create and manage your own radio station playing all your media files: jingles, commercials, news, songs, Files from internet, live streams, live inputs from your sound card, satellite feeds. Automatically download news and shows from Internet. Multiple overlapping files and/or live sources (mic, line, aux). Voice tracking. Integrated CD Ripper. Integrated jukebox to play songs requested via sms / email messages. Display current playlist on your web site.

MB RECASTER PRO

video reel32MB RECASTER features an audio recorder with scheduler, a webcast module to send streams to any Shoutcast, Icecast or Windows Media server, AutoDJ function to play randomly your own audio files from up to 4 folders, a stream receiver allowing to record or recast to your server (transcoder), an audio converter from/to any format.

MB LIVE

MB LIVEMB LIVE is a software that stream a live audio\video feed from any place to an MB STUDIO PRO automation in the main radio studio. MB LIVE make use of a TCPIP connection. This program is free for MB STUDIO PRO users