Our moreover script
Here is our moreover script , right click it and save it . more.zip . In this example we display the mp3 headlines from moreover.com . In this script we display the 5 most recent headlines , moreover usually has 20 headlines per feed so if you wanted more headlines per page , change the following part of the script .
for($i=0 ;$i < 5 ; $i++)
Change the 5 to another number , if you editor has line numbers this is line 74 .
Now we shall display this script on the page using the following code .
<?
include("moreoverfeed.php");
?>
Ok that is software downloads but what about if we wanted a different feed , there is a big choice to offer . Well open up your morev1.php script in your favourite editor and locate the line that goes like the following
if( ! ($fp = fopen("http://p.moreover.com/cgi-local/page?c=MP3%20news&o=rss", "r" )) )
You should find it at the start of the script , now go to our previous page if you skipped it . Now locate the feed you would like , I am going to choose the webmaster tips . Now copy the url for this , in this case it is http://p.moreover.com/cgi-local/page?c=Webmaster%20tips&o=rss , now replace the url in the script , so the script would now read .
if( ! ($fp = fopen("http://p.moreover.com/cgi-local/page?c=Webmaster%20tips&o=rss", "r" )) )
back
|