Trixology

WeatherCat => WeatherCat General Discussion => Topic started by: xairbusdriver on July 02, 2015, 05:37:46 PM

Title: Moved: Upgrade Plans
Post by: xairbusdriver on July 02, 2015, 05:37:46 PM
Not sure this is the best place to post this. Admin(s), feel free to move it.
My new domain has fully propagated and I need to make a decision on how to proceed. Comments welcomed, even if I ignore them! [banghead]
Plan 1:Plan B:Plan III:Your plan?

Last step for any of these plans would be to transfer files to the new domain. I've already moved all the files to the other domain, but some image links are broken, even though the images are still in the same path as before. [rolleyes2] Of course, all data is static, since WC is still using the old domain.
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on July 02, 2015, 05:39:37 PM
I'm now back to step 1 in getting the camera to work. [banghead] All the listed plans are on hold. [rolleyes2]
< Details/Travails(?) (http://athena.trixology.com/index.php?topic=1715.msg15397#msg15397)>
Title: WC 2.2.0 seems plenty solid . . . (Re: Moved: Upgrade Plans)
Post by: elagache on July 02, 2015, 10:40:40 PM
Dear X-Air and WeatherCat weather related home improvement specialists . . .

My new domain has fully propagated and I need to make a decision on how to proceed. Comments welcomed, even if I ignore them! [banghead]
Plan 1:
  • Install WC 2.2.0, even though it's still not the final version.
. . . .

Sorry, I never got back to this posting because I ended up going on this forum 3 times yesterday when I make it a rule never to visit more than once.  No wonder progress on my trusty wagon is so slow.  (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/D'oh.gif)

As you say your overall plans look in pieces, but WeatherCat 2.2.0 looks perfectly solid.  So definitely feel free to upgrade to WeatherCat 2.2.0 whenever it is convenient.

As I said, there is always Logitech . . . . .  [rolleyes2]

Edouard
Title: Another "Upgrade Plans" question
Post by: xairbusdriver on July 13, 2015, 07:47:20 PM
The camera problem seems to be behind me, at least the problem of having a camera that 'plays nicely with WC'. I may have an IP camera for sale at a good price, however... [rolleyes2]

Now that WC 2.2.0 has been released, I'll probably upgrade this week.

Before tackling a template update, I'd like to think about making my own web site. It would not be as fancy as the great templates offered, but it would be simpler in file structure.

First question, simple, I hope:
Title: Simple and custom are independent. (Re: Another "Upgrade Plans" question)
Post by: elagache on July 13, 2015, 09:39:36 PM
Dear X-Air and WeatherCat web spinners,

First question, simple, I hope:
  • Can WC handle both a simple and a Custom Web Template at the same time while using two different domains? If it can, I can work on the DIY site on the new domain while keeping the current template site working at the old domain.

Yes, you have have a simple and custom web site at the same time.  You don't even need two domain names, you just need two different destinations on your web server.  Creating two different directories (folders in Mac-speak) will allow you have both websites available.

Hope that's enough to get you to . . . the next question!  ;D

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on July 13, 2015, 09:44:11 PM
I was typing this, I think, while you were posting, Edouard! Great minds?  :P

May have answered my own question. Using the WC "Simple Web" prefs, I get the following message (in about 4pt text!  8) ):
Quote
curl: (9) Server denied you to change to the given directory
I assume this is not a problem at the host but the result of having a different path in the "Custom Web" prefs. I think the "Server" referred to is the WC FTP server/function.

I think you are correct about having two different web sites, but the catch in my question is the different domain part.  :D

If my assumption is correct, WC will not support both a 'simple' and a 'custom' web site at the same time on two different domains. Oh well... Plan B...

My real problem is getting fairly up-to-date data to two different sites, at least somewhat quickly. Could I do this by manually uploading the contents of the folder "processedFiles" that WC uses to upload to the current template site?

The contents of that folder seem to be the 'simple' gauges/graphs used in the 'simple' web page. I think that's all I would start out using in my DIY page(s). There are also a few other files which I probably could not use: "graphs.htx", "wsTagsWC.php", "yowindow.xml", and "realtimeTags.txt". I think those are all used by (or from?) the Leuven template. The text file might be usable for parsing out the text labels for the gauges and graphs. [computer]
Title: FTP format or permissions problems? (Re: Moved: Upgrade Plans)
Post by: elagache on July 14, 2015, 09:59:37 PM
Dear X-Air and WeatherCat web spinners, . .

May have answered my own question. Using the WC "Simple Web" prefs, I get the following message (in about 4pt text!  8) ):
Quote
curl: (9) Server denied you to change to the given directory
I assume this is not a problem at the host but the result of having a different path in the "Custom Web" prefs. I think the "Server" referred to is the WC FTP server/function.

