Page 1 of 9

beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 2:40 am
by beteljuice
Wanted !!

Some pre-release testers of the beteljuices AJAX mash that produces these pages:

http://www.beteljuice.com/cumulus/betel_index.html

Volunteers should be intermediate level in javaScript, and have a good understanding of HTML.

Your mission, should you choose to accept it. Is to read the instructions and create your OWN test pages of any skill level you like, to prove all the 'basics' work as expected.

http://www.beteljuice.com/cumulus/README.txt

THIS NOT TO CREATE A WISH LIST, NOR TO NIGGLE ABOUT 'EXTRAS'

For Non-English users, most if not all of the basics, have text look-up arrays which you can modify.

Cons:
You tell me !
Lot of undocumented extras, some still to be tweaked or even created !

Pros:
Even if it doesn't get released, you get a very good basis on which to do your own thing.
(Which is the whole idea anyway !)
You get ALL the example pages / graphics / code as seen
INCLUDING the HUGE ships barometer page - think of that as a limited edition ;-)
You also get a stand-alone Zambretti forecaster and simple in / out page.

Read the README.txt and the script (which is reasonably well commented I hope)


The zip file creates its own directory - betel_cumulus/ so that you don't do any damage.

http://www.beteljuice.com/cumulus/betel_cumulus.zip

This file will be deleted Sunday 21st Dec, I would like feed-back by 1st Jan.

Have fun, please don't break it too quickly !!

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 8:31 am
by steve
beteljuice wrote:Volunteers should be intermediate level in javaScript, and have a good understanding of HTML.
I would love to have a go but (1) I am beginner level in javaScript and (b) I don't have the time :(

Steve

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 12:41 pm
by pinto
Something to change if you are using km/h for windspeed in Cumulus

line 903 in betel_cumulus_ajax.js
line 895 in betel_cumulus_biggest_ajax.js

k/h must be km/h

Code: Select all

			if(currdat[13] == "km/h") {	// data windspeeds are kilometres per hour

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 12:59 pm
by beteljuice
Many Thanks Jozef :mrgreen:

That's EXACTLY the sort of info I need.

Zip has been updated.

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 1:53 pm
by beteljuice
Oops !

:oops: Sorry - missed a file in the second zip. - used for weather graphics

Should be OK now.

If you already have the second zip and you have modified the BIG graphic, you only need to copy:

"betel_graphics_vars.js"

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 5:31 pm
by Paul C
Hi
I have a fairly good understanding of HTML - aslong as my Dreamweaver is working well !

No real working knowledge of the other

Desperate to have a go though - downloading file now :D

First attempt - http://www.bramptonweather.co.uk/betel_ ... index.html

needs some work

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 6:31 pm
by beteljuice
Err .........

Guys - I did say pre-release / experienced people, and read the README.txt

paulc - you haven't changed the paths in betel_cumulus.js to 'see' your site / info.

NP..

But can desperate peeps please wait for a 'better' ? documented release.

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 6:52 pm
by Paul C
:D I,m the best tester around ! - if I can get it to work then everyone else will be able to ! believe me.

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 8:30 pm
by aadal
Working here when i get the betel_graphics_vars.js :mrgreen:
Thanx, no i start to make it for Norway stuff... :D

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 10:47 pm
by beteljuice
Paul C

Your server seems very slugish atm.

Grahics 'blink', and your data grab varies between 10s => 20s.

Is that usual ?

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 11:02 pm
by aadal
Hi beteljuice
My reading in realtime.txt is m/s but on http://www.aadal.biz/~weather/betel_cum ... index.html there is some mph, why?

I like the Snow Line exciting to watch on that. :D

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 11:23 pm
by Paul C
beteljuice wrote:Paul C

Your server seems very slugish atm.

Grahics 'blink', and your data grab varies between 10s => 20s.

Is that usual ?
I've not experienced any problems at my end - the website is hosted in the USA (I think) may account for a slight slowness, but in general it works very fast for me ?

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 11:26 pm
by beteljuice
aadal wrote:Hi beteljuice
My reading in realtime.txt is m/s but on http://www.aadal.biz/~weather/betel_cum ... index.html there is some mph, why?
...
There is every unit !

I assume you mean in the EXTRAS little weather map ?

You will need to change a bit of code both in the script and the html

No - I'm not telling you how :? (not yet anyway)

THIS IS NOT A 'RELEASE' VERiSON - it's for debugging the BASICS

It's very flattering that people are already modifying the example pages, BUT in a release version the coding and / or html could be different - then you have the headache of re-doing your modified pages :cry:

THIS IS WORK IN PROGRESS - with all that, that implies - proceed on the assumption that things may be changed at any time.

Re: beteljuice AJAX testers wanted

Posted: Mon 15 Dec 2008 11:30 pm
by aadal
I've not experienced any problems at my end - the website is hosted in the USA (I think) may account for a slight slowness, but in general it works very fast for me
A comment to that my hosting in US Arizona I think.
Is updating fine here. :shock:

Windsock mps

Posted: Mon 15 Dec 2008 11:40 pm
by beteljuice
Ok - I relent !

Look in the script for:

Edited, because I told you wrong !

// --------- betejuices composite weather 'graphic' ------------------------------

Then look for the bit like below, and replace it with the bit below OR change the three mph references in the script code to ms



Code: Select all

// create wind graphic / data - using now (gust) value
				spacer="";
				if(wind_ms >= 1) {	// build wind info section(s)
					Rset_ajax_obs("ajax_pic_windsock", "<img src=\"" + here + "stuff/wind_sock.gif\" alt=\"" + langWindFrom + valLang + "\" title=\"" +langWindFrom + valLang + " (" + val2 + "\&deg;)\" />", "");
					Rset_ajax_obs("ajax_pic_windspeed", wind_ms.toFixed(1) + "<br />", "ms");
					spacer="&nbsp;&nbsp;&nbsp;";
				}else{
					Rset_ajax_obs("ajax_pic_windsock", "", "");
					Rset_ajax_obs("ajax_pic_windspeed", "", "");
				}
However you still have the other EXTRA - betel_wind_blurb - see post further down