| d2r diego's weblog |
feedster search plugin for Mozilla FirebirdIf you use Moz Firebird you'd probably agree that one of the coolest small features it has is the search box that is at the top-right. Built-in, that search box supports Google and a mozilla search engine of some sort that I've never used. Its workings are a bit opaque, but once you've got a handle on it it's not bad. That box is in fact an easily extensible mechanism. Since I find myself depending on weblogs to find stuff that I want (and google is returning weblog results all over the place anyway) I spent a bit of time this morning creating a plugin for feedster search. So here it goes! Steps to install:
PS: This is actually a format that Mozilla (the original) uses for search plugins--it might work on Mozilla too. Haven't tried it though. If anyone does try it, let me know the results. Categories: soft.devPosted by diego on October 9 2003 at 12:02 PM Comments (please see the comments & trackback policy).
I usually use search shortcuts from my bookmarks. They worked in IE 6 as well, and I'm really used to them (although installing them was a bit harder). It's basically using a prefix in your address bar to look up a page with the string after the prefix in the URL string in the place where you want it to go. I can now do "g d2r" to search Google, "php fopen" to look a function up in the PHP manual, "mysql DATE" too look up relevant entries in the MySQL manual, and I could easily add something for Feedster like "f d2r". How to do this in Firebird (and probably Mozilla as well): get to the properties of a bookmark you want to use (mine are all in a special folder), give the bookmark some title, fill out the "keyword" field with the desired prefix, then use the %s variable in the URL string to get the search terms there. It's addictive. Posted by: Manuzhai at October 9, 2003 12:24 PMI tried it on Mozilla and it worked for the most part. However in the sidebar (which provides a quick listing of url links to the search results) there were invisible url's listed (you could click on them but you couldnt see them). The sidebar seems to need the html with the 'a href' tag and what not of a url and not just the text http://blablabl. Moz was getting confused as to which url to use (as feedster has a few per result) and was displaying the http://blalbabla in white so you couldn't see it. I narrowed down the place the sidebar looks by changing the following lines of your feedster.src file and it seemed to clear things right up. I haven't tested it on Firebird however to see if there are any unintended side effects there. resultListEnd="[tbody]" Note: Replace the angle brackets with greater than/less than symbols. I had to use [] for the text inside them to show up in this post. Posted by: mal at October 9, 2003 2:43 PMGreat plugin. Are you gonna send it in to Mycroft? Would be great to get it listed there so even more users can get it. Posted by: Jarno at November 4, 2003 7:35 AMJarno, nothing prevents *you* from posting it ;-) Ok, taking... Posted by: ricky @ mycroft at November 4, 2003 1:52 PMFor everybody's convenience, I've just added this plugin, including mal's change to the mycroft website: http://mycroft.mozdev.org/ Posted by: ricky @ mycroft at November 4, 2003 2:24 PMThanks Ricky! I was just looking at how to submit it... glad it's done. :-) Posted by: Diego at November 4, 2003 2:42 PMCopyright © Diego Doval 2002-2007.
|
