random2 wrote:stoneone, the 745 fix needs to be inside the catch block (yep, in that big now-one-longer-line -- side note, the original coding style and back in weather4 even was better). Otherwise if there's a problem, you'll be writing to the closed socket. It needs to go right after the "GET ...".
The inconsistencies in the coding style here (look at the difference in all three of the places "GET" is in the code makes this rather unmaintainable code.
The script hangtough mentioned is, like this one, also a successor to murf's. If you want the "original" go back to murf's. I've looked at that one as well. I'm not fond of the output format of that one either, but note that the parser on that one is better (it looks at the properties of the html, sort of the way you would in XML [simplified explanation]) rather than the structure of the page. It also didn't need to be updated for this page breakage.
stoneone wrote:Dragonlords script will work with the fixes mentioned before. My 4.2.4 had the mtemp problem and the outtitle problems also. For clarification the patches I made are shown below:
* SNIP *
Thanks.
AWESOME, its working perfect now, thanks for the hot fix
Yea, the coding style is a bit inconsistent. Actually, I used line returns and tabbed it out right before I posted my edit, and had to edit my edit when I realized how out of place my formatting seemed. Sorry for the error, and to those who asked what it should be now, see the edit of my orig. post.
stoneone wrote:Yea, the coding style is a bit inconsistent. Actually, I used line returns and tabbed it out right before I posted my edit, and had to edit my edit when I realized how out of place my formatting seemed. Sorry for the error, and to those who asked what it should be now, see the edit of my orig. post.
Can someone please post a fixed full script, i tried doing the fixes and i keep getting..
Tcl error [pub_wz]: can't read "wzsock": no such variable
Im a sure a few others are too.
A fixed version that is complete would be appreciated.
###### Legal stuff ######
## This script is free to use and modify for personal use
## without warranty of any kind.
## Modified versions of this script may not be distributed
## without author's permission (open source != free domain).