News for hackers. Stuff that matters.
Re:Creating a Safari webarchive from the command line by cxr on Tuesday June 04, 2024 @06:35PM (#40579662)
> What they really need is browser support, or at least an extension so a browser can open the files directly

That's probably the wrong thing. What browsers really need is a thin but standardized API that lets any third-party app that the user has installed on their machine to supply the content for various fetch/reads.

You'd open the WARC in Firefox or Safari or whatever, but Safari et al wouldn't have any special understanding of the format. It would know that your app does WARCs, though, and then knock on the door and say, "Please tell me the content I should be showing here; I'll defer to you for any further "requests" associated with the file/page loaded in this tab—just tell me the content I should use for those, too."

Re:Creating a Safari webarchive from the command line by tivert on Wednesday June 05, 2024 @10:23AM (#40585148)
That's too complicated, though.

One of the main use cases for an archived web page would be to share archives, and in that case I think you'd want them to be double-clickable with little fuss.

Re:Creating a Safari webarchive from the command line by cxr on Saturday June 15, 2024 @08:17PM (#40693667)
So ship an implementation with the browser.