Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 16th April 2013, 17:21   #10
murderousone
Junior Member
 
Join Date: Feb 2012
Posts: 16
Quote:
Originally Posted by klikhost View Post
I'm still have problem with cron job. Twittercast can post to twitter by open twittercast.php via browser.

I user several format :

wget -O /dev/null http://u.klikhost.com/twittercast/twittercast.php
--2013-03-09 18:40:50-- http://u.klikhost.com/twittercast/twittercast.php
Resolving u.klikhost.com... 199.167.134.163
Connecting to u.klikhost.com|199.167.134.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

[ <=> ] 425 647B/s in 0.7s

2013-03-09 18:40:51 (647 B/s) - `/dev/null' saved [425] ==> nothing happen to twitter. From cron job also nothing happen.



php -q /home/uklikhos/public_html/twittercast/twittercast.php

<!-- shows example of what is being sent to twitter on html page. //-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="30">
<title>RadioLokal.com - 0</title></head> <==== Sent this to twitter, just this, no any song title.
<body><center>


I have rename file permission title.txt to 755, but still work from cron job.
I Checked Your File:
http://u.klikhost.com/twittercast/twittercast.php
Seems Working Fine Here.
A Usher Song Is Playing & I Was Able To Listen To Your Stream Fine:

For Your Tweets Question.

Change The Info On LINE 119 twittercast.php
code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php

if ($refresh != "0")
{
print "<meta http-equiv=\"refresh\" content=\"$refresh\">\n";
}
print "<title>M1uRadio - $current_song - ".($listeners)." Listeners</title>";

?>


Enter Your Info to line 119: #np Usher amp; Swedish House Mafia - Numb OFFICIAL | radiolokal.com - 2 pendengar

Last edited by murderousone; 16th April 2013 at 19:59.
murderousone is offline   Reply With Quote
 
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump