Saturday, 16 April 2011

Adding links to each twitter and image element

Adding a link to the external element to each twitter and image feed

foreach ($twitterxml->channel->item as $twitteritem) {
	/*loads rss feed of the twitter same proccess as above, but different paremeters have been used in the CSS stylesheet for each individual twitter update.
	however unlike the photos above div id is added to the div */
	// as you can see there is a link around each element that links to the external source
    print "";
    print "\n"; 
    print "\n";
if($twittercounter < 20){
	$twittercounter=$twittercounter+1;
	if($twittercounter==20){
	break;
	}
	}
	}

No comments:

Post a Comment