Right-click Add Live Bookmark

<span style=”voice-family: ‘Doug Whiner’,’Eeyore'”>You aren’t going to need this. I don’t know why I even bothered to make it. It seemed like such a good idea at the time, but now? You aren’t going to need this.</span>

If you are one of the three people in the world testing Firefox‘s support for parsing RSS and Atom feeds as Live Bookmarks, or perhaps one of the unknowable number of people who really, really like Live Bookmarks, you’ve probably noticed that it’s a bit of a pain to add a Live Bookmark when the site doesn’t have the <link> that’s needed for autodiscovery.

LiveBookmarkThis adds a context menu item to “Add Live Bookmark” whenever you right-click a link.

<span style=”voice-family: ‘Doug Whiner’,’Eeyore'”>If there was any way on earth to tell that a link is a feed, other than downloading it, parsing it, massaging it so it will parse, reparsing it, … then it would only appear when you right-click a link to a feed.</span>

Boy, I really hope the horrible antipattern Hot Comments hack that’s supposed to keep this post off the front page of mozilla.org actually works. You know they’ll realize I don’t belong eventually, but I wouldn’t mind having it not happen just yet.

80 Comments

Comment by Complainer #
2005-06-08 13:05:13

Is there a way to make the columns wider on the Live Bookmarks? I have a News folder on my Bookmarks Toolbar with various news sources in there Live Bookmarked, and some of the headlines are so long the bulk of the headline is chopped off. Fark.com for instance.

Comment by Phil Ringnalda #
2005-06-08 21:41:25

Say, that’ll do until something wildly off-topic comes along, won’t it?

Looking at browser.css, it looks like the width of the bookmark menu is set by

