Closed
Bug 277490
Opened 20 years ago
Closed 20 years ago
Retrieve site description from meta tag when adding bookmark
Categories
(Firefox :: Bookmarks & History, enhancement)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox1.5
People
(Reporter: Gavin, Assigned: Gavin)
References
Details
Attachments
(2 files, 3 obsolete files)
|
19.64 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
|
1.64 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
When adding a bookmark, we should see if the site has <meta name="description"> headers and retrieve the data from it to put into the bookmark. Patch coming up.
| Assignee | ||
Comment 1•20 years ago
|
||
I'll wait for more testing/verification before asking for review. This also changes the addBookmark2 interface to take an object instead of a list of arguments, to avoid having to remember the order etc, as mentioned at: http://lxr.mozilla.org/mozilla/source/browser/components/bookmarks/content/addBookmark2.js#56
| Assignee | ||
Comment 2•20 years ago
|
||
Missed a few things in the initial patch.
Attachment #170640 -
Attachment is obsolete: true
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•20 years ago
|
||
More changes. These are things that I should be testing *before* posting patches.
| Assignee | ||
Updated•20 years ago
|
Attachment #170710 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•20 years ago
|
||
Add in a check for the http-equiv="description" tag.
Attachment #170716 -
Attachment is obsolete: true
| Assignee | ||
Updated•20 years ago
|
Attachment #170777 -
Flags: review?(mconnor)
Comment 5•20 years ago
|
||
Comment on attachment 170777 [details] [diff] [review] Patch v4 (Checked in) I honestly won't have time to do this for a while, vlad would be a better reviewer for bookmarks code anyway.
| Assignee | ||
Updated•20 years ago
|
Attachment #170777 -
Flags: review?(mconnor) → review?(vladimir)
Comment on attachment 170777 [details] [diff] [review] Patch v4 (Checked in) r=vladimir@pobox.com, looks good, thanks for doing the change to the add bookmark window arguments as well.
Attachment #170777 -
Flags: review?(vladimir) → review+
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [patch-r+] [checkin needed]
| Assignee | ||
Updated•20 years ago
|
Target Milestone: --- → Firefox1.1
Comment on attachment 170777 [details] [diff] [review] Patch v4 (Checked in) Checking in base/content/browser.js; /cvsroot/mozilla/browser/base/content/browser.js,v <-- browser.js new revision: 1.381; previous revision: 1.380 done Checking in components/bookmarks/content/addBookmark2.js; /cvsroot/mozilla/browser/components/bookmarks/content/addBookmark2.js,v <-- addBookmark2.js new revision: 1.33; previous revision: 1.32 done Checking in components/bookmarks/content/addBookmark2.xul; /cvsroot/mozilla/browser/components/bookmarks/content/addBookmark2.xul,v <-- addBookmark2.xul new revision: 1.18; previous revision: 1.17 done Checking in components/bookmarks/content/bookmarks.js; /cvsroot/mozilla/browser/components/bookmarks/content/bookmarks.js,v <-- bookmarks.js new revision: 1.92; previous revision: 1.91 done
Attachment #170777 -
Attachment description: Patch v4 → Patch v4 (Checked in)
| Assignee | ||
Updated•20 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: [patch-r+] [checkin needed]
Comment 8•20 years ago
|
||
does it also address live-bookmarks?
Comment 9•20 years ago
|
||
(In reply to comment #8) > does it also address live-bookmarks? No, but see Bug 256794 for the live bookmark component.
| Assignee | ||
Comment 10•20 years ago
|
||
The patch that was checked in does have an effect on livemarks, but it isn't exactly optimal. The "Name" for new live bookmarks is currently taken from the page where it is embedded, and this patch extends that to the description as well. I'm sure there are cases where the page's description and the feed's description are not related at all. As mentioned, bug 256794 is about improving that behavior.
| Assignee | ||
Comment 11•20 years ago
|
||
Attachment #174738 -
Flags: review?(mconnor)
Attachment #174738 -
Flags: review?(mconnor) → review+
Comment 12•20 years ago
|
||
Checking in browser/components/sidebar/src/nsSidebar.js; /cvsroot/mozilla/browser/components/sidebar/src/nsSidebar.js,v <-- nsSidebar.js new revision: 1.9; previous revision: 1.8 done
| Assignee | ||
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
Comment 13•18 years ago
|
||
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•