Cellphone / Mobile / iPhone Weather Script

Ok, will have to do something to get rid of all those testtags.php tags … tomorrow :oops:

will have to do something to get rid of all those testtags.php tags

Or just add a testtags inlude and it all works now! Wind is still in kts and no forecast page though.

Will have a look at it tonight (about 18h00 GMT … my time 20h00).
The wind in testtags is in kts … I will have to do it in clientraw-parser.php.

My wind speed is showing in mph, I just changed the description from kts to mph in the ajax script.

Ok, I’ve done away with most of the testtags.php tags.
However the values for the testtags below are not available in any of
the clientraw files for clientraw-parser.php and therefore you’ll
have to upload the testtags.php file with at least these tags.
$maxtempt = '%maxtempt%'; // Time of todays max temperature $maxtempyest = '%maxtempyest%'; // Yesterday's max temperature $maxtempyestt = '%maxtempyestt%'; // Time of yesterday's max temperature $mintempyest = '%mintempyest%'; // Yesterday's min temperature $mintempyestt = '%mintempyestt%'; // Time of yesterday's min temperature
Download latest version of Clientraw Parser:
http://www.bashewa.com/clientraw-parser.php?sce=view&buster=567

Also download the latest version of cell_ajax-dashboard.php:
There was a problem with the $3QMoons table.
http://www.bashewa.com/cell_ajax-dashboard.php?sce=view&buster=567

Is it possible to get one “zip” archive that has everything I need in it?

I’m busy working on it … but it’s gonna take some time.
I’m making it easier to configure and install :smiley:

We eagerly await :slight_smile:

Give me a day or 2.
If you want to get started then get all the icons so long and download them to your server:
[color=blue]http://www.bashewa.com/download/bws-iconsets.zip[/color] (2.5mb)
INDIVIDUAL SETS: // ------------------------------------------------------------------------------------------ // Current conditions icons: [[color=blue]http://www.bashewa.com/downloads/bws-icons-current.zip[/color]](http://www.bashewa.com/downloads/bws-icons-current.zip) (269kb) // Forcast icons: [[color=blue]http://www.bashewa.com/downloads/bws-icons-forecast.zip[/color]](http://www.bashewa.com/downloads/bws-icons-forecast.zip) (1.1mb) // Sun/Moon bg, Moon ph x4: [[color=blue]http://www.bashewa.com/downloads/bws-icons-moonphase.zip[/color]](http://www.bashewa.com/downloads/bws-icons-moonphase.zip) ( 19kb) // Moon pictures x28: [[color=blue]http://www.bashewa.com/downloads/bws-icons-moon.zip[/color]](http://www.bashewa.com/downloads/bws-icons-moon.zip) (188kb) // Fire Weather Index: [[color=blue]http://www.bashewa.com/downloads/bws-icons-fire.zip[/color]](http://www.bashewa.com/downloads/bws-icons-fire.zip) (291kb) // UV icons: [[color=blue]http://www.bashewa.com/downloads/bws-icons-uv.zip[/color]](http://www.bashewa.com/downloads/bws-icons-uv.zip) ( 20kb) // Wind Rose icons: [[color=blue]http://www.bashewa.com/downloads/bws-icons-wind.zip[/color]](http://www.bashewa.com/downloads/bws-icons-wind.zip) (822kb) // ------------------------------------------------------------------------------------------
Unzip files in root with “use folder names” ticked.

OK, I will

That file does not exist

Ok try again from above :oops:

Now it does, Thanks

Do all of the graphics/icons go into the same directory, and if so, can it be a separate directory from where my other graphics are stored? I like to keep things grouped by what they’re for if possible.

By the way, excellent work and I look forward to seeing the next version with all the parts in a single zip!!

If you unzip in the root with “use folder names” they’ll go to separate directories.

Got it and thanks for answering!!

What is the correct path to use for clientraw.txt? mine resides in a directory named wdl

$clientraw_path = ‘’;

Tony,

Try…“http://www.mangawhaiweather.co.nz/wdl/” or just wdl/

Firewall I tried those but no go.

// clientraw.txt PATH: defines the path to the clientraw.txt file.
// path can be absolute or relative
// THIS IS NOT A URL!!
// if using WD clientrawextra.txt supply the path to the directory in which
// it resides.
$clientraw_path = ‘./wdl/clientraw.txt’;

Tony - try :

$clientraw_path = “./wdl/clientraw.txt”;

ie using double quotes…

Graeme

Does not matter what I try I get:

Warning: file_get_contents() [function.file-get-contents]: Unable to access clientraw.txt in /var/www/vhosts/mangawhaiweather.co.nz/httpdocs/clientraw-parser.php on line 93