Originally Posted by iBsteve
I would like to mention that Yojimbo has a very elegant scriptlet that sits in your browser bookmarks. Click on it and boom a web archive is placed in Yojimbo.
:window.location='x-yojimbo://CreateItem?kind=WebArchive&name='+encodeURICompone nt(document.title)+'&location='+encodeURIComponent (window.location); )
Regarding adding features to a URI handler in OF, you may also be interested in this thread:
Still, the key step (however the interface is implemented) is a routine that actually fetches the webpage and saves it as a web archive. Yojimbo has implemented a browser and maybe they just get this from Cocoa (?).
In the mean time for OF: there used to be an automator action (search on automator world) that would save a web archive to the downloads folder. Assuming that can step can be attained, I think you'd just need an applescript that builds a <furl> or <hfs > data type with the URI for the web archive, sticks it on the pasteboard, and creates a new action in OF from this data (using AppleScript?). When I have some more time, I'd be glad to implement, but maybe some other intrepid scripter can pull it off more quickly.