You should upload ajaxgizmo.js again to your website … the copy there seems to be incomplete, so the pages (other than the home page which doesn’t use it) aren’t showing the rotating conditions display near the top-right of the page.
As you don’t have WD Live at the moment then we’ll take that off the menu, so to speak.
Look for this code:
…and change it to this:
When you save & upload then the 'Live' heading in the menu will disappear. The good thing is that it's easy to put it back again later and the page it links too is also still in the site. :wink:
Once you’ve downloaded it, open the .zip and extract all the files to a new folder in your website directory (on your PC for now) and call the new folder “RSS”.
Then we’ll run through setting that up tomorrow.
Now then Vern, are you ready for tonight’s installment?
If you’ve downloaded the .zip above into one folder called “RSS” then the next stage is actually an easy one.
In the folder called “rssbox”, open the file called “main.php” in your text editor and go down the page until you see these lines:
//Specify list of RSS URLs
$rsslist=array(
"bbc" => "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml"
//"nytimes" => "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
//"dynamicdrive" => "http://www.dynamicdrive.com/export.php?type=new" //no trailing comma after last RSS URL!!
);
Select them all and replace them with this:
//Specify list of RSS URLs
$rsslist=array(
"metoffice" => "http://www.metoffice.gov.uk/xml/warnings_rss.xml"
//"bbc" => "http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml"
//"nytimes" => "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
//"dynamicdrive" => "http://www.dynamicdrive.com/export.php?type=new" //no trailing comma after last RSS URL!!
);
Now save “main.php” and upload the whole RSS folder to your website.
Once that’s finished, open your “wxadvisory.php” file.
Select all the text in the file and replace it with this text:
<?php
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (WD-World template set)
############################################################################
#
# Project: Sample Included Website Design
# Module: sample.php
# Purpose: Sample Page
# Authors: Kevin W. Reed <[email protected]>
# TNET Services, Inc.
#
# Copyright: (c) 1992-2007 Copyright TNET Services, Inc.
############################################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
############################################################################
# This document uses Tab 4 Settings
############################################################################
require_once("Settings.php");
require_once("common.php");
############################################################################
$TITLE= $SITE['organ'] . " - Warnings & Advisories";
$showGizmo = true; // set to false to exclude the gizmo
include("top.php");
############################################################################
?>
<link rel="stylesheet" type="text/css" href="RSS/rssbox/rssdisplaybox.css" />
<script type="text/javascript" src="RSS/rssbox/virtualpaginate.js"></script>
<script type="text/javascript" src="RSS/rssbox/rssdisplaybox.js">
/***********************************************
* RSS Display Boxes-
:occasion5: :occasion5: :wav: :big1:Thank YOU again Martin done as you said I got the yellow box showing Great work, this should prove to be an invaluable topic to a lot of people out there.
A BIG thank to you for your time and effort
Best regards
Vernon
p.s I’m pondering over getting some web cam images on the site mmmm.