menu.bookmark-item,
menuitem.bookmark-item {
  min-width: 0;
  max-width: 26em;

and sure enough, dropping

menu.bookmark-item,
menuitem.bookmark-item {
  max-width: 300em !important;
}

in userChrome.css stretches them out (perhaps more than too much, I didn’t have an infinitely long-titled feed handy to see what happens when the title’s wider than the screen).

Comment by Phil Ringnalda #
2005-06-08 21:47:34

Wups, you wanted the PTF wider, not the Bookmarks menu. Make that

menu.bookmark-item,
menuitem.bookmark-item,  
toolbarbutton.bookmark-item  {
  max-width: 300em !important;
}

then.

 
 
 
Comment by Anonymous #
2005-06-12 11:13:41

How not to get noticed II:
I’m looking at Firefox extensions. I see yours. It’s here.
The description of what it does isn’t very clear, but it has a link to your home page for this extension.
Great — maybe there’s a better explanation of what it does.

It brings me to this blog page.

Buh-bye!

 
Comment by Peter van der Woude #
2005-06-15 03:04:01

my bad Phil,

somehow there was a borked version staged to be installed, and worse, not removed.
So every time i tried to uninstall/reinstall it would reuse the staged xpi again.

 
Comment by Eduardo #
2005-09-11 19:37:17

I’ve translated LiveBookmarkThis to brazilian portuguese (pt-BR). How can I send it to you?

 
Trackback by Talkin' A Loud MT #
2004-11-16 01:24:55

FireFox 1.0正?版

phil ringnalda dot com: Right-click Add Live Bookmark 「??新??ブラウザ?ー??ベータ版?時???り気?????????????正?版?出??記事をよ??読ん??る????LiveBookmarkThis??…

 
Comment by Peter van der Woude #
2005-11-01 02:00:39

Livebookmarkthis generates
Error: livemarkAddMark is not defined
Source file: chrome://browser/content/browser.xul
Line: 1
in JSC and doesn’t work anymore in FF1.5RC1 (Win32)
(Checked on 3 machines)

Comment by Phil Ringnalda #
2005-11-01 08:58:29

:(

I can’t believe I forgot that although Feedview ended up not making it obsolete, by virtue of Feedview not existing anymore, it still changed livemarkAddMark to Feedhandler.addLiveBookmark.

I’ll fix it tonight: have to figure out whether it’s more painful to do a new version that only supports 1.5+, or one that figures out which to call.

 
Comment by Phil Ringnalda #
2005-11-01 20:35:39

And I can’t believe how badly we suck at API stability and branching: practically speaking, ignoring the boilerplate, this extension is four lines of code, all of which were working fine after the 1.8 branch. Now, two of the four lines have been bitrotted by API changes, one in a still-security-sensitive bug so I can’t even see why (though I guess I can see why from the code).

 
Comment by Phil Ringnalda #
2005-11-01 23:16:14

Okay, 0.3 beta: should work in branch and trunk, not in 1.0.x, and for a little bonus besides just being unbroken, will work with those annoying feed:http: and feed:// links that, er, I seem to be using myself now.

It’s mostly a beta rather than an automatic update because I need to make a test build with a separate update.rdf to be sure I get it working right to update 1.5 and 1.6 but not 1.0.x, since last time I tried something similar, I wound up triggering an update bug that I don’t think I remembered to file, and I’m not going to get that done tonight.

And yes, it’s sad that I’m commenting about that so I’ll have something written down to remind me about what I need to do tomorrow night.

 
Comment by Phil Ringnalda #
2005-11-02 21:12:22

Amazing how many comments I get, when I comment four times for every comment by someone else, eh?

Update is live, and seems to work whether you have 0.2 in 1.0.7 and update Firefox, or have 0.2 in 1.5 and update extensions. Now all I have to do is figure out how to persuade addons.extensions.update.m.o. to do what I want.

 
 
Comment by Anonymous #
2005-11-02 23:15:54

It looks like version 0.3 doesn’t work… I’ve right clicked links all over the place, and no option to Live bookmark anything (including your RSS feed link above)

Comment by Phil Ringnalda #
2005-11-02 23:31:44

Well, that’s odd and unfortunate. Do you think you could spare me a tiny bit more information? Since I’m not quite foolish enough to have just thrown it out without testing at all, if this was a Bugzilla bug I’d be resolving you WORKSFORME for lack of steps to reproduce and build information. What build are you using, did you install 0.3 fresh or did you update from 0.2, does the extension manager agree that you are using 0.3 and that it’s installed rather than pending, if you updated does installing over the top, or uninstalling and then installing make it work?

 
 
Comment by Peter van der Woude #
2005-11-04 01:53:02

I didn’t find a feed:// url but the normal ones WFM with LBT0.3
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051103 Firefox/1.5 ID:2005110321

thanks Phil

@Anonymous If you use MenuEditor the link in the contextmenu may be misplaced (to somewhere at the bottom)

 
Comment by Oichi Ru #
2005-12-31 07:51:37

Installed Beta 0.3 in 1.5 and it works fine. Thank you

 
2006-01-06 00:21:51

[…] phil ringnalda » Right-click Add Live Bookmark (tags: firefox rss) […]

 
Comment by maht #
2006-01-14 17:48:55

just when i thought I found what I needed i ran into version trouble

doesn’t work with 1.5

 
Comment by Jonathan #
2006-04-24 07:55:35

An excellent extension. I don’t know why there isn’t something like this by default, instead of it being hidden away in the Bookmarks Manager.

Just one thing though, shouldn’t there be an ellipsis after ”Add Live Bookmark”, seeing as it leads to a dialogue?

 
Comment by Scott #
2006-06-14 01:13:47

You extension writers have got to do something about this. I shouldn’t be getting an incompatible message because your extension is only valid for Firefox versions up to 1.5.03…

1.5.04 is the latest, and of course it won’t install…..

 
Comment by David #
2006-07-01 13:13:07

I’d love to have this, but it won’t install in Firefox 1.5.0.4. Any chance you’re posting a new version?

 
Comment by Andy #
2006-07-10 15:02:43

Is there anyway of converting a normal bookmark (e.g. from my ’Sage Feeds’ folder) to a live bookmark?

If not could you make an extension to do this from the context menu of a bookmark in the bookmark manager?

 
Comment by Grant #
2006-10-11 09:29:02

Some one had to, it may as well be me Could we ppleeeezzzz have it for 2.0. Love your work.

Comment by Phil Ringnalda #
2006-10-11 21:16:44

Hmm. Possibly, but only if you can persuade me that you have a reason to want it in 2.0. Why would you want to have extra clutter on the context menu for every single link, when you can have the same effect by just choosing to skip the preview page and always use livemarks, and then just click the link?

 
 
Comment by Grant #
2006-10-17 09:56:29

Well, you’ve shown me a new way to get introduced to functionality I’d not yet explored . You are probably correct, and I’ll get back to you if I have reason. Thanks for everything!

 
Comment by GizMo #
2006-10-30 22:54:26

Waiting version support for Firefox 2.0. Please Please Please

Comment by Phil Ringnalda #
2006-10-30 23:06:06

Apparently you’ve confused ”persuade me that you have a reason” with ”repeat yourself.” The two are not interchangeable.

 
 
Comment by DavidNYC #
2006-11-22 15:07:59

My only reason is that I just like having that option. I’m not sure I can meet the standard you’ve set up – ie, give you a reason that you yourself would find satisfactory. Obviously, since we are asking that you do something for free to benefit people you likely don’t know, I can’t complain if you set requirements that I can’t meet – hell, it’s generous of you to even entertain the option in the first place. But it is what it is.

Have a good Thanksgiving.

 
Comment by JohnD #
2007-05-31 08:52:07

using the MR Tech local install extension you are able to use the livebookmarkthis extension by over-riding the max version variable. I am able to livebookmark links fine after this, and the addons and firefox engine are stable. The livebookmarkthis extension could be easily re-released with the maxversion variable raised, and then someone would need to simply maintain the extension by re-raising the variable, but it seems to be a lot of bother. The LiveBookMarkThis extension is still great, as many lame websites just don’t link to rss feeds in the proper manner and firefox doesn’t always pick up that you are clicking rss and just ends up displaying XML. Thanks for the extension.

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <del datetime="" cite=""> <dd> <dl> <dt> <em> <i> <ins datetime="" cite=""> <kbd> <li> <ol> <p> <pre> <q cite=""> <samp> <strong> <sub> <sup> <ul> in your comment.