Open Bug 304654 Opened 19 years ago Updated 2 years ago

Save URL/location of saved document in file saved-urls.txt in same directory

Categories

(Firefox :: File Handling, enhancement)

x86
Linux
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: debiandude, Unassigned)

Details

(Keywords: uiwanted)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5

When saving a document (html-page, pdf...) via "Save Page As" or "Save Link As"
the browser should (optionally - can be enabled in prefs) save the URL/location
in a file in the same directory as the saved document.

i.e. when http://www.mozilla.org is saved to /home/user/mozilla/, the browser
creates the file "saved-urls.txt" with the content:
15-AUG-2005 00:50:23: http://www.mozilla.org saved as index.html

If another document is saved into the directory /home/user/mozilla/, another
entry is appended:
15-AUG-2005 00:50:23: http://www.mozilla.org saved as index.html
15-AUG-2005 00:58:33: http://www.mozilla.org/some.pdf saved as mozilla.pdf

If an URL is saved via "Save Link As", the "parent URL" is saved aswell:
i.e.
15-AUG-2005 00:58:33: http://www.mozilla.org/some.pdf saved via
http://www.mozilla.org/ saved as mozilla.pdf

This would be extremely handy i.e. for the following scenarios:
* posting the URL of a locally saved document on a maillist/forum
* lookup further information on the site of the saved document later
* lookup vanished sites at archive.org
* documentation when the document has been saved
* ability to lookup the original filename
etc...


Reproducible: Always
I do not understand all that is written but I am looking for precisely the
feature that will save, alongwith the saved page, the URL so that one can visit
the site again at a later date for reference.


The OS used is Windows.


br945@hotmail.com
Firefox extension "SaveURI" by Sri Charan maybe of interest if you are looking at this enhancement - it saves the URI appended to bottom of page. I would still think the idea of a separate text file in the selected saved folder is a better idea. 

You got my vote :-)
Attached patch A possible patchSplinter Review
please take a look at this
Attachment #422248 - Flags: review?(benjamin)
The previous patch doesn't do the part of finding the parent page, but it saves the file with the required format

If somebody knows how to find the parent page, please reply to this
Comment on attachment 422248 [details] [diff] [review]
A possible patch

I don't think this feature is worth the code necessary to add it, but I'll punt to somebody else.
Attachment #422248 - Flags: review?(benjamin) → review?(sdwilsh)
I kinda agree with comment 5, but lets see what the UX team has to say.
Keywords: uiwanted
Comment on attachment 422248 [details] [diff] [review]
A possible patch

Also clearing the request until someone from UX chimes in.
Attachment #422248 - Flags: review?(sdwilsh)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: