Saving web archives
From time to time I save a web archive of a site for off-line browsing and for future reference in case the site vanishes.
This page - www.gabrielleray.150m.com - can produce a Webloc file, but the Save button is greyed out. It seems peculiar to Safari and this page as I had earlier saved a page from the same site without problem. I have also saved a Web archive from IE (ugh), but it will not open in safari.
Any ideas?
Cheers, Colin
you have longer filenames than this?? - that's what Safari tries to save as....
John Culme's Footlight Notes - Press Clippings of the Week - Opening of the Avenue Theatre, London, 1882 - Alabama<-I>, a play by Augustus Thomas, Garrick Theatre, London, 2 September 1895 - Héro, billed in London as a ‘Parisienne,’ circa 1910 - ‘Nudity’ on the London music hall stage, 1911 - Marie Dressler - ‘a bogus manager’ - in London, 1909 - Week ending 28 September 2002
Similar Messages
-
Hi. Not familiar with forums but hope to get some help.
Safari (7.0.6) on my iMac running Mavericks (10.9.4) is not saving web pages (web archives).
I've used the following path:
File > Save As >then Format > Web Archive
It saves a file but when I click on its icon it opens up to the 'Top Sites' page (as when you click on the + for a new tab) not a saved web archive of the web page I was on.
I have no such problem with Safari on my MacBook Pro running Lion.
The iMac hardware details are: 2.7 Gz Intel Core i5 with 8 gb of RAM . The software update tells me I'm up to date.
Any help would be much appreciated. Thanks in advance.
Errol.It could be malware that's causing the archive / Top Sites problem.
Download and run the adware removal tool here > The Safe Mac » Adware Removal Guide
Easy, safe, and only takes a minute or two.
If no malware is found ...
From your Safari menu bar click Safari > Preferences then select the Privacy tab.
Click: Remove All Website Data
Then delete the cache.
Open a Finder window. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following
~/Library/Caches/com.apple.Safari/Cache.db
Click Go then move the Cache.db file to the Trash.
Quit and relaunch Safari to test.
If that didn't help, troubleshoot Safari extensions.
From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall. -
I saved web page as html file, but can't open saved file as web page
I did a FILE, SAVE PAGE AS, then chose 'WEB PAGE COMPLETE' - and a directory is created on my hard drive - with the directory name, for example - "c:\....\Ask a Question _ Mozilla Support.htm". (for this web page).
When I try to open the saved web page from Firefox, using FILE, OPEN, I see a new window that looks like a file manager window, I then select that saved .html file and click OPEN, and a new window opens that looks like file manager - displaying with all the files in that directory - "Ask a Question _ Mozilla Support.htm". That is, it does not open and dislpay the web page as I expect it should (that I saved earlier).
However, if I go to the file manager, I can see that directory is saved, and has the Windows Explorer icon associated with the directory "ask a question ....html", and also has a file type of HTML listed. If I double click that directory in file manager, Windows Explorer will open that directory and dis[play it as a web page, as I expected.
I would like to know why Firefox does not open the directory name as a web page from the FILE, OPEN command, but instead shows me the directory contents(all the files in that directory)?
BTW, if I try FILE, OPEN, using Windows Explorer the same thing happens - it opens a new window listing all the files in that directory.
Is this the way the FILE, OPEN is supposed to work?
It seems confusing, because if I am in any other program, for example WinWord, and do a FILE, OPEN command on a Word file, it opens the file as a Word Document - it does not just show the file in a "file manager window.
But when I click FILE, OPEN on an HTML file(directory using Firefox, it does not open that html directory as a web page?I am in the Windows Explorer 'Details' view, and I see the folder with 'Type' of FILE FOLDER. In that folder are all the .js and .css and .png files - as cor-el said.
''But now I also see'' that there is also an htm file - ''with the exact same name ''as the folder, but it has a 'Type' of 'HTML Document'. When I have Firefox do a File, Open on the HTML Document - it does open the web page that I saved and does display it as a web page.
I did not realize that Firefox saves both:
1) a Directory '''(Type 'File Folder') '''''', and,
2) an html file''' (Type 'HTML Document')
... '''and that they are the exact same names! '''
I was clicking on the wrong one! Instead of clicking in the .html file, I was incorrectly clicking on the folder!
(The archive add on looks interesting, but shouldn't I be able to open the saved web page, from the browser, using File, Open File) ? -
Thanks for reading. I have a number of web archives saved and understood them to save whatever was shown, notwithstanding future changes to the page. Am I correct in my understanding?
Trying to open some (not all) of these pages, I get "There was one opening error... choose Activity from the Window menu." The pages will not open.
Choosing Activity shows-
"file:///Users/martin_bell/Documents/Documents/Finances/Sandys%20Tax/Sandy's%20 return%202006:2007.webarchive 1 of 2 items (1 error)".
These were saved on a previous iMac and transfered using target disk mode. Any ideas?
Thanks.Hi Martin
safari & webarchives is a little err, less than ideal... although most of the images/items are stored in the archive - they don't always seem to get displayed by safari if they're no longer on the web - hmmm.
web archive folderizer extracts all stored items from the webarchive into folders, but doesn't produce a nice, easy to click icon that displays it all in a browser - however, it might let you find the items that don't show up. -
Opening Web Archive files in WebCT
"This document is a Single File Web Page, also known as a Web Archive file. If you are seeing this message, your browser or editor doesn't support Web Archive files. Please download a browser that supports Web Archive, such as Microsoft Internet Explorer."
This is the message I get whenever I try to access the page for class outlines, ect. They are usually powerpoint type things, but they open in Word (on Windows).
I have tried using Firefox, Opera, Safari, Internet Explorer, copy/paste into Word, and saving it as a PDF. It works perfectly on Internet Explorer when using Windows.
Is there anyway I'll be able to access these kinds of pages while I'm on a Mac?
Macbook Mac OS X (10.4.8)When viewing brought Safari the same picture ca only be saved as a Web Archive file format.
That's because you're not saving the pictures you're saving the page that contains them.
Drag and drop the images from the Safari Window to the desktop and then import them from there to iPhoto.
iPhoto is not a web browser and cannot read web archives. -
Opening Safari for Mac Web Archives in Safari for Windows???
I need to open Safari for Mac Web Archives (saved html web pages on a Mac) on my Windows PC at work. Does anyone know how I can accomplish this? The original Web Pages are no longer available and the data in the Archives is the only set left.
I've tried opening the files with Safari for Windows but that doesn't work. I've also tried renaming the web archives from file.webarchive to file.html and that doesn't work either.
Does anyone out there have any suggestions for accomplishing this task??? Thanks in advance for your help!
YVIf you can move your archives to a Mac I think you can convert them to folders with Webarchive Folderizer and then move back to your pc:
http://www.versiontracker.com/dyn/moreinfo/macosx/29095 -
AppleScript: Safari - Save As Web Archive
The title says it all: Can someone tell me please how - most likely via UI scripting, since I can't see anything in the dictionary - I can get Safari to save the front most document as a Web Archive using AppleScript?
This is one I have recently written that saves all tabs in a window, it remembers the parent folder until next time, and also uses the webarchive ending when Safari is in doubt. You can set properties for whether you like it to overwrite or not. Please look at Macscripter for any updates.
property tlvl : me
# Release 1.0.1
# © 2012 McUsr and put in Public Domain under GPL 1.0
# Please refer to this post: http://macscripter.net/post.php?tid=30892
property shallClose : false # set this to false if you don't want to close the windows, just saving them
property dontOverWriteSavedTabs : false # set this to true if you don't want to overwrite already saved tabs in the folder
script saveTabsInSafariWindowsToFolder
property parent : AppleScript
property scripttitle : "SafariSaveTabs"
on run
if downloadWindowInFront() then return 0 # activates Safari
local script_cache
set script_cache to my storage's scriptCache()
set saveFolder to POSIX path of (getHFSFolder({theMessage:"Choose or create folder to save Safari-tabs in.", hfsPath:DefaultLocation of script_cache as alias}))
if saveFolder = false then return 0 -- we were obviously mistaken, about what we wanted to do.
my storage's saveParenFolderInScriptCache(saveFolder, script_cache)
tell application "Safari"
tell its window 1
local tabc, oldidx
set tabc to count tabs of it
if not tlvl's shallClose then
set oldidx to index of current tab
tell tab tabc to do JavaScript "self.focus()"
end if
local saveCounter
set saveCounter to 1 -- regulates setting of save folder to only first time in Safari.
repeat while tabc > 0
local theUrl, theIdx, theProtocol, alreadyClosed
set {theUrl, theIdx, alreadyClosed} to {URL of its current tab, index of its current tab, false}
if my isntAduplicateTab(theIdx, it) then
set theProtocol to my urlprotocol(theUrl)
if theProtocol is in {"http", "https"} then
# save it
set saveCounter to my saveCurrentTab(saveFolder, saveCounter)
else if theProtocol is "file" then
# make an alias of it
my makeAliasForAFurl(saveFolder, theUrl)
end if
else
if tlvl's shallClose then
close current tab
set alreadyClosed to true
end if
end if
if not alreadyClosed and tlvl's shallClose then
close current tab of it
set tabc to tabc - 1
else if not tlvl's shallClose then
set tabc to tabc - 1
if tabc > 0 then tell tab tabc to do JavaScript "self.focus()"
end if
end repeat
# move forwards
if not tlvl's shallClose then
tell tab oldidx to do JavaScript "self.focus()"
end if
end tell
end tell
end run
to makeAliasForAFurl(destinationFolder, furl)
local ti, tids, thefilePath
set ti to "file://"
set {tids, AppleScript's text item delimiters} to {AppleScript's text item delimiters, ti}
set thefilePath to text item 2 of furl
set AppleScript's text item delimiters to tids
set theFile to POSIX file thefilePath as alias
set theFolder to POSIX file destinationFolder
tell application "Finder"
make alias at theFolder to theFile
# I don't care if there was one there from before, as it could equally
# be a file with the same name.
end tell
end makeAliasForAFurl
to saveCurrentTab(destinationFolder, timeNumber)
tell application id "sfri" to activate
tell application "System Events"
set UI elements enabled to true
tell process "Safari"
keystroke "s" using {command down}
tell window 1
repeat until exists sheet 1
delay 0.2
end repeat
tell sheet 1
if timeNumber = 1 then -- We'll set the savepath upon first call
keystroke "g" using {command down, shift down}
repeat until exists sheet 1
delay 0.2
end repeat
tell sheet 1
set value of text field 1 to destinationFolder
click button 1
delay 0.1
end tell
end if
keystroke return
delay 0.2
if exists sheet 1 then -- We are being asked if we want to overwrite already saved tab
if dontOverWriteSavedTabs then
keystroke return # if it was already saved. We don't overwrite it
click button 3
else
keystroke tab
keystroke space # we are to overwrite
end if
else
try
set dummy to focused of sheet 1
on error
# click button 1 of panel of application "Safari"
keystroke return
delay 0.2
if exists sheet 1 then -- We are being asked if we want to overwrite already saved tab
if dontOverWriteSavedTabs then
keystroke return # if it was already saved. We don't overwrite it
click button 3
else
keystroke tab
keystroke space # we are to overwrite
end if
end if
end try
end if
end tell
end tell
end tell
end tell
set timeNumber to timeNumber + 1
return timeNumber
end saveCurrentTab
on downloadWindowInFront()
tell application "Safari"
activate
set tabCount to count tabs of its window 1
if tabCount < 1 then
tell application "SystemUIServer" to activate
activate
return true # Downloads window or somethingelse
end if
end tell
return false
end downloadWindowInFront
on isntAduplicateTab(idxOfCurrentTab, theWin)
using terms from application "Safari"
tell theWin
set curTabname to name of tab idxOfCurrentTab
set curTabUrl to URL of tab idxOfCurrentTab
repeat with i from (idxOfCurrentTab - 1) to 1 by -1
if name of tab i = curTabname and URL of tab i = curTabUrl then return false
end repeat
return true
end tell
end using terms from
end isntAduplicateTab
on getHFSFolder(R) -- Returns hfsPathAsText
-- R : {Amessage:theMessage,hfsPath:aStartPath}
local new_path, failed
set failed to false
tell application "SystemUIServer"
activate
repeat while true
try
set new_path to (choose folder with prompt (theMessage of R) default location (hfsPath of R) without invisibles) as text
on error e number n
if n is -128 then
set failed to true
exit repeat
end if
end try
exit repeat
end repeat
end tell
if failed is true then
return false
else
return new_path
end if
end getHFSFolder
on urlprotocol(anUrl)
# returns the protocol of an Url, i.e. http, https, file, localhost etc.
local tids, theProtocol
set {tids, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "://"}
set theProtocol to text item 1 of anUrl
set AppleScript's text item delimiters to tids
return theProtocol
end urlprotocol
to parentfolder for aPath
local colons, slashes, origDelims
set {colons, slashes} to {false, false}
if (offset of ":" in aPath) > 0 then set colons to true
if (offset of "/" in aPath) > 0 then set slashes to true
if colons and slashes then
return null
else if colons then
set origDelims to ":"
else if slashes then
set origDelims to "/"
else
return null
end if
local tids
set {tids, AppleScript's text item delimiters} to {AppleScript's text item delimiters, origDelims}
if aPath = "/" then
-- we return root when we get root
set AppleScript's text item delimiters to tids
return "/"
end if
local theParentFolder
if text -1 of aPath is in {":", "/"} then
set theParentFolder to text items 1 thru -2 of text 1 thru -2 of aPath
else
set theParentFolder to text items 1 thru -2 of aPath
end if
set theParentFolder to theParentFolder as text
if slashes and theParentFolder = "" then set theParentFolder to "/"
-- sets the root path if we got a folder one level below it
if colons and (":" is not in theParentFolder) then set theParentFolder to theParentFolder & ":"
-- we return volumename, if we are given volumename
set AppleScript's text item delimiters to tids
return theParentFolder
end parentfolder
script storage
property cachespath : ((path to library folder from user domain as text) & "caches:" & "net.mcusr." & scripttitle)
on scriptCache()
local script_cache
try
set script_cache to load script alias (my cachespath)
on error
script newScriptCache
property DefaultLocation : (path to desktop folder as text)
# edit any of those with default values
end script
set script_cache to newScriptCache
end try
return script_cache
end scriptCache
to saveScriptCache(theCache)
store script theCache in my cachespath replacing yes
end saveScriptCache
to saveParenFolderInScriptCache(theFolderToSaveIn, script_cache)
local containingFolder
set containingFolder to (parentfolder of saveTabsInSafariWindowsToFolder for theFolderToSaveIn) & "/"
local theLoc
set theLoc to POSIX file containingFolder as alias
set DefaultLocation of script_cache to theLoc
my saveScriptCache(script_cache)
end saveParenFolderInScriptCache
end script
end script
tell saveTabsInSafariWindowsToFolder to run -
Why does a specific web archive file show in a finder search by a specific person's name?
When searching by specific person's name in Finder, a specific .web archive file saved from a Safari browsing session appears. Why is this? Was the person's name entered into the browsing session? Was the .web archive file sent to the person?
Thank you for your initial response. Is there a way to view the web archive to see what is in the archive in detail? Cheers,
-
Web archives + flash?
Hi,
I'm trying to save a flash movie that has many different small sections. When saving as a web archive, only the current section is saved. Is there anyway to save the entire movie as a single file that i can view offline? Or if not, is there anyway to consolidate each section of the movie after saving as seperate web-archives? ThanksIs there
anyway to save the entire movie as a single file that
i can view offline?
I don't know how to do this and associate it to the web archive without editing the web archive itself, but you can save the flash movie.
First, you will need to view the source of the website. When you are in the HTML, search for "swf" I went to www.nba.com and did this. I get this link:
http://www.nba.com/media/nbacommainHeaderv02.swf
now ust paste that link into your browser. You can now save the page and it should save it as a SWF (Shock Wave Flash) file.
If it doesn't work in Safari, try FireFox for OS X (www.getfirefox.com)
Good luck! -
Saved Web Pages No Longer Display Any Graphics
Hi all - is there a setting in Safari Prefs, or maybe in System Prefs to ensure that when re-opened, a saved web page (in Web Archive format) displays photographs and other graphics? Mine now show only blue boxes with question-marks, even when opened immediately after Saving As. Obviously some setting has changed.
Any ideas? Hopefully a simple solution.Thank you Charlie.
In going through the properties for the website in IIS and looking at the extensions, we found that at some point .htm and .html pages had been set to display as .aspx. However in the upgrade, Coldfusion added a 'wildcard' to those extensions using Coldfusion 9. We simply deleted those extensions (to match our development server, which did not have entries for them) and that solved the problem. In other words, I think the website was confused.
Christina -
Oh boy, I saved a lot of web archives for reference to a pay site, and now months later, these web archives come up with box asking for membership number! so I have to force quit just to get out.
Had I saved in Pdf probably would not have this issue. what the deal on this?just tested it now....
ok, it's far from obvious, but inside my folders afterwards....errr, I saved an apple discussions page, and one of the folders is named "discussions.apple.com". inside that, there's am html file, which when opened using Safari, re-creates the page perfectly.
so if your saved page is from xyz.com, look for a folder with that name, and see if there's a useable html file inside. -
How to tell Safari to save as a Web Archive
The default "Save" when using a script is to save as "Page Source." How would one write a script to Save as "Web Archive."
01. In 'Safari' - manually, select the 'File, Save As...' menu item. A drop down sheet will appear.
02. Select the 'Format:' Web Archive' menu item.
03. Click on the 'Save' button.
04. Locate the just saved web page, trash it, and empty the trash.
You have now set 'Safari' to save all future 'Save As...'es in the 'Web Archive' format.
05. Use the code (which is supplied with no error trapping) below.
-- Code starts here --
property tURL : "http://www.badcopnews.com/"
tell application "Safari"
activate
make new document at end of documents
set URL of document 1 to tURL
get document 1
end tell
delay 3
tell application "System Events" to tell process "Safari"
keystroke "s" using command down -- 'Command S' - 'Save As...'
delay 1 -- Pause for 1 second.
keystroke "d" using command down -- 'Command D' - Go to 'Desktop'.
delay 1 -- Pause for 1 second.
keystroke "c" using command down -- 'Command C' - Go copy highlighted text.
set the clipboard to ((do shell script ("date +%Y%m%d%H%M%S")) & (the clipboard))
keystroke "v" using command down -- 'Command V' - 'Paste'.
delay 1 -- Pause for 1 second.
click button "Save" of sheet 1 of window 1 -- Click on 'Save' button.
end tell
-- Code ends here -- -
Saved Web Pages, Trouble
Hi,
Anyone having trouble saving webpages in Archive format?
When saved file is opened only the text shows no pics.
Sometimes there are pics sometimes no pics just text.
Thanks in advance.
Mark S
iBook G4 Mac OS X (10.4.2)
iBook G4hi,
got the same problem -- just saved a number of reference pages (incl facts about apple software) but when i tried to go through them offline, they were without images. saved them in web archive. tried to connect to the net and reload, and that worked, but saving againg was fruitless.
thought this might have to do with the update to 10.4.5, but i see you use 10.4.2 -- i have had this problem on and off but cannot remember if 10.4.2 was a "good" version. -
Web archive, how do you keep it to desktop without the web?
Hey there, I have a few videos I saved, but they are web archives. I would like to keep them, without having to use the web. How do I do this?
Thanks again everyone.
-ankitaewhoops
-
How do I add a web archive to a PPT presentation?
How do I add a web archive to a PPT presentation?
You can't add content to Apple TV. You will have to use airplay (from a compatible site) or mirror (using a compatible device)
http://support.apple.com/kb/HT4437?viewlocale=en_US&locale=en_US
http://support.apple.com/kb/ht5209
http://support.apple.com/kb/ht5404
Maybe you are looking for
-
I am using Muse v7.1 Build 329 anchor links not working
Hi I am using Muse v7.1 and have found that anchor links from buttons and from text boxes fail to work in IE v10 but all work fine with Chrome. I have seen comments from others that if I use a space in the code it will work but the whole point of Mus
-
how do I search for all photos taken with a certain lens? thanks joanlvh
-
Audiobooks lose their last location when connecting iPhone to iTunes
This is a major inconvenience when in the middle of many several hour audiobooks (m4b). Tech support is no help and all they tell me is that they are looking into it. This has been happening for YEARS. I guess I'm one of the few that listen to audiob
-
I need to calculate std deviation and std error in forecast accuracy in the report. How do I calculate ? Please help. Thanks Shalini
-
Photoshop CS3 Batch Action Delimma
I've run into a problem recently with batching actions in CS3 to process vector files like ai or pdf. I record the open step to set import preferences then select override action "open" commands, but the program opens the image with the name of the