I'm kinda new to php and have no clue how to do this, but how would I
make links from the description field clickable? I know I need to add
<a href="link here"> text </a> but how do i go about doing it, below
is the coding I'm using currently.


$username = "RuneTweeter";
$rssUrl = "http://twitter.com/statuses/user_timeline/$username.rss?
$rss = @file_get_contents($rssUrl);

$xml = @simplexml_load_string($rss);
if($xml !== false){

foreach($xml->channel->item as $tweet){

echo substr($tweet->pubDate,0, -6)."<br />";
echo substr($tweet->description,13)."<br />";
echo "<a href=\"{$tweet->link}\">{$tweet->link}</a><br /><br />";


echo "Error: RSS file not valid!";
echo "Error: RSS file not found. Username invalid or requires

Reply via email to