| View previous topic :: View next topic |
| Author |
Message |
bahri
Joined: 24 Jun 2004 Posts: 101 Location: Malta
|
Posted: Sat Feb 25, 2006 1:45 am Post subject: Saving AHK forum Pages |
|
|
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 |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Sat Feb 25, 2006 8:43 am Post subject: |
|
|
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 |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Sat Feb 25, 2006 12:49 pm Post subject: |
|
|
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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
|
| Back to top |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Sat Feb 25, 2006 1:21 pm Post subject: |
|
|
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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sat Feb 25, 2006 1:39 pm Post subject: |
|
|
| 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 |
|
 |
garry
Joined: 19 Apr 2005 Posts: 1033 Location: switzerland
|
Posted: Sat Feb 25, 2006 5:06 pm Post subject: |
|
|
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 |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sat Feb 25, 2006 5:38 pm Post subject: |
|
|
| 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 |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Sat Feb 25, 2006 5:55 pm Post subject: |
|
|
Could have sworn I tried the mht format, but guess not because it does work fine  |
|
| Back to top |
|
 |
bahri
Joined: 24 Jun 2004 Posts: 101 Location: Malta
|
Posted: Sat Feb 25, 2006 6:49 pm Post subject: Saving AHK forum Pages |
|
|
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 |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Sat Feb 25, 2006 7:03 pm Post subject: |
|
|
@ 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 |
|
 |
bahri
Joined: 24 Jun 2004 Posts: 101 Location: Malta
|
Posted: Sat Feb 25, 2006 7:39 pm Post subject: Saving AHK forum Pages |
|
|
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 |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1238
|
Posted: Sat Feb 25, 2006 7:54 pm Post subject: |
|
|
@ 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 |
|
 |
Winkie
Joined: 11 Apr 2006 Posts: 8 Location: The Netherlands
|
Posted: Wed Apr 12, 2006 1:52 pm Post subject: Re: Saving AHK forum Pages |
|
|
| 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 |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Wed Apr 12, 2006 2:24 pm Post subject: |
|
|
Very interesting, thanks for the information. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
|