Summary: | web archiver: please include original URL in .war archives (PATCH) | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Ben Burton <benb> |
Component: | webarchiverplugin | Assignee: | Malte Starostik <malte> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | listinfo |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | implement the feature and fix a bug |
Description
Ben Burton
2001-11-20 07:33:36 UTC
Further discussion on this topic between myself and the original bug submitter: > Hmm, so on further thought I'm going to close this bug. A web archive > includes all images on a web page, so as I understand it, adding a base tag > would break the image URLs when viewing the web archive offline. It should > be more important to keep the archive working with itself than have it work > with external web sources. My idea was to have some means of absolute information about the original website URL included in the (.war) archive. This is valuable information for future reference, as most web pages do not have any absolute URL coded into them. There are two other solutions to this problem: 1) As it it done in M$ IE: include an additional line after the <!DOCTYPE ...> declaration i.e. line with a comment about the original source address.: <!-- saved from url=(0049)http://osnews.com/story.php?news_id=2016&page=all --> 2) Include a <LINK rel="START" title="Comment by Konqueror: The original WWW address of this page while downloaded" type="text/html" href="www.source.com/somewhwere/somepage.html"> reference that was not present in the original page. That would suit the purpose of an reference for future needs. But we modify the original page which might not be acceptable. I suppose that including original URL in .war archive can be useful for another reason. Sometimes I can't find the origin URL of some of my .war files. Including original URL as standalone file (supposedly in .kdelink format) in .war give possibility quickly returns to those URL. *** Bug 46818 has been marked as a duplicate of this bug. *** undo confirm I second the LINK rel start idea. When konq gets a navigation bar like mozilla (next, back, forward, up, and the like), it'll be extremely useful. For now, it can be used directly from the war archive, or perhaps displayed in the URL bar or in a floating CSS box on top or on bottom of the page. I'm attaching a simple patch which adds the URL. It also removes the doctype -- it doesn't make sense, as the page isn't guaranteed to comply with that doctype. Created attachment 4845 [details]
implement the feature and fix a bug
implementein HEAD (<!-- saved from: ... -->), will backport to 3.2 if it's okay. |