Screenshotting or PDFing of a website is an increasingly important archiving tool, to supplement wget. I've come across a lot of websites that won't render any content if not connected to a live server.
Agreed. I research new media and archive.org is invaluable to me. I worry that current web sites won't be able to be preserved. (much like many of the flash sites and real audio of the past are largely gone.)
Show HN: Pocket Stream Archive – A personal Way-Back Machine
31–40 of 70 posts
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#32Earlier quoted context omitted.
Can one automate extensions through headless chrome ? then you might be able to trigger WarCreate instead (It will be more efficient to run the pocket export urls through WAIL though - this should give you the warcs you want)
Yeah, you can use the remote debugger protocol to make JS calls in the context of the page. https://chromedevtools.github.io/devtools-protocol/ Not sure if it's worth including in my script though, since WARCs aren't easily browseable (correct me if I'm wrong).
I've had good luck with WebArchivePlayer: https://github.com/ikreymer/webarchiveplayer
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#33Earlier quoted context omitted.
Slowing down the inevitable tide of https://en.wikipedia.org/wiki/Link_rot . When I cite blog posts or want to share sites that have gone down, I can swap out the links for my archived versions.
Why is archive.org or one of the other centralized web archives not suitable for that? They don't index the content you want to retain?
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#34Screenshotting or PDFing of a website is an increasingly important archiving tool, to supplement wget. I've come across a lot of websites that won't render any content if not connected to a live server.
A better option is to render a page with JS turned on and save the resulting HTML.
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#35Screenshotting or PDFing of a website is an increasingly important archiving tool, to supplement wget. I've come across a lot of websites that won't render any content if not connected to a live server.
PDFs are really not suitable for archiving websites since they're designed around pages and the web does not have pages. A better option is to render a page with JS turned on and save the resulting HTML.
However, as you point out, PDFs are designed around the printed page, not the flowing arbitrary-page-size documents of the web.
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#36Would be cool to see this for Instapaper or Pinboard
My script should work with very minimal tweaking if you can get a list of urls + titles from those services. Just one line of regex changes probably: https://github.com/pirate/pocket-archive-stream/blob/master/...
May I suggest including in the readme.md, a sample line of the Pocket export format/your input format?
Thanks for publishing!
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#37Earlier quoted context omitted.
My script should work with very minimal tweaking if you can get a list of urls + titles from those services. Just one line of regex changes probably: https://github.com/pirate/pocket-archive-stream/blob/master/...
Just about what I was hoping to see in the comments, was the expected format of the input. May I suggest including in the readme.md, a sample line of the Pocket export format/your input format? Thanks for publishing!
And a comment next to the regex for parsing it: https://github.com/pirate/pocket-archive-stream/blob/master/...
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#38Strings!
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#39Screenshotting or PDFing of a website is an increasingly important archiving tool, to supplement wget. I've come across a lot of websites that won't render any content if not connected to a live server.
PDFs are really not suitable for archiving websites since they're designed around pages and the web does not have pages. A better option is to render a page with JS turned on and save the resulting HTML.
Re: Show HN: Pocket Stream Archive – A personal Way-Back Machine
#40You see something is flawed in Redux at the point you have to pass strings (uppercase constants defined somewhere) around, import them in every file, pass them as identifiers of what you should do with each data. Strings!