Sandaysoft

Support forum for Cumulus weather station software
It is currently Sun May 19, 2013 4:29 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Struggling to get Cumulus to read webtags.
PostPosted: Sat Jun 30, 2012 5:27 pm 
Offline

Joined: Sat Dec 11, 2010 4:51 pm
Posts: 55
Location: Devon
Weather Station: Davis VP2 FARS
Operating System: Windows 7
Hi All,

I've been trying put together a new website today. Mainly due to having swapped from an older version of Dreamweaver to Serif Webplus x5 and not being able to find a way to import my website into Webplus?? As such I can't do the monthly admin to update the stats..

Anyway I have put together a very basic home page to test out inserting webtags but I can not get Cumulus to upload the test webpage. I know I must be doing something wrong, trying to learn Serif at the same time is probably not helping. I've been looking through the Wiki and FAQs and have done some searching here but still can't figure out how to fix this.

If I could insert the indexT.htm page/template into a 'box' on the new home page, or just upload a home page with a link to the old home page, that would fix things for now. Actually that is if I knew how to coax Serif Webplus into placing the new pages into the copy of my website on the PC!

Any help very welcome!

_________________
Steve.
rockbeare weather
Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Sat Jun 30, 2012 5:32 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2506
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
'putting the Cumulus web pages into a box' is otherwise know as using a 'in-line frame'. Take a look at this...http://www.w3schools.com/tags/tag_iframe.asp

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Sat Jun 30, 2012 7:42 pm 
Offline

Joined: Sat Dec 11, 2010 4:51 pm
Posts: 55
Location: Devon
Weather Station: Davis VP2 FARS
Operating System: Windows 7
Thanks. I'll have a quick read and see if I can get that to work. If I can sort out some links on a temporary home page to go with it I should almost have a solution that'll last me until I can get a little more time.

Anyone know much about Serif? I'd like to get it to import at least some of my current, Dreamweaver built, pages, such as this one, so that I can update it tomorrow.

Steve.

_________________
Steve.
rockbeare weather
Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 4:38 pm 
Offline

Joined: Sat Dec 11, 2010 4:51 pm
Posts: 55
Location: Devon
Weather Station: Davis VP2 FARS
Operating System: Windows 7
I've just found time to come back to this. I am getting no where. Does anyone have a simple solution to the problems I have:
(a) to get Serif to import my Dreamweaver produced website so I can edit it?
or
(b) to get Serif to actually produce a webpage that Cumulus can process tags in?

I'm going to continue trying to get this to work, but if I can't solve this today, I am too busy to look at it again for some time and I am of a mind to not waste more time on it and take the website down when I need to renew the hosting in August. The station is really for my interest primarily, sharing the data is a secondary concern. If I can get a temporary solution I'll leave the website ticking along until I can have a proper look in the future.

_________________
Steve.
rockbeare weather
Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 4:43 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17548
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Steve Willington wrote:
(b) to get Serif to actually produce a webpage that Cumulus can process tags in?
What exactly is the problem that you're having in creating a web page to use with Cumulus? Or are you looking for a tutorial on how to use Serif?

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 5:08 pm 
Offline

Joined: Sat Dec 11, 2010 4:51 pm
Posts: 55
Location: Devon
Weather Station: Davis VP2 FARS
Operating System: Windows 7
Steve,

I'm not sure - I embed tags in the webpage but then can't get Cumulus to read it. I actually don't want to be re-creating the templates that I have there now, they are fine. The problems stems from the fact that I, naively, expected Serif to import my website (the copy that I built in Dreamweaver) and to be able to edit it in a basic sense until I learnt more about Serif. I don't seem to be able to do that, so I'm now looking for a work around to have the ability to just update the "past data" page for instance until I can rebuild the website in Serif if that is what is needed (I just don't have time for that right now).

To that end I was hoping to generate a basic home page in Serif, with Cumulus tags and some links to my other pages. I can't even get Serif to link as it appears to only want to identify pages with its own file extension.

Anyway my frustration is mainly driven by lack of time, I'm very busy right now. Probably best I just allow the website stats etc to go out of date until I can find the time to sort it out some time down the line.

_________________
Steve.
rockbeare weather
Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 5:15 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17548
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Steve Willington wrote:
I'm not sure - I embed tags in the webpage but then can't get Cumulus to read it.
What do you mean by "can't get Cumulus to read it?". You've added it to the files tab and ticked the 'process?' box etc, but it doesn't process it, or something else? It's very hard to offer any help with so little information.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 7:09 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2506
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
I suspect it is the old problem with the 'packages' encoding the < > to &lt; &gt;

You need to the check the page 'source' in your editor - or notepad once you have created it to check for the angle brackets being encoded.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 8:28 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
Steve (the Willington one :) ) why can you not post one of your template here (compress the template within a ZIP archive before attaching/uploading it with your reply) - this way one of us will be able to see what is happening or not happening. :geek:

