JavaScript WDL version 1.0.0 alpha.

You have checked the box for “running my own server, no FTP needed”, but your post has “I can’t get the clientraw.txt file to upload to my ftp server”.

Do you want to upload the file by FTP?

Yes I want to upload the file to FTP server. I’ve repeatedly unchecked the “running my own server, no FTP needed” hit OK then when I reopen the panel it is checked again.

Hmmm, well that’s the problem. In windows I would direct you to Control Panel, FTP & Connections, where there is a similar setting which could be forcing that one, but I don’t know if you have that in mac :dontknow:

Humm, OK now it is uploading to the FTP Server, along with clientrawdaily.txt, clientrawexttra.txt and clientrawhour.txt and the web page is working. I suspect that I needed more than just the clientraw.txt. Right now it’s updating every 30 seconds, not sure how it’s doing that, I’ve got the upload set at 5 minutes. WOW really looks good. I guess it just needed to think about it for awhile . . .

I put the config.js and FreshWDLmaster.html files in the documents/wdisplay/webfiles folder hoping to use that on the local network but still coming back as not receiving data. I tried putting all the files from the 1.1.1a files into the web folder which has no effect. Is there a way to have it work on the local network separately from the Internet?

Ideally what I’d like is to have the near realtime on the local network and a 5 minute upload to the FTP server/Internet.

Didn’t mean to start this off with the same Humm. Your reply was coming in as this was going out :smiley:

Hey :slight_smile:

At this stage, it is not possible (as far as I’m aware) to run the system on a local network.
However, uploading a text file uses very, very little data, so having the clientraw file upload in close to real time is definitely an option that many people use to get pretty much real time reporting.

Yeah, I’ve kind of gotten used to the near real time results although I still haven’t figured out how I’m getting them. I have FTP setup for 5 minutes and the control panel won’t let me uncheck the running my own server option so I guess some how that is going to the FTP which in reality it’s my server since it’s my domain just not housed on my computer. :smiley: Love what you’ve done, it looks and works great!

Try ticking use WD,s Ftpud?

Hi Yerren is the latest version that you made mention of on the 6th July the same version that is available for download on this site dated 29th June ???

Or is there a newer version to this 29th June file.

Bruce

Hey, it’s still the same HTML file that has been available since the 29th of June, all the changes were on the server-side. :slight_smile:

Thanks for this. I have FreshWDL running. I also use the Saratoga template and have a page that has the WDL display. When I access the FreshWDL page directly is looks great http://weather.5-scotts.com/FreshWDLmaster.html. When I access the FreshWDL page through the saratoga template it does not ‘autoscale’. It looks like this:http://weather.5-scotts.com/FreshWDLSaratoga.png.

What do I need to do to have it ‘autoscale’ to the Saratoga template? Thanks for your help.


Hi,

Maybe you should try it with an iframe in a new page.

Piet

Something to try :slight_smile:

Use a simple webserver such as Mongoose to have JavaScript WDL on the local network. I have quickly tested this and it works for me. If your PC’s are behind a NAT router without port forwarding it should be relatively safe but try at your own risk, I have not spent more than a few minutes on this.

Copy the JavaScript WDL files into the same folder as the clientraw files.

Download the Mongoose Free Windows version executable into the same folder (you may have to move it there after download).

Click the Mongoose.exe to start it, you’ll get a windows popup, let it have access.

A browser window will open, direct it to localhost:8080/FreshWDLmaster.html - you should see JavaScript WDL working

On other PC’s on the network you should see JavaScript WDL at http://xxx.xxx.xxx.xxx:8080/FreshWDLmaster.html where xxx.xxx.xxx.xxx is the IP of the server PC. (Obviously that PC should be assigned a fixed IP for this to be a workable system.)

niko, Thanks for the suggestion but I’m on a Mac sooooo It’s doing fine going to the FTP server so no problems here.

I think OSX includes Apache web server…

I do not know how to do that? The HTML page is loaded with an ‘Include’ and I cannot put a iframe in that call. The FreshWDL.html is all script calls so I don’t know how to do iframe there?

I did this

Error: Embedded data could not be displayed.

And I am in no way a programmer.

Thanks that helped. I am able to scale it down. In the Saratoga templates there is a user selectable option for ‘wide’ or ‘narrow’ display. I was able to auto adjust for that like this:

<div id="main-copy">
  
	<h1><?php langtrans('Fresh Weather Display Live'); ?></h1>
<?php
	if($_SESSION['CSSwidescreen'] == 1) { ?>
		<object data="FreshWDLmaster.html" width="1200" height="600" background="white"> <embed src="FreshWDLmaster.html" background="white"> </embed> Error: Embedded data could not be displayed. </object>
<?php
	;} else { ?>
		<object data="FreshWDLmaster.html" width="650" height="375" background="white"> <embed src="FreshWDLmaster.html" background="white"> </embed> Error: Embedded data could not be displayed. </object>
<?php
	;} ?>
    
</div><!-- end main-copy -->

Thank you for the help.

Nice that it succeeded

Piet

That’s a nice implementation into the Saratoga template.

I put in my site. I’ve noticed that the text and numbers are not crisp on the left side of the page. Or perhaps it’s my eyes.

http://www.m82a1.us/wxWDL.php

All fixed. I fattened up the Saratoga Narrow page and the JavaScript WDL page.