SaloobTV
$sl = $_GET['sl'];
$ch = $_GET['ch'];
if ($sl != NULL){
list ($sl, $ch) = explode ("+", $sl);
$sl = str_replace("sl=", "", $sl);
$ch = str_replace("ch=", "", $ch);
}
$lingo = $_SESSSION['slingo'];
if ($lingo == NULL){
$lingo = "j";
}
if ($ch == NULL){
$ch = 1;
}
$rss1 = "http://www.saloob.tv/rss_tv_chan.php?ch=$ch&sl=$sl&lingo=$lingo&url=http://www.saloob.com/SaloobTV/";
$rss2 = "http://www.saloob.tv/rss_tv_slot.php?ch=$ch&sl=$sl&lingo=$lingo&url=http://www.saloob.tv/SaloobTV/";
function startElement($parser, $name, $attrs) {
global $insideitem, $tag, $title, $description, $link;
if ($insideitem) {
$tag = $name;
} elseif ($name == "ITEM") {
$insideitem = true;
}
}
function endElement($parser, $name) {
global $insideitem, $tag, $title, $description, $link;
if ($name == "ITEM") {
printf("%s ",
// trim($link),htmlspecialchars(trim($title)));
// trim($link),trim(str_replace("[+]", "", $title)));
trim($link),trim(str_replace("[+]", "", $title)));
// trim($link),trim($title),trim($description);
// trim(str_replace("[+]", "", $title)));
// printf("%s ",htmlspecialchars(trim($description)));
$title = "";
$description = "";
$link = "";
$insideitem = false;
}
}
function chan_characterData($parser, $data) {
global $insideitem, $tag, $title, $description, $link;
if ($insideitem) {
switch ($tag) {
case "TITLE":
$title .= $data;
break;
case "DESCRIPTION":
$description .= ""; //$data;
break;
case "LINK":
$link .= $data;
break;
}
}
}
function tv_chans($rss1){
$xml_parser = xml_parser_create();
xml_set_element_handler($xml_parser, "startElement", "endElement");
xml_set_character_data_handler($xml_parser, "chan_characterData");
$fp = fopen($rss1,"r")
or die("Error reading RSS data.");
while ($data = fread($fp, 4096))
xml_parse($xml_parser, $data, feof($fp))
or die(sprintf("XML error: %s at line %d",
xml_error_string(xml_get_error_code($xml_parser)),
xml_get_current_line_number($xml_parser)));
fclose($fp);
xml_parser_free($xml_parser);
} // end tv chans
tv_chans ($rss1);
?>
Languages
Recent blog posts
- Mobile Devices will themselves create the future Mobile Network
- Say goodbye to iPhone...say G'day to Android...
- Android and Funambol to take over the world's devices..
- How to by-pass the typical telephone carriers - landline and mobile - with Android
- Local job effects of globalisation & the financial meltdown..
- Salesforce fails miserably - SugarCRM wins hands-down
- Jobs available with Saloob's Partners
- Synchronise IT!
- The Coming of the Browser (object) & Mobile Wars and Convergence
- Awesome Domains for Sale - get in quick!
Navigation
User login
World Clock
| Japan | 2010-09-07 05:59 |
| Australia WT | 2010-09-07 14:59 |
| USA ET | 2010-09-07 13:59 |
| China | 2010-09-07 00:59 |
| Australia ET | 2010-09-07 13:59 |
| Russia Moscow | 2010-09-07 15:59 |
| Germany | 2010-09-07 08:59 |
| Korea | 2010-09-07 06:59 |
SaloobTV
Fri, 2010-02-19 20:34 | saloob
$ch = $_GET['ch'];
$sl = $_GET['sl'];
$search = $_GET['search'];
$ext = $_GET['ext'];
//echo "EXT: ".$ext." ";
echo "
"; if ($ext != NULL){ list ($ext, $ch, $sl) = explode (" ", $ext); $ch = str_replace("ch=", "", $ch); $sl = str_replace("sl=", "", $sl); } else { $ch = $_GET['ch']; } //echo "EXT: ".$ext."
"; //echo "CH: ".$ch."
"; //echo "SL: ".$sl."
"; if ($ch == NULL){ $ch = 1; } echo "
"; ?>
SaloobTV provides a Blog system that includes Flash Streaming video (FLV) capabilities.
You are welcome to join our service, but please also consider owning your own Blog or even similar Blog service.
To do this, we have a number of Partners who can provide this.