By the way, can the Serif WebPlus editor import templates (pages) created with the Adobe Dreamweaver editor - I looked at the documentation for WebPlus X5 and only found information about importing Word and Open Office text documents - nothing about importing templates, such as those produced by the Adobe Dreamweaver editor.

You have to understand (and remember) that the Adobe Dreamweaver editor produces its own file format... The Serif WebPlus editor also produces its own file format... Cumulus prefers to read and process files in the standard HTML format...

Steve, for some times, I have been planning to start a new message thread where I would write about converting the 'standard' Cumulus HTM templates (pages) to the PHP format, where Cumulus would not need anymore to process individual web page templates, where Cumulus would have to process only one data template (web tags). I guess such a thread could/would be of some assistance to you... ;)


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 8:43 pm 
Offline

Joined: Sat Dec 11, 2010 4:51 pm
Posts: 55
Location: Devon
Weather Station: Davis VP2 FARS
Operating System: Windows 7
mcrossley wrote:
I suspect it is the old problem with the 'packages' encoding the < > to &lt; &gt;



I've just checked this and it looks as if you are spot on. So how do I prevent this happening? And is there a tired 'idiots guide' to getting Cumulus to upload a trial page such as the one attached?

I may just be getting somewhere, thanks to you both.


You do not have the required permissions to view the files attached to this post.

_________________
Steve.
rockbeare weather
Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 10:23 pm 
Offline

Joined: Sat Dec 11, 2010 4:51 pm
Posts: 55
Location: Devon
Weather Station: Davis VP2 FARS
Operating System: Windows 7
gemini06720 wrote:
Steve (the Willington one :) ) why can you not post one of your template here (compress the template within a ZIP archive before attaching/uploading it with your reply) - this way one of us will be able to see what is happening or not happening. :geek:

I've only created a very quick test page - it's attached to my post below.

gemini06720 wrote:
By the way, can the Serif WebPlus editor import templates (pages) created with the Adobe Dreamweaver editor - I looked at the documentation for WebPlus X5 and only found information about importing Word and Open Office text documents - nothing about importing templates, such as those produced by the Adobe Dreamweaver editor.

As far as I can tell WebPlus won't import anything created in Dreamweaver - would love for that not to be the case and am still hoping to be proved wrong.

gemini06720 wrote:
You have to understand (and remember) that the Adobe Dreamweaver editor produces its own file format... The Serif WebPlus editor also produces its own file format... Cumulus prefers to read and process files in the standard HTML format...

So I am beginning to learn! :oops:

_________________
Steve.
rockbeare weather
Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Tue Jul 10, 2012 10:46 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
Steve, as Mark pointed out in a previous message, Adobe Dreamweaver is using the '&lt;' and the '&gt;' instead of (replacing) the '<' and the '>' around the web tags - when the template (page) is processed by Cumulus, the '&lt;' and the '&gt;' are simply ignored by Cumulus and treated as page coding.

Since I do not use Adobe Dreamweaver, I am not familiar with its default parameters. But I remember some writing that it was possible to modify the settings and prevent Adobe Dreamweaver from replacing the '<' and the '>' with their ASCII equivalents.

Looking at the 'index20.html' template, you should be able to import the template into the Serif WebPlus editor without problem ... unless the WebPlus editor does not import HTML templates, in which case I would be very annoyed...

An immediate solution would be to import the Dreamweaver produced templates into the WebPlus editor, and do two 'search-and-replace', one for '&lt;' and replace with '<' and the other one for '&gt;' and replace with '>'.


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Sun Jul 15, 2012 12:17 pm 
Offline
User avatar

Joined: Tue Jun 19, 2012 8:51 pm
Posts: 21
Location: Berwick-upon-Tweed
Weather Station: Davis VP2 : Instromet
Operating System: WinXPpro
In Dreamweaver, ensure you are typing/pasting the tags in 'Code View' (html) Typing '<' and'>' in 'Design View' will display correctly at design time, but will be converted to '&lt;' and '&gt;' in the actual code which is ultimately saved.

_________________
John

Image


Top
 Profile  
 
 Post subject: Re: Struggling to get Cumulus to read webtags.
PostPosted: Sun Jul 15, 2012 11:53 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
Steve, I just had a look at the help manual for Dreamweaver. It appears that the automatic conversion from ASCII characters to their HTML equivalent (such as from '<' to '&lt;') can/could be deactivated - the the code rewriting preferences has to be modified:
    1. Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh)
    2. Select Code Rewriting from the Category list on the left
    3. Set any of the following options:
    ...
    ... Encode <, >, &, And " In Attribute Values Using &

I cannot confirm that this modification to the setting would prevent further conversions ... as I do not use Dreamweaver.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group