Sandaysoft

Support forum for Cumulus weather station software
It is currently Fri May 24, 2013 1:16 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Mon Mar 16, 2009 8:54 pm 
Offline
User avatar

Joined: Tue Jan 13, 2009 4:03 pm
Posts: 68
Weather Station: Elecsa 6975 (Fine Offset)
This is yet another Ajax XML HTML webserver frameset that displays dynamic realtime data on your webpages.

What's different about this one?

You can develop strict XHTML 1.1 pages that get a W3C green tick and allow you to attach one of these to your webpage:
Image
[url]<a href="http://validator.w3.org/check?uri=referer"><img
style="border:0;width:88px;height:31px"
src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1" /></a>
[/url]


All the usual caveats and disclaimers go with it. It's free software; worth what you pay for it.

Let me know if you like it.
Let me know if you hate it.

Initial Release:
Attachment:
cumulusxml.zip

Update: new version of XML template file restructured to match the Webtabs entry in the Cumulus Wiki as of 15th January 2010.
http://wiki.sandaysoft.com/index.php?title=Webtags
Attachment:
xmltemplate.1.8.zip

Update: beta version of XML template to match Cumulus 1.8.9 build 904 beta webtags. This is not fully tested.
Attachment:
xmltemplate.1.9.zip

Update: new version of XML template to match Cumulus 1.9.2 build 1018 webtags. (I thought it was about time - I've not been here for a while!)
Attachment:
xmltemplate.1.12.zip


Update 1.2: I noticed that on occasion the 'first pass' did not always fully populate the web page, leaving some fields empty until after the first update period. This seemed to be a problem only affecting IE. Version 1.2 smb_ajax.js fixes this - see the comment section in the script if you are curious. Now tested with IE7, IE8, Firefox3 and Symbian

Update 1.3: Fixes an infrequently occuring error when the XML file was being read by the browser at the same time it was being updated by the server. Also tidied up the inner loop to make things a bit more efficient (you can't tell from the client side though)
Attachment:
smb_ajax.1.3.zip

If you have not downloaded any of these files you should download ALL of them to get the full kit. Otherwise, just download the updates to what you already have...


You do not have the required permissions to view the files attached to this post.

_________________
Image


Last edited by MarkB on Fri Oct 14, 2011 1:04 am, edited 13 times in total.

Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Mon Mar 16, 2009 9:13 pm 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
Is your working copy at

http://www.yontcleugh.co.uk/weather/

cheers, Paul

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Mon Mar 16, 2009 9:15 pm 
Offline
User avatar

Joined: Tue Jan 13, 2009 4:03 pm
Posts: 68
Weather Station: Elecsa 6975 (Fine Offset)
Yep. But I can't guarantee it will always work 'coz it's my development and test site all in one ;)

_________________
Image


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Tue Mar 24, 2009 6:29 pm 
Offline
User avatar

Joined: Tue Jan 13, 2009 4:03 pm
Posts: 68
Weather Station: Elecsa 6975 (Fine Offset)
Found a typo in the XML template that was causing Yesterday's Rainfall to be incorrectly displayed.

It's been so long since it last rained I only just noticed the problem!

The attached template fixes the problem.


[Edit] - Attachment moved to first post in thread, for neetniss. (had been downloaded 6 times)

_________________
Image


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Mon Jun 01, 2009 7:59 pm 
Offline
User avatar

Joined: Tue Jan 13, 2009 4:03 pm
Posts: 68
Weather Station: Elecsa 6975 (Fine Offset)
I noticed that if you left the web-page open for a long time (hours and hours) there would eventually be an occasion when the client was reading the XML file at the same time the server was updating it. This was causing an 'error on page' alert to show up. I thought this made the page look untidy.

I have posted version 1.3 of the JavaScript to the first post in the thread to fix this problem.

This completes V1 of this little project. There is no V2 planned at present...

Thanks to all who downloaded it. Was it of any use?

_________________
Image


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Thu Sep 03, 2009 11:06 pm 
Offline
User avatar

Joined: Tue Jan 13, 2009 4:03 pm
Posts: 68
Weather Station: Elecsa 6975 (Fine Offset)
Updated the XMLtemplate.zip attached to the first post in the thread. Version 1.6 now includes all of the webtags listed in the same order as the Cumulus Wiki Webtag section.

_________________
Image


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Mon Sep 07, 2009 5:40 pm 
Offline

Joined: Sun Aug 30, 2009 2:46 pm
Posts: 63
Weather Station: WH1080
Hi, I'm trying out your app. However I cannot get it to work properly.

Cumulus isn't sending the cumulus.xml file.

Help please.

Larry


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Mon Sep 07, 2009 6:08 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17586
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
larrystein wrote:
Cumulus isn't sending the cumulus.xml file.


Apologies if I'm stating the obvious, but: It doesn't send it automatically, you have to configure it as one of the 'extra' files. If you've done that and it isn't uploading, turn on the ftp log and that should show what the problem is.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Tue Sep 08, 2009 9:16 pm 
Offline

Joined: Tue Sep 08, 2009 6:04 pm
Posts: 3
Weather Station: Proove WP1400
Excellent idea and thanks very much for sharing it!

However, I am getting a XML error every 15 secs and no results. Cumulus.xml is uploaded an the .js file is in place. I might just be tired, though I cannot find any obvious mistakes with the setup. I am running a Windows server and I have a vaugue idea that I might need a plugin or update to get the XML parsing to work. Grateful for any tips and tricks.

I am new to Cumulus and I like it a lot better than Weather Display.

Hasse


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Fri Sep 11, 2009 11:42 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
MarkB,

I have worked on the templates you have previously released, updated them somewhat and have made them full compliant to the XHTML 1.0 Transitional standard.

I enjoyed working with XML - my first experience.

So far, other than displaying the variables from the XML file (using the <span class="ajax" id="variablename"></span>), I have not been able to transfer the value of XML variables to other variables, probably something that cannot be done in the present setup and with the present JavaScript.

Should you be interested at looking in my results, here is the link:

[link removed]


Last edited by gemini06720 on Wed May 22, 2013 8:16 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Fri Oct 16, 2009 9:05 pm 
Offline
User avatar

Joined: Thu Dec 04, 2008 12:15 am
Posts: 298
Location: Tortosa-Baix Ebre- Catalonia
Weather Station: Davis Vantage Pro2 Plus
Paul C wrote:
Is your working copy at

http://www.yontcleugh.co.uk/weather/

cheers, Paul


wooow !!

How can I get like this?

_________________
Weather in Tortosa (NE Spain), updated every 15'
Image Image


Top
 Profile  
 
 Post subject: Re: XHTML 1.1 compliant Ajax framework for Cumulus
PostPosted: Sun Jun 13, 2010 8:50 pm 
Offline
User avatar

Joined: Mon Jun 08, 2009 6:25 am
Posts: 333
Location: Wyndham Vale, Vic, Australia.
Weather Station: WH-1081 (Jaycar Digitech XC0348)
Operating System: XP SP3
I downloaded The cumulusxml.zip archive from the first post and am having a play with it, but I'm having trouble with gaugesT.htm crashing cumulus when trying to process the it.

It looks to me like this is a template file that has already been processed by cumulus.

Is there another archive I should have downloaded?

_________________
--
Gerard

Image

http://weather.gkt.net.au
Member of http://www.auweather.net/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group