Hi !
I’m having trouble getting the Beaufort wind text to show. See: forecast
I’ve got the setting for beaufort set to ‘T’ in plaintext-parser.php. So it must be something else? I’ve enclosed the code I’m using below.
TIA
–Kevin H.
Thanks for the reply Kevin!
I tried using ‘V’ as you suggested. I guess that’s supposed to return ‘n Bft’?.. but nothing showed with that setting either.
Kevin (krelvinaz) is correct… setting $showBeaufort = ‘V’; should display ‘n Bft’ on the Beaufort line. Hopefully, uncommenting the code as show above will give us visibility into what’s happening with the parsing.
First, the code I’d asked you to uncomment was one long line in my original source, but your copy of the source had line folds there, so I’m surprised it didn’t give you a PHP error. Please uncomment as shown above.
I ran a copy of your script on my site and had the same issue, but with the $Status line uncommented, I could see that the Beaufort was working
I Made the change to the wind print section as you instructed, and it’s working perfectly. WxSim Forecast
When I upgraded from 1.03 to 1.06, I copied the entire html - print section of the old 1.03 code to the new 1.06 version, without doing a comparison between the two first.#-o My very bad :oops:. A long time ago I modified that section with tables-inside-of-tables, in order to center things and still be xhtml compliant. There’s a thread somewhere else, about xhtml compliance and the need to worry about it. I’m beginning to wonder now myself. Thank you, Ken!