CumulusRealtime: Difference between revisions

1,213 bytes added ,  08:11, 19 July 2021
m
→‎Installation: Correct link to download within the server running this Wiki
m (changed category)
m (→‎Installation: Correct link to download within the server running this Wiki)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{AddOnBanner|name=CumulusRealtime|type=HTML & Silverlight|author=Steve|contact='steve' via the forum|updated=05 Sept 2009|version=1.0.0.5}}
{{AddOnBanner|name=CumulusRealtime|type=HTML & Silverlight|author=Steve|contact='steve' via the forum|updated=05 Sept 2009|version=1.0.0.5}}


CumulusRealtime is an addon to Cumulus that displays your weather information in near realtime, in a graphical format.  An example is available here.... http://www.sanday.org.uk/weather/CumulusRealtime.html
<big>This feature has been deprecated, as Microsoft discontinued Silverlight.
 
However, this page has been retained in the Wiki as it is referenced from other pages, and there may be some Cumulus users who still have this feature.
 
Finally, be aware that Steve Loft in his retirement decided to cease involvement with Cumulus, and closed down his '''www.sanday.org.uk''' web site, so the links on this page no longer work.</big>
 
 
 
[[file:CRTScreenshot.png|thumb|250px|Screen Shot]]
CumulusRealtime is an addon to Cumulus that displays your weather information in near real time, in a graphical format.  An example is available here.... http://www.sanday.org.uk/weather/CumulusRealtime.html




=Requirements=
=Requirements=
*The viewer/visitor to your site must have Microsoft [http://silverlight.net/ Silverlight] version 3.0 viewer installed on their computer.  If they do not, they are given a link to install it.
*The viewer/visitor to your site must have Microsoft [http://silverlight.net/ Silverlight] version 3.0 viewer installed on their computer.  If they do not, they are given a link to install it.
*Cumulus must be uploading [[realtime.txt]] to your webserver at regular intervals (typically every 15 seconds)
*Cumulus must be uploading [[realtime.txt]] to your web server at regular intervals (typically every 15 seconds)




=Installation=
=Installation=


*Download the Cumulus Realtime Silverlight application from the Sandaysoft website by clicking [http://sandaysoft.com/download/CumulusRealtime.zip here]
*Download the Cumulus Realtime Silverlight application from the this Wiki's website by clicking [//{{SERVERNAME}}/Downloads/CumulusRealtime.zip here] - '''note this link should remain available.'''
*Unzip the files onto your computer -- five files will be extracted : changes.txt, readme.txt, CumulusRealtime.html, CumulusRealtime.xap, CumulusRealtime.xml
*Unzip the files onto your computer -- five files will be extracted : changes.txt, readme.txt, CumulusRealtime.html, CumulusRealtime.xap, CumulusRealtime.xml
*In a text editor open CumulusRealtime.xml
*In a text editor open CumulusRealtime.xml
*locate <realtimeURL> and edit the example and replace with with your web address and the location of your [[realtime.txt]]
*locate <realtimeURL> and edit the example and replace with with your web address and the location of your [[realtime.txt]]
*Edit the <sitename> section and enter your own details. If you use any 'special' characters such as ampersand, be sure to encode them - e.g. &amp;amp;
*Edit the <sitename> section and enter your own details. If you use any 'special' characters such as ampersand, be sure to encode them - e.g. &amp;amp;
*Edit the <interval> and set this to the same number of second you upload [[realtime.txt]]
*Edit the <interval> and set this to the same number of second you upload [[realtime.txt]].  However, see the "Possible Problems" section below about longer update intervals delaying the initial loading.
*Save the file
*Save the file
*Upload the following files to your web server -- CumulusRealtime.html, CumulusRealtime.xap, CumulusRealtime.xml.  They can be in the same folder as the Cumulus standard webfiles, or in a subfolder.
*Upload the following files to your web server -- CumulusRealtime.html, CumulusRealtime.xap, CumulusRealtime.xml.  They can be in the same folder as the Cumulus standard webfiles, or in a subfolder.
Line 36: Line 45:
*The screen sticks on 'Loading Data'.
*The screen sticks on 'Loading Data'.
:Try turning on the '''error console''' in your browser and refreshing the page. There may be an error message. The error message may seem complicated, but with a little study it is usually possible to work out what is going wrong.  
:Try turning on the '''error console''' in your browser and refreshing the page. There may be an error message. The error message may seem complicated, but with a little study it is usually possible to work out what is going wrong.  
:You have put the wrong location in <realtimeURL> -- see above.  To test your location of the realtime.txt file, try using a web browser ... So in our example, <realtimeURL> is set to /weather/realtime.txt so surf to http://www.sanday.org.uk/weather/realtime.txt and you should see a long string of data.  If you do not, your location is wrong so check where you are uploading your [[realtime.txt]]
:You have put the wrong location in <realtimeURL> -- see above.  To test your location of the realtime.txt file, try using a web browser ... So in our example, <realtimeURL> is set to http://www.sanday.org.uk/weather/realtime.txt so surf to http://www.sanday.org.uk/weather/realtime.txt and you should see a long string of data.  If you do not, your location is wrong so check where you are uploading your [[realtime.txt]]
:OR
:If your realtime.txt is held outwith the web server folder structure, see this post on the forum-- https://cumulus.hosiene.co.uk/viewtopic.php?p=12112#p12112
:OR
:OR
:If your realtime.txt is held outwith the web server folder structure, see this post on the forum-- http://sandaysoft.com/forum/viewtopic.php?p=12112#p12112
:Leave the page open and it may load.  When Cumulus RealTime loads it waits for the number of seconds specified in the <interval> secton on the xml file.  If you have this set to 30, the loading message will stay on screen for the first 30 seconds.  You may want to reduce this to something like 5, even if your station does not update the realtime as often it will at least update the screen every 5 seconds with the same data. This has little impact on bandwidth as the sizes of the realtime file is tiny.


=Customisation=
=Customisation=
Line 47: Line 58:




[[Category:WebTools]]
[[Category:WebTools]][[Category:User Contributions]]
5,838

edits