Real Time Viewer

humm
the setup files:
http://www.weather-display.com/downloads/svgextra.zip

contains all the files, needed, and you need to upload all those files from that zip file, including the .js java script file and the background.jpg file, etc
but first you need to alter 2 of them, svg.htm, i.e the name of you station, and any other html you want to add
and
main.svg
here you need to set the url for the clientraw.txt
(its set to use mine)

and the default units to start with (default is Metric, but you could set to English , note this is case sensitive)

you can use, in wd, to updload the files:
action, manage by ftp server
or
under setup, ftp/internet setup, manual upload
and choose each file in turn

Brian:

I did it again, to be sure of every step. I changed the files the way you said, I uploaded them…
The problem is that one of the files, the one named main.svg, after being uploaded to the server, simply disappears from it, no matter how many times I upload it.
And the result is this:

http://free.hostdepartment.com/m/meteoabrantes/svg.htm

Cheers
H

Brian:

I just found out what it is… the server only accepts these kind of files: .html .htm .gif .jpeg .jpg .bmp .tif .png .txt .css .js .swf .mid .class .jscript, and .zip.

Is there anything I can do?

Cheers
H

oh, i see…
others might have this problem too
maybe you could try contacting the web hosting people and see if they will allow svg files?

oh, i see…
others might have this problem too
maybe you could try contacting the web hosting people and see if they will allow svg files?

Thanks, Brian, that’s exactly what I am going to do.

Cheers
H

Hi, Brian

Let’s imagine the guys from the server don’t give me the chance of uploading main.svg… isn’t it possible to have the files for SVG on another server and all the rest on the main server? If possible, how can I do it?
Thanks again

Cheers
H

hi
yes, you can do that
and just have the url to the clientraw.txt file to the server you are updating with WD
but to view it, you need to let IE view data from across domains:In IE, go to Tools > Internet Options > Security Tab. Select Internet, then select Custom Level. Select Access Data Sources Across Domains from the Miscellaneous

hey Meteoabrantes nice avatar ( I know Brian’s has a twin sister )
There’s only one that fit’s that face .

couldn’t possibly find another avatar could you ?

i changed my avatar to my ugly mug picy, LOL

Lol, I really don’t want to begin a twin’s war!
I’ll try to find a peacefull and, I agree, Rocket…, a more suitable avatar for myself!

Cheers
H

Any reason that the clientraw.txt uploads for about 12-18 hours then stops? If I rerun the program, it starts again … until about 12-18 hours.

any ftp error in the real time ftp error log
(under view, ftp error log)
or under view,program error log?
it might be that its still uploading, but not the correct directory …you can tick to force it to try to change to the correct directory each minute
i do have checks in place to get it to recover from any failures, and have been working with ricky on that

Brian:

I managed to upload main.svg and all the files, but now, how to correct this?:

"The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

Use of default namespace declaration attribute in DTD not supported. Error processing resource ‘http://free.hostdepartment.com/m/meteoabrantes/main.svg’. Line 16, Position 71

Cheers
H

http://free.hostdepartment.com/m/meteoabrantes/svg.htm

is the url to use

:slight_smile:

Yes, Brian, I know that, but when I open it, it says there is a error: it says “Microsoft JScript runtime error, 'xmlhttp is undefined, line:23, column: 4”. And more, I click with the right button of the mouse on the empty image and, in the View SVG option, it says:

ah, ok
email me your main.svg file
[email protected]

actyualy, i can get it by going view source on the main.svg…
stand by while i look
(but the wife wants me to do some housework :frowning:

Wives are allways right, Brian!
:roll:

Cheers
H

i got past the error by changing the url in the default one, and running the svg.htm from here on my HD
but there are other problems.
it looks like the free hosting service is putting html code in with the clientraw.txt file with the http get procedure from the svg code
so you are stuffed
i will let you use a ftp server i have here for free if you like