|
Random news feed (improved) v 1.00
Overview
As you have probably saw in our previous examples
, the ability to put news feeds from moreover
on our site is a useful source of free content . This is also
quite a simple process and the actual script to display this
actually only contains about 20 lines of code including comments
.
In this example we will take this one step further
and give you the ability to randomly display a news feed from
a choice of 330 .
Description
There were two ways we could have went about this
we could have stored all of the urls in a database and selected
one at random , or as we have done in this example we create
a text file containing all of the news feeds and randomly pick
one and display it .
Download
randomnewsfeed.zip
: containing text file and script
|