You might have a problem in the way you are entering your FTP address.  Take a look at this WeatherCat Wiki entry:

http://wiki.trixology.com/index.php/Troubleshooting_FTP_connection_problems (http://wiki.trixology.com/index.php/Troubleshooting_FTP_connection_problems)

The other problem that can exist is that you haven't set up your web host so that the directory (folder) where you want to upload the files to exists, or perhaps it doesn't have the correct permissions (less likely.)  Unfortunately, every hosting provider is different, you'll need to consult their documentation.

I think you are correct about having two different web sites, but the catch in my question is the different domain part.  :D

If my assumption is correct, WC will not support both a 'simple' and a 'custom' web site at the same time on two different domains. Oh well... Plan B...

I just checked and Stu's own version of WeatherCat is uploading both simple and custom web pages to different directories on the same server.  If WeatherCat can do that, it can upload to different domains.  Just enter the FTP URL for each domain in the dialog box as shown in the Wiki entry.

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on July 15, 2015, 12:14:31 AM
My question may be moot when I ever get around to creating a working site on the new domain. At that point, there won't be any use for different domain names in any setting.

The "appearance" of the file structure of my web space is slightly confusing. My second domain appears as a directory/folder in the root area, along with the 'home' page and all the sub-folders and other root level files for the main use of that old domain (mailscamalert.com). [banghead] I'm sure their servers understand the setup, but I was confused at first, thinking I didn't actually have a separate domain at the host. OTOH, I can use the same log in setting for Fetch, which simply goes to the public-html files. Nine of one, three-quarters of the other. [lol]
(http://i1327.photobucket.com/albums/u666/xAirbusDriver/public_html_zpswznxpfs2.jpg)
Probably a lot less complicated than re-wiring running lights! [rockon]
Title: What sort of web hosting service are you using? (Re: Upgrade Plans)
Post by: elagache on July 15, 2015, 10:32:03 PM
Dear X-Air and WeatherCat web spinners, . . .

The "appearance" of the file structure of my web space is slightly confusing. My second domain appears as a directory/folder in the root area, along with the 'home' page and all the sub-folders and other root level files for the main use of that old domain (mailscamalert.com). [banghead]

Golly, I've never seen something like that before.  What sort of operating system is your web hosting provider giving you on your server?  When I signed up with GoDaddy, they gave you a choice of Windoze, Linux, or Mac OS.  Since I was used to Linux (and it was the cheapest) I went with that.  The image you are showing sure looks like a Mac file system.

Probably a lot less complicated than re-wiring running lights! [rockon]

Well, I did get past one obstacle over the past few days.  I rewired the headlight switch wiring connector so that the front parking lights stay on when the headlights are on.  Before 1968, the front parking lights would turn off when the headlights were on.  That isn't as safe, but more importantly, I need to take a feed from the parking lights to control the daytime running lights.  By law, they are supposed to dim when the headlights are on - high or low beams.  Unless, I had a "hot" wire when either the high or low beams were on, the daytime running lights wouldn't dim properly.  So I solders the front parking lights to the connection for the taillight wire. 

(http://canebas.smugmug.com/Biquette/Drive-Train-makeover/Biquette-headlight-upgrade/i-knNV4P8/0/L/Parking%20and%20taillight%20wires%20soldered%20-L.jpg) (http://canebas.smugmug.com/Biquette/Drive-Train-makeover/Biquette-headlight-upgrade/i-knNV4P8/A)



Since the taillights are always on, parking, low beam, or high beam - that solved my problem.  With some electrical tape, the headlight switch was ready for to be reinstalled:

(http://canebas.smugmug.com/Biquette/Drive-Train-makeover/Biquette-headlight-upgrade/i-25mCjCh/0/L/Connector%20plugged%20into%20headlight%20switch%20-L.jpg) (http://canebas.smugmug.com/Biquette/Drive-Train-makeover/Biquette-headlight-upgrade/i-25mCjCh/A)

Sure wasn't much fun soldering under a beautifully restored dash and interior.  No place to spill any solder!

Now back to the wiring in the engine bay!

Oh yeah, I'll be glad to go back to just fiddling with web pages once more!

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on July 15, 2015, 11:05:03 PM
Web hosting is from Hostgator, it's Linux, according to the cPanel. I can http directly to the new domain, that's not a problem. :)

Just today I was thinking that you could possibly just re-wire the light switch. I don't even know the difference between "running" lights and "parking" lights or that they have dimming requirements!

All I remember was that the first cars I had ('51 Ford, straight-8 and a '57? VW) seemed to have pull/push light switches. "Off" was pushed all the way in, 'parking' lights came one with the first notch, head lights was with the knob pulled all the way out.

Your 'modern' wagon probably has a rotary switch. Still, it would seem possible to simply rewire the "running" lights differently, even totally separate of the switch.
Title: Re: Moved: Upgrade Plans
Post by: Blicj11 on July 15, 2015, 11:51:22 PM
I appreciated discovering how nice your hands look in a closeup.
Title: Nice looking interface from Hostgator (Re: Moved: Upgrade Plans)
Post by: elagache on July 16, 2015, 10:11:16 PM
Dear X-Air, Blick, and WeatherCat hackers of . . . . all sorts!

Web hosting is from Hostgator, it's Linux, according to the cPanel. I can http directly to the new domain, that's not a problem. :)

They have a nice interface to their file-system.  I was a bit puzzled by the .htaccess file.  I thought this was related to Apple File system running on a UNIX or OS X machine.  So that's why I asked.

Just today I was thinking that you could possibly just re-wire the light switch. I don't even know the difference between "running" lights and "parking" lights or that they have dimming requirements!

That's exactly what I did.  The taillights come on no matter where the switch is set to: parking lights, low beams, or high beams.  So I cross-connected the parking light wire to the taillight wire.  That is how every car has been since 1968.  I have no idea why they turned off the parking lights when the headlights come on before 1968.  Probably nobody thought about how silly that was.  It makes the switches more complex and definitely isn't as safe.

All I remember was that the first cars I had ('51 Ford, straight-8 and a '57? VW) seemed to have pull/push light switches. "Off" was pushed all the way in, 'parking' lights came one with the first notch, head lights was with the knob pulled all the way out.

Your 'modern' wagon probably has a rotary switch.

No actually my trusty wagon has exactly the same action.  All the way in is off, pull out once for parking and tailights, pull out twice for headlights.  The rotary feature is for dimming the cabin lights.

I appreciated discovering how nice your hands look in a closeup.

Well, that was something of desperation!  My Canon DSLR has a good auto-focus system, but it cannot cope with a field with lots of dim object like under the dash.  So I put my hand into the images for the camera to have something to "lock-on to."  I've learned all sorts of quirky things trying to document my wagon makeover!

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on July 16, 2015, 11:27:20 PM
Quote
They have a nice interface to their file-system.  I was a bit puzzled by the .htaccess file.
That "interface" is the screen grab of the display in <Fetch (http://fetchsoftworks.com)>, not Hostgator. About all the have is the kludgy cPanel.

".htaccess" is a handy file control what happens when your site is visited. You can block access to certain things, control which error page gets called, etc. <This site (http://htaccess-guide.com)> is a good source of what and how to use .htaccess. BTW, with that period in it, you may want to leave it off on your local copy. ;)
Title: Pooches WeatherCats and memories . . . (Re: Moved: Upgrade Plans)
Post by: elagache on July 17, 2015, 11:04:46 PM
Dear X-Air and WeatherCat Mac users with long memories . . .

Quote
They have a nice interface to their file-system.  I was a bit puzzled by the .htaccess file.
That "interface" is the screen grab of the display in <Fetch (http://fetchsoftworks.com)>, not Hostgator. About all the have is the kludgy cPanel.

Fetch?  I thought that pooch had gone to pasture at least a decade ago!  The last time I used it was at least OS-9!

 [wink] . . .  Besides . . . . aren't you worried that your Fetch pooch will try to chase WeatherCat? . . . .  [lol2]

".htaccess" is a handy file control what happens when your site is visited. You can block access to certain things, control which error page gets called, etc. <This site (http://htaccess-guide.com)> is a good source of what and how to use .htaccess. BTW, with that period in it, you may want to leave it off on your local copy. ;)

Thanks for the link.  Oops  :-[, I was thinking of something else related to open source software to make a Linux server look like an AppleShare device.  That was handy to provide extra storage when PC drives were cheap.

I had forgotten that you could also control Apache with a directory.  When I was running a Linux server, I preferred to make all the configuration settings in the main configuration file - since I was the sys-admin  - I had all the power!! (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/car_3gears.gif)

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on July 17, 2015, 11:21:04 PM
Quote
Fetch?  I thought that pooch had gone to pasture at least a decade ago!  The last time I used it was at least OS-9!
What does age have to do with anything?!  [lol] Besides, that wagon you keep messin' with is a bit older than OS 9!! :o I don't like change! Once I figure out how to use an app, I keep using it until the wheels fall off! Besides, I still like MacDraw! Too many colors just get in the way!!! [rockon]
Title: Do ya' keep Fetch on a leash? (Re: Moved: Upgrade Plans)
Post by: elagache on July 18, 2015, 10:19:40 PM
Dear X-Air and WeatherCat "animal lovers, . . . . "  ;D

I don't like change! Once I figure out how to use an app, I keep using it until the wheels fall off!

 [wink] . . . . . You still haven't explained to us how you keep your Fetch pooch from chasin' your WeatherCat!!  [WCSmall] . . . .  [lol2]

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on July 19, 2015, 12:49:16 AM
Well, we all know you can't train a Cat! So which one do you think is trained to "play well with others"? I find a short, sturdy leash also helps...
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on August 17, 2015, 06:44:23 PM
Nearly finished with the 'in-progress (dummy data) simple Wx site (http://mid-southweather.com/index.html)'.

Won't try to make it iPhone usable, but maybe iPad. The nav menu already slides over to the left side of the window. May be a float:right on a couple of charts/graphs. Forecasts will probably be more involved as they seem to collapse the upper (fancy chart/graph) and lower (daily forecast) parts when they window gets too small. Hopefully just some @media screen and (max-width: 550px)... additions to the CSS.

I now have a less powerful Contact page, at least it still hides my email addy. ;)

Need to review the process of having two different sites at the new domain. May be nothing more than keeping the Leuven Template in its own directory, just like it is in the current domain. The simple site can then stay at the root level with it's own directories... sounds too simple! :P
Title: Graph values bouncing? (Re: Moved: Upgrade Plans)
Post by: elagache on August 17, 2015, 11:29:18 PM
Dear X-Air and WeatherCat web spinners,

Nearly finished with the 'in-progress (dummy data) simple Wx site (http://mid-southweather.com/index.html)'.

As already noted it isn't my cup of tea but the only thing I see that is strange are some oscillating valves on some of your graphs.  For example the Humidity, Wind Chill, and Heat Index graph looked like this when I visited the page:

(http://www.canebas.org/WeatherCat/Forum_support_documents/x-air-customgraph3.jpg)

Am I the only person seeing these odd graphs?

Won't try to make it iPhone usable, but maybe iPad.

Should be fine for iPad unless you use flash anywhere.  Do you have an iPhone?  If you do, you might find the ipwx templates useful.  It is really easy to install:

http://athena.trixology.com/index.php?topic=213.0 (http://athena.trixology.com/index.php?topic=213.0)

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on August 18, 2015, 12:57:58 AM
Quote
I see [...] strange [...] oscillating valves on some of your graphs.
The finished site is running on the mini and uploading to the folders used by the Leuven Templates. The 'in-progress' site is running on my iMac, not connected to the Console, therefore, the data is static, supplied by Stu for testing purposes like this. However, I do hope live data doesn't ever become like that, either! If it will make you happy and because I'm such a nice guy, I'll borrow some current data from the mini and upload it to the new domain.Sorry, the data "updates" every few minutes which means the actual WC created files get over-written with the 'dummy-data' files... constantly. If I really was a nice guy, I would reset the update times to "never" form most of the data. Alas, I'm not (yet) that nice! :P

Since I plan/hope on keeping both sites running, I'll be investigating how to get the data uploaded to the two different locations. I know you've told me that Stu has two different sites supported by one copy of WC(?). I don't see the settings in the WC prefs that allow two different FTP addresses. I think the template has a folder named "tagFiles" that WC uploads, but I don't even remember how those were created! [blush] Need to look at the Template instructions, again! Also a "processedFiles" with three of the four files in the "tagFiles" folder. The "processedFiles looks like it contains many of the same things as the "WeatherCatCustomWeb" folder.

This research will have to wait until tomorrow, at least, I'm pooped from mowing the yard and repairing the gate I "modified" with the mower...
Title: Re: Moved: Upgrade Plans
Post by: WCDev on August 18, 2015, 06:07:06 PM
Since I plan/hope on keeping both sites running, I'll be investigating how to get the data uploaded to the two different locations. I know you've told me that Stu has two different sites supported by one copy of WC(?). I don't see the settings in the WC prefs that allow two different FTP addresses.

The simple web processing and custom web processing are independent and can have different FTP destinations, both will run independently and upload to entirely different servers if you wish. However, it isn't possible to specify more than one destination for custom web uploads (or for simple web for that matter).

Hope that helps clarify  [tup]
Title: Touch? and alias tricks (Re: Moved: Upgrade Plans)
Post by: elagache on August 18, 2015, 11:19:46 PM
Dear X-Air and WeatherCat web spinners,

The 'in-progress' site is running on my iMac, not connected to the Console, therefore, the data is static, supplied by Stu for testing purposes like this.

Okay Touch? . . . (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/touche_sword_fight.gif)

Sorry, it is always a 3-ringed circus around here and just to make my life more complicated, I have two philosophical discussion going on the V-8 Buick forum.  I've decided I'll reply only to one a day.  I need some time for my trusty wagon!

Since I plan/hope on keeping both sites running, I'll be investigating how to get the data uploaded to the two different locations.

However, it isn't possible to specify more than one destination for custom web uploads (or for simple web for that matter).

Yes, this is true, but you can have more than one website uploaded using the WeatherCat custom upload mechanism if you are "sneaky" . . . (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/mischief.gif)

The trick is to have aliases or symbolic links as they are called in UNIX so that the files in one directory can be accessed from another.  I have my standard site at this URL:

http://www.canebas.org/Weather/ (http://www.canebas.org/Weather/)

I also provide a complete test version of the original Seamonkey templates without my customizations:

http://www.canebas.org/Weather/SeaMonkey/ (http://www.canebas.org/Weather/SeaMonkey/)

I use symbolic links to populate the subdirectory with the files that actually are uploaded in the same folder as my main weather site.

Unfortunately if I recall correctly, you want to have two separate domain names.  If you pay for separate hosting of each domain name that won't work.  I've never done it, but I believe the Apache web server can be configured to answer requests for two different domain names running on the same server.  So you might be able to have a single hosting provider allow you to have two domains on one virtual machine.  You would need access to the Apache configuration file to accomplish this though and would have to be willing to get your hand dirty with a little UNIX configuration stuff.

The other option would be to write some small shell scripts to automatically FTP the files needed on the other machine from the first one.  That isn't too terribly hard, but you would need to get some experience with bash scripting and would have to encode passwords in the script which isn't terribly secure.  I don't know if there is any other way to handle having files move from one virtual machine to another.

This research will have to wait until tomorrow, at least, I'm pooped from mowing the yard and repairing the gate I "modified" with the mower...

 [wink] . . . . Ooooh, so you like doing "mods" too! . . (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/roadster%20blue.gif)

I've done all kind of "mods" to my wagon!  Like I changed the dash from this:

(https://canebas.smugmug.com/Biquette/Drive-Train-makeover/Dashboard-before-and-after/i-pkfxCx4/0/L/IMG_1887-L.jpg) (https://canebas.smugmug.com/Biquette/Drive-Train-makeover/Dashboard-before-and-after/i-pkfxCx4/A)

to this:

(https://canebas.smugmug.com/Biquette/Drive-Train-makeover/Dashboard-before-and-after/i-3V7tL6R/0/L/IMG_3208-L.jpg) (https://canebas.smugmug.com/Biquette/Drive-Train-makeover/Dashboard-before-and-after/i-3V7tL6R/A)

Okay, okay, I know . . .  [rolleyes2]

What you referring to is the sort of "mod" like I did to my trusty wagon's radio antenna:

(https://canebas.smugmug.com/Biquette/Drive-Train-makeover/Buick-antenna-vs-fusick/i-7DrCW9G/0/L/Comparison%20of%20Fusick%20and%20factory%20antenna%20-L.jpg) (https://canebas.smugmug.com/Biquette/Drive-Train-makeover/Buick-antenna-vs-fusick/i-7DrCW9G/A)

No, the bend in the bottom antenna didn't come from the factory.  I "modified it" myself . . . (http://www.canebas.org/WeatherCat/Forum_support_documents/Custom_emoticons/D'oh.gif)

That's why I had to buy the reproduction antenna at the top!  :-[

Cheers, Edouard  [cheers1]

P.S. Hope the gate isn't too worse for wear!
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on August 19, 2015, 12:36:35 AM
First, Welcome BacK, Stu!

Thanks for the info concerning two sites and one WC. I suspected that was the "approved" method. ;)

Second, I actually did use a tiny bit of php to copy a php file that had just one WC tag in it to the correct location on my site. WC would update it and put it with the other files, of course, but its actual location needed to be in another folder, which is the problem Stu describes. Maybe a "feature" for a future upgrade: FTP paths for each uploaded file WC processes. I'm sure there is one other person in the World who could use that capability! [lol]

Symbolic links may be the answer since the "Simple" method doesn't support using multiple files, if I understand things correctly. It appears to use what would be the <body> of an html file?  :-\ I'm assuming that since the WC Web Server is used to perform the FTP, it would not be wise to run two instances of WC... or would that work in the 'sand-boxed' environs of Yosemite and up? [computer]

Third, I always used a wire coat hanger when I had 'modified' the original antenna beyond 'repair.' I think it would add a nice touch of levity to the possible "my-car-is-more-pure-than-your's" crowd. I'm hoping Edouard is not in that group. [tup]
Title: Re: Moved: Upgrade Plans
Post by: WCDev on August 19, 2015, 04:39:18 PM
Thanks for the welcome back!

Yes, the Simple Web pages use a template built into WeatherCat's package, with an interface to the UI to control a few things such as some text to display or whether to include the web cam image. It isn't designed to be modified as any changes you made to the template itself within the package would be wiped out when WeatherCat was updated  :)
Title: That's an affirmative! (Re: Moved: Upgrade Plans)
Post by: elagache on August 19, 2015, 10:59:30 PM
Dear X-Air, Stu, and WeatherCat fans of "mods," . . .

Third, I always used a wire coat hanger when I had 'modified' the original antenna beyond 'repair.' I think it would add a nice touch of levity to the possible "my-car-is-more-pure-than-your's" crowd. I'm hoping Edouard is not in that group. [tup]

 [biggrin] . . . That's an affirmative X-Air, Rodger! . . .  [lol2]

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on August 27, 2015, 01:46:04 AM
Just about ready to make the "in-progress (http://mid-southweather.com/index.html)" site live, but there are two "problems". 1. We'll be leaving for that rail journey in a few days! [cheer] 2. On an iPad, I have to click the Nav menu links twice to get to any other page, unless I'm ON the "Forecast" page. From that page it's the correct, single touch (click) to get to any of the others.

The "Forecast" page uses some Leuven scripts to display the data, but the menu and all the rest of the page is exactly like all the others, at least according to the BBEdit, W3C validator, etc.
Title: Re: Moved: Upgrade Plans
Post by: Blicj11 on August 27, 2015, 02:39:53 PM
Your in-progress site looks nice. When I checked it out this morning, there is nothing displaying on the Current Gauges page, but everything else looks really nice. You've done a lot of work and the results is clean and simple. I like it.
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on August 27, 2015, 04:09:06 PM
I've seen that, also, but a refresh usually clears it up. I think I'm over taxing WC with those gauges. ;) I changed the update times for most of the pages, and the time-lapse movie to 10 minutes. The gauges and graphs are set to a 1 minute update rate. Maybe I should change the times to Prime numbers (2, 3, 5, 7, 11...) so they would rarely coincide! [rockon] [banghead]

The two-click requirement on the menu links: It appears my iPad is the only (local) device affected. Even after clearing the cache and un-syncing Safari on both the iPhone and iPad. The links work normally on my wife's iPad (not yet updated iOS, but an iPad3) and my iPhone 5.

It's either the older hardware (iPad 2?) or the CSS. I use the sane CSS in another site and only today found that the same problem occurs in the secondary (lower) level menu on that site, again, only with my iPad. Maybe I just need to buy a new iPad! [cheer] Donations accepted in cash, check, or PayPal! [biggrin]
Title: Re: Moved: Upgrade Plans
Post by: Blicj11 on August 27, 2015, 05:13:47 PM
I had tried a refresh earlier and it did not made any difference. However, just now when I visited your site again, the WeatherCat gauges worked as advertised. Perhaps you sprinkled that page with your Tennessee mojo and all is well.
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on August 28, 2015, 02:23:36 AM
I did 'play' with where I put the WC tags and how often those 'pages' updated. The Gauges and Graphs tags are not actually on the pages that display them (neither is the webcam video tag). But I think it takes WC a bit of time to create the graphics and then there is the upload time... No mojo. :P  [lol]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on September 19, 2015, 12:12:58 AM
Just got back from a ~2 week second Honey Moon to celebrate passing 50 years with the same woman! Can't believe she's been able to put up with me for so long!!

In other "news", I'm about ready to transfer my home-made site over to the mini, probably next week. Howsome ever, I have noticed that the very first time I visit the site, the WC gauges don't show up. There are images already uploaded, but they are showing a time almost exactly the same as the first access to the page. The local files show those same times and are usually plain white squares.

I made some changes to the "Additional Files" list today when I finally realized that only six of the 13 I had listed actually had WC tags in them. DUH! I know WC is probably not  wasting time uploading files that haven't changed, OTOH, perhaps I'll now save a few micro seconds. I also now have three files that use several WC tags updating every 2 minutes (the current data updates each minute), the gauges update every third minute, the movie & snapshot updates every 5 minutes, and the graphs every 7 minutes. Basically, this puts 2 minutes between the gauges, graphs, and movie updates, but those will also coincide with the index page which has a lot of WC tags.

This site is running on my iMac which occasionally is under some moderate work, so things should be a bit easier on the mini which is dedicated to WC (I may also stop using PathFinder on the mini due to some reports of memory leaks). I'll see how things go over the weekend. <Mid-South Weather (still running on dummy/static data) (http://mid-southweather.com/index.html)> Works fine down to iPhone portrait size screens, although the nav menu is still not the best. [banghead]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on September 22, 2015, 04:10:08 AM
Transition nearly complete. Had a major problem until I finally figured out that I had not changed the Prefs->Custom Web->Main->Enable FTP Upload->Edit FTP Details! [banghead] I'll blame that on either my stupidity or Stu... OK, it is not Stu! I had not changed the upload path from the old site/web space... :o Poor WC was running at 110+% trying to correct for my erer! [goofy]

Only after switching the site did I discover the custom graphs were missing. I had already re-constructed the 15 custom gauges so they were numerically the same as they displayed. I deleted three and edited the other 12. I discovered there was a "cloned gauge" I had created many months ago right after the eleventh gauge. That meant I kept getting 16 total instead of the 15 I actually used. I didn't discover that until trying to create gauge number "12" and it kept showing "13". [banghead]

Because of my slow typing and somewhat anal desire to match gauge/graph numbers to the display of them, I worked my way through dinner time. And now it's time to hit the sack! I won't miss the calories, picked up plenty of extra ones during our rail trip and fancy restaurant visits! [cheer]
Title: Glad you'll still pluggin' away. (Re: Moved: Upgrade Plans)
Post by: elagache on September 22, 2015, 10:16:28 PM
Dear X-Air and WeatherCat webspinners, . . .

Glad you're still plugging away at getting version - 2.0 of your website ready to go live.  It is a lot of work and web technology has been moving further and further away from the realm of us amateurs.  We have to give it our best, but there are limits to what we can do on our own.

Cheers, Edouard  [cheers1]
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on September 23, 2015, 03:26:28 AM
I noticed today that the range I had set for Pressure was quite limited! For some reason I think I had lower limit at 28.5 in/Hg. I simply forgot that a "standard day" is 29.92! [blush] I also tweaked the colors of the pointers and text labels and the label font sizes.

Frankly, I find html/css much easier than following the seemingly infinite and scattered settings for many templates! Especially when WC has so much power built-in! [cheer] OTOH, I did use some pieces of one genius template maker for the forecast and weather warning PHP.
Title: Re: Moved: Upgrade Plans
Post by: Alan Rowley on September 23, 2015, 07:43:57 AM
Looking good X-air. I've started to design my own template after learning HTML5 and CSS3. It's slow-going, with a lot of trial and error, but it's very rewarding when another page is finished. Like you, I find templates far too 'busy' and confusing.
Title: Re: Moved: Upgrade Plans
Post by: xairbusdriver on September 23, 2015, 04:59:05 PM
To be honest, many of their files are simply to address the plethora of (mostly Windows) apps. Then there are the different API's for all the places that let us share our data. I'm sure there are parallels in other areas of producing code, but you'd know that better than me. Most devs don't try to support every platform in use, even now when the consumer arena is now only two and a half OS's. Even with that, the hardware is virtually identical. I suppose this is another reason the "cloud" is becoming more popular for business: the real coding is on the servers not hundreds of different types of hardware? [computer] [interesting]
Title: Re: Moved: Upgrade Plans
Post by: Alan Rowley on September 23, 2015, 05:09:33 PM
The main reason that I am trying to write my own template is that most of the ones I've used previously are bloated by foreign languages, colour schemes and support for other stations / software. This makes coding very long and difficult to follow. At least if I write my own, I will have full control over what goes where.