Real Time Viewer

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

It’s very kind of you, I thank you a lot. Yes, I accept your offer, let’s see this weather coming to real! (I was away for a while, as my wife is always right, too…) :oops:

Cheers
H

i have updated the svgextra.zip file
http://www.weather-display.com/downloads/svgextra.zip

which fixes the mismatched tag error that appears in the bottom info bar of the browser
(it was a missing …took me a while to find it!)
:stuck_out_tongue:

I looked everywhere for that! LOL :?

well, i knew it didnt occur in my real time mesomap
http://www.weather-display.com/windy/svgmesomap.htm

and so i just deleteded sections of code until it went away!
it was a missing in the units section, where I had all the labels being drawn
whew

if you want to add your web cam image to the real time viewer, just add the following code to the main.svg file (i.e the line where it has “animatedwebcam.gif” i.e replace that with the name of your web cam file

[code:1]

<g  id="CurrentCondition" onclick="" style="&st3;&st4;&st7;">
  <!--<text text-anchor="middle"  x="548" y="278" fill="blue"> </text>-->
  <image id="IcondImage" xlink:href=""  opacity="1" x="460"   y="238"   width="42" height="32"/>
  <image id="IcondImage" xlink:href="animatedwebcam.gif"  opacity="1" x="445"   y="300"   width="70" height="60"/>
</g>

[/code:1]

Great, Brian!

Cheers
H

it works, but strangely the animatedwebcam image does not animate
but so instead just use say webcamimage.gif or what you have as the non animated web cam image file name

Brian, when I put in the new section of code, I get my icon gif but no picture of my cam picture. If I rename the web cam picture to webcamimage.gif I get your web cam picture.?

Brian, I got it to work. Great feature!

also, the max gust for the day in kmh needs to be shifted to the right a bit
do that here, i.e set the X=“385” after the id=“WGDKMH”, or download a new svgextra.zip as I have done that already…

[code:1]


style="&st3;&st9;&st7;


[/code:1]

Yes, I noticed it, but as I had to leave home for the week-end, I wanted to mention it today. However, thanks, Brian.

Cheers
H

Rick sent me some changes he made to the layout that look good, in a new svgextra.zip file :slight_smile: