Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.4 build 3060 - 10 December 2019.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    XHTML 1.1 compliant Ajax framework for Cumulus

    Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

    Moderator: daj

    Post Reply
    User avatar
    MarkB
    Posts: 68
    Joined: Tue 13 Jan 2009 4:03 pm
    Weather Station: Elecsa 6975 (Fine Offset)
    Contact:

    XHTML 1.1 compliant Ajax framework for Cumulus

    Post by MarkB » Mon 16 Mar 2009 8:54 pm

    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
    <a href="http://validator.w3.org/check? ... 1" /></a>


    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:
    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
    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.
    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!)
    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)
    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.
    Last edited by MarkB on Fri 14 Oct 2011 1:04 am, edited 13 times in total.
    Image

    User avatar
    Paul C
    Posts: 377
    Joined: Thu 19 Jun 2008 7:45 am
    Weather Station: Davis VP2 with solar
    Operating System: Windows 10
    Location: Brampton, Cumbria, UK
    Contact:

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by Paul C » Mon 16 Mar 2009 9:13 pm

    Is your working copy at

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

    cheers, Paul

    User avatar
    MarkB
    Posts: 68
    Joined: Tue 13 Jan 2009 4:03 pm
    Weather Station: Elecsa 6975 (Fine Offset)
    Contact:

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by MarkB » Mon 16 Mar 2009 9:15 pm

    Yep. But I can't guarantee it will always work 'coz it's my development and test site all in one ;)
    Image

    User avatar
    MarkB
    Posts: 68
    Joined: Tue 13 Jan 2009 4:03 pm
    Weather Station: Elecsa 6975 (Fine Offset)
    Contact:

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by MarkB » Tue 24 Mar 2009 6:29 pm

    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

    User avatar
    MarkB
    Posts: 68
    Joined: Tue 13 Jan 2009 4:03 pm
    Weather Station: Elecsa 6975 (Fine Offset)
    Contact:

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by MarkB » Mon 01 Jun 2009 7:59 pm

    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

    User avatar
    MarkB
    Posts: 68
    Joined: Tue 13 Jan 2009 4:03 pm
    Weather Station: Elecsa 6975 (Fine Offset)
    Contact:

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by MarkB » Thu 03 Sep 2009 11:06 pm

    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

    larrystein
    Posts: 63
    Joined: Sun 30 Aug 2009 2:46 pm
    Weather Station: WH1080

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by larrystein » Mon 07 Sep 2009 5:40 pm

    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

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    Joined: Mon 02 Jun 2008 6:49 pm
    Weather Station: None
    Operating System: None
    Location: Vienne, France
    Contact:

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by steve » Mon 07 Sep 2009 6:08 pm

    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

    HasseH
    Posts: 3
    Joined: Tue 08 Sep 2009 6:04 pm
    Weather Station: Proove WP1400

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by HasseH » Tue 08 Sep 2009 9:16 pm

    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

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

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by gemini06720 » Fri 11 Sep 2009 11:42 am

    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 22 May 2013 8:16 pm, edited 1 time in total.

    User avatar
    meteotortosa
    Posts: 323
    Joined: Thu 04 Dec 2008 12:15 am
    Weather Station: Davis Vantage Pro2 Plus
    Operating System: Windows XP SP3
    Location: Tortosa-Baix Ebre- Catalonia
    Contact:

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by meteotortosa » Fri 16 Oct 2009 9:05 pm

    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

    User avatar
    werribee_au
    Posts: 336
    Joined: Mon 08 Jun 2009 6:25 am
    Weather Station: WH-1081 (Jaycar Digitech XC0348)
    Operating System: XP SP3
    Location: Wyndham Vale, Vic, Australia.
    Contact:

    Re: XHTML 1.1 compliant Ajax framework for Cumulus

    Post by werribee_au » Sun 13 Jun 2010 8:50 pm

    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?

    Post Reply