AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Saving AHK forum Pages
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
bahri



Joined: 24 Jun 2004
Posts: 101
Location: Malta

PostPosted: Sat Feb 25, 2006 1:45 am    Post subject: Saving AHK forum Pages Reply with quote

Hi All!
When I come find a usefull page in the forum I always save the page (like most I suppose)
Since updateing winXP Pro to SP2 this has not been possible.
I try to save full web page.
As I understand this is a security feature that stops saving when a page component resides on an outside server and many times it's a style sheet that resides on another server than where the page is.

Anybody else is bothered by this?
Any help?
Thanks all

bahri
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sat Feb 25, 2006 8:43 am    Post subject: Reply with quote

I don't understand. Have you difficulties to save a Web page from this very forum? From what I see, all the files are on the same server, except an occasional image in a message that come necessarily from another server.

Even on XP SP2, I never failed when saving a page. I use Firefox. What browser are you using?
Note that you can probably save the image or the stylesheet separately and put it later in the page folder.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Sat Feb 25, 2006 12:49 pm    Post subject: Reply with quote

I get the error in IE (XP SP2 - fully updated) too - it starts saving (this page) and then gives an error:

Quote:

Error Saving Web Page
This Web page could not be saved.


Same result in Avant Browser (so it seems to be an IE core thing). Saves fine in Firefox.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Feb 25, 2006 1:00 pm    Post subject: Reply with quote

I'm not sure if this has anything to do with it, but the forum was recently changed to use an external CSS file. This speeds up page loading and saves bandwidth.

The CSS file is http://www.autohotkey.com/forum/templates/subSilver/subSilver.css
Back to top
View user's profile Send private message Send e-mail
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Sat Feb 25, 2006 1:21 pm    Post subject: Reply with quote

I can download that CSS file (save target as) ok - I presume that was what the link was for?

I found that I can save a page as a txt file ok, but even choosing to save the web page only (html) option it aborts with this error:

Quote:

The Web page could not be saved because one of its files is missing.


But strangely I just managed to save this reply page, went back and managed to save this topic thread page then it stopped working again without doing anything.

When trying to save a full page (everything not just html) I think I managed to capture a screenshot just before it gives the error box and it says: Saving???J to ...\AutoHotkey Community ...." where ??? are some box-like symbols.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Feb 25, 2006 1:39 pm    Post subject: Reply with quote

Perhaps there's a link somewhere in each page's HTML that MSIE doesn't like (perhaps the logo at the top or the page it points to). If anyone discovers an easy solution, please let me know.
Back to top
View user's profile Send private message Send e-mail
garry



Joined: 19 Apr 2005
Posts: 1033
Location: switzerland

PostPosted: Sat Feb 25, 2006 5:06 pm    Post subject: Reply with quote

if you want save parts from script, a tool from AGermanUser CopyPassage
(instead of ctrl/c ctrl/v save as , write date and url ....etc )
http://www.autohotkey.com/forum/viewtopic.php?t=7914
Imagine you're surfin the web and discover some lines of text on a website you might need later. So what do you do?
Save it to a loose textfile on your desktop and end up with textfile filled with lots of text passages. Hard to organize.
That's why I wrote this little tool. It contains two hotkeys:
* Win + c (copy)
* Win + g (gui)
Win+c creates a textfile in the scripts subdir 'notes' which hold the date, URL and the copied text passage.
Win+g opens a GUI which lets you organize all your little textfiles.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Feb 25, 2006 5:38 pm    Post subject: Reply with quote

I've looked into this further. The error from Internet Explorer "This Web Page Could Not Be Saved" appears to be a known issue. Here is a workaround from a post over at phpbb: [When saving] if you are using IE 6.x, choose "web archive" as file type (.mht).
Back to top
View user's profile Send private message Send e-mail
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Sat Feb 25, 2006 5:55 pm    Post subject: Reply with quote

Could have sworn I tried the mht format, but guess not because it does work fine Very Happy
Back to top
View user's profile Send private message
bahri



Joined: 24 Jun 2004
Posts: 101
Location: Malta

PostPosted: Sat Feb 25, 2006 6:49 pm    Post subject: Saving AHK forum Pages Reply with quote

Hi!
Thanks for the messages.
Yes Mht saving is OK
I think that it is the style sheet that is not available on the server that's cousing this.
I have used Maxthon Browser for a long time it's a front end for IE but has many options and also it's tab feature is great
Now this browser has a menu item called auto save and this is very handy, it saves the pages grouped by the site so when I auto save a page from this forum it automatically goes to the autohotkey folder.

Then Once so often I Group all these into a chm (help) file using Far.
Far needs Htm not mht, but I can now load the mht and save it as complete html.

Takes longer but seems to work

Thanks all
bahri
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Sat Feb 25, 2006 7:03 pm    Post subject: Reply with quote

@ bahri: Interesting use there. Maybe others would find it useful if you posted a script to convert mht files to html (with IE - since then it doesn't matter if you have a specific IE variant or not) if you intended making one. I notice Firefox can't open mht files either.

Mht is a format I use for archiving occasional pages because it's nice not to have lots of little files and folders generated by saving just one page, although I've not needed to convert back to html yet.
Back to top
View user's profile Send private message
bahri



Joined: 24 Jun 2004
Posts: 101
Location: Malta

PostPosted: Sat Feb 25, 2006 7:39 pm    Post subject: Saving AHK forum Pages Reply with quote

Strange Firefox can't open mht I tried it and you are right, (that's why I stick to IE and it's variant Maxthon).
All I am doing is load the saved mht in ie and re-save in the other formats.
This problem of some code on a different server is not applicable then because it's all local.

BTW mht when opened in a text editor is in MIME format pics are all included (similar to an attached pic in email).
I suppose a script to convert might be possible but is it worthed?

bahri
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1238

PostPosted: Sat Feb 25, 2006 7:54 pm    Post subject: Reply with quote

@ bahri:
By "script to convert", I just meant a script that automated the saving from mht to html in internet explorer - which I thought you might do if you have a lot to convert regularly (something I don't really have a need for myself at this point in time).

If mht is a simple file format then I'm surprised it isn't supported by Firefox - I presumed it must be a proprietary format, etc.
Back to top
View user's profile Send private message
Winkie



Joined: 11 Apr 2006
Posts: 8
Location: The Netherlands

PostPosted: Wed Apr 12, 2006 1:52 pm    Post subject: Re: Saving AHK forum Pages Reply with quote

bahri wrote:
Strange Firefox can't open mht I tried it and you are right


There is an extension for Firefox for which handles MHT files: Mozilla Archive Format
It reads MHT files saved from this Forum perfectly.
It also can save MHT files, but when I tested this it saved without images.
_________________
Winkie
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Wed Apr 12, 2006 2:24 pm    Post subject: Reply with quote

Very interesting, thanks for the information.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group