Not your server but your local machine as far as Windows/Linux is concerned but this looks like it isn’t a WD issue at all but an Ajax issue?
http://www.bashys-place.com/weather/we/wx.php
Those values appear to be changing via Ajax and if so then something isn’t parsing properly or isn’t configured properly in your files… However it would not be a WD related issue…
That whacked ? symbol is something we have seen usually a browser or a web server issue… I occasionally see them in my own pages until I relaunch FireFox so not sure for sure of the cause.
As far as some tags not working in the WD Linux version that would certainly be a possibility as the two versions are not identical in functions but Brian would have to comment on what tags may not be working in Linux WD yet…
I will just weed out the tags that dont work and improvise…!! I think the ? is probably a Font issue will scratch my head on this one.
Found this in Wikipedia
in many web browsers, “?” is used to show a character not found in the program’s character set. This commonly occurs for apostrophes and quotation marks when they are written with software that uses its own proprietary non-standard code for these characters. Some fonts will instead use the Unicode Replacement Glyph (U+FFFD, �), which is commonly rendered as a white question mark in a black diamond.
You may want to look into using more Ajax as that takes WD out of the equation and uses scripts and your clientraw files and maybe you can get what you need displayed that way :dontknow:
OK, looks like i have finally got a grasp on it now, http://www.bashys-place.com/weather/we/wx.html
Because i didnt know about the name renaming business, i also was not aware about the naming the
correct directory as well and the wx* files were going to my default directory…
This is why there was missing data with regards to the tags, as soon as i got them to upload in the
correct directory the whole page came alive.
Thanks for your help thus far, its much appreciated
Ok, on to the next question please, the forecast and extended, does this work for the UK?
Stumpey, the reason for the diamond ? instead of a degree sign is caused by a mismatch between the character set of the webpage (iso-8859-1) and what the server is sending (Content-Type: text/html; charset=UTF-8).
You can either change your webserver to not default to UTF-8 (or to default to iso-8859-1), or get WD to output in the UTF-8 character set.
Bashy, in order for the carterlake/AJAX templates to work correctly, all the wxlocal.html … wxlocal9.html files need to be uploaded through WD so the %WDtags% included in the html can be replaced by WD with current weather values.
These wxlocal*.html files need to be in the \wdisplay\webfiles directory and if they’re being processed correctly, you should see wx.html(index.html) … wx9.html in the same directory (and hopefully on your website too).
The AJAX script simply updates SOME of the weather values on your pages based on current contents of the clientraw.txt file. For wx2.html … wx9.html uploaded, the AJAX is only in the gizmo area in the upper left of the header of each page … the remaining weather values are not AJAX updated. For the home page (wx.html), most of the display is updated by AXAX, but some variables aren’t in clientraw.txt, so those weather variables are only updated by WD processing/upload (things like min and max times for variables).
Steve,
Maybe I’ve mis-remembered :oops: #-o … I thought I’d seen a posting on how that’s done, but after searching both forum and wiki, only came up with how to turn units off (not how to change the degree symbol to a different font or use ° instead).
Unless Brian chimes in with a solution, you may only have the ‘change webserver to not default output to UTF-8’ and let the statement on the webpage determine which character set to use (as most servers do).
Ok, looks like its finally sorted(ish)
Its now updating as its meant to apart from the Daily Stats this does not appear to
be updating at all, I have setup file creation and upload times but still no go for launch?
lol…funny ya say that I have been working on said surprise since 4:30pm about 3 hours now
I now have the same issue with wx6.html as i did with the daily stats, i cannot for the life of me
get it to upload to the custom dir, even though all the settings are the same as wx5 including the
remote dir, but will she have it? i think not… lol
Sorry Bob, Failed to mention that i manually slipped it over at 18:23 but didnt ya notice
there was a graph missing at http://www.bashys-place.com/weather/we/wx6.html
But if you goto the default where it keeps uploading wx6 to http://www.bashys-place.com/weather/wx6.html
the graph is there lol, i cannot for the life of me get it to uplaod wx6 automatically to the custom remote dir :?
It seems you have your default FTP set for /weather but you really want everything in /weather/we ? If so try changing the basic FTP directory…
You may want to check your FTP logs after an automatic update is supposed to happen and see what they say, it would appear that WD is not changing to the correct directory for that file? Not sure but your current graph is going to /weather/we it appears…