dorkbot303

Podcast

dorkbot303 feed:

Copy this link and paste it into your aggregator
feed.xml

Copy this link and paste it into your aggregator (e.g. Juice or iTunes)

Welcome to dorkbot303

dorkbot303, Interactive Artist Series, People (303) doing strange things with electricity...

 

$L_last $max_recent $L_podcast
"; $recent_count = 0; //set recents to zero foreach ($file_array as $key => $value) { if ($recent_count < $max_recent) { //ir recents are not more than specified in config.php $file_multimediale=explode(".",$key); //divide filename from extension $fileData = checkFileType($file_multimediale[1],$podcast_filetypes,$filemimetypes); $podcast_filetype=$fileData[0]; if ($file_multimediale[1]=="$podcast_filetype") { // if the extension is the same as specified in config.php $file_size = filesize("$upload_dir$file_multimediale[0].$podcast_filetype"); $file_size = $file_size/1048576; $file_size = round($file_size, 2); ############ $filedescr = "$upload_dir$file_multimediale[0].desc"; //description file if (file_exists("$filedescr")) { //if description file exists $file_contents=NULL; //if description file exists //open description file $fs1 = fopen( $filedescr, "r" ) or die("error when opening the description file"); while (!feof($fs1)) { $file_contents .= fgets($fs1, 1024); } fclose($fs1); } ############ $ThisFileInfo = $getID3->analyze("$upload_dir$file_multimediale[0].$podcast_filetype"); //leggi i tag del file $fields = explode("|||",$file_contents); //divide csv. Field separation mark is three pipes: ||| ## $categoria = explode(",,",$fields[4]); //category -to implement echo "

\"$L_downloadfile " .date ('d-m-Y', $value). " ($file_size $L_bytes)

$fields[0]

"; if(isset($fields[3]) AND $fields[3]!=NULL) { echo "\"$fields[0]\""; } echo "
$fields[2]

"; $file_duration = @$ThisFileInfo['playtime_string']; if($file_duration!=NULL) { // display file duration echo "Duration: "; echo @$ThisFileInfo['playtime_string']; } if($enablestreaming=="yes" AND $podcast_filetype=="mp3") { // if streaming is enabled echo "
"; } echo "

Download $fields[0]"; echo "

"; echo '
'; $recent_count++; //increment recents } } } echo '
'; } else { echo "$L_dir$upload_dir$L_empty"; } ?>