<input type="Submit" name="newfeeds" value="Start new feeds manager"><br><br> </form> <?php if (isset($_POST['newfeeds'])) { error_reporting(5); // set arrays for speical words and lifestyle words specialwords(); lifestylearray(); // query to find top 20% of scorers for each lifestyle? Do as a function scalelist(); // put new urls out for RSS feed collection and first go at scoring. foreach ($newinputurl as $newfurl) { echo $newfurl; // activates monkeychow to add url to feedreader fof_add_feed('http://' . $newfurl); //echo 'afteradd'; // split text into individual words in a table blogpostwords(); if ($lastchow && $firstitem) { // allocate votes/scoring based on wikipedia lifestyle definitions blostposttopfifty(); // sum votes to an indiviudal to see if they qualify for a lifestyle inclusion lifestylelightstatsi(); } // closes if } // closes foreach } // closes if
function addnewurl() { // put new urls out for RSS feed collection and first go at scoring. foreach ($newinputfeeds as $keyn => $newfurl) { echo $newfurl; // activates monkeychow to add url to feedreader fof_add_feed($newfurl); //echo 'afteradd'; // split text into individual words in a table blogpostwords(); if ($lastchow && $firstitem) { // allocate votes/scoring based on wikipedia lifestyle definitions blostposttopfifty(); // sum votes to an indiviudal to see if they qualify for a lifestyle inclusion lifestylelightstatsi(); } // closes if } // closes foreach }