| Homestar Runner Wiki Forum http://forum.hrwiki.org/ |
|
| hrwiki firefox search plugin http://forum.hrwiki.org/viewtopic.php?f=1&t=9652 |
Page 1 of 1 |
| Author: | docweasel [ Mon Aug 28, 2006 7:02 am ] |
| Post subject: | hrwiki firefox search plugin |
I don't know if anyone has done this yet. I'll try to explain it as clearly as possible for those of you who are not super computer-savvy. This is a search plugin, like the Google search, for your Firefox client, that will search the HRWiki right from your browser, like the Wikipedia or Google plugins they offer. There is a pulldown menu where you can add other search engines. If you add this hrwiki.src (the code for the search engine) and this hrwiki.png image (the little icon for the search engine) you can search hrwiki right from the search plugin. Here are examples if you don't know what I mean: https://addons.mozilla.org/search-engines.php First, download these 2 files and save them where you can find them easily: The code file: hrwiki.src (right-click and save as) The search icon: (right-click and save as)
Once you have downloaded them, you need to put them in your searchplugins folder which should be located something like this: C:\Documents and Settings\(your username)\Application Data\Mozilla\Firefox\Profiles\(some letters and numbers).default\searchplugins Put the 2 files, hrwiki.src and hrwiki.png in that folder, restart Firefox and voila, you should be ready to search hrwiki right from your browser. Use the pull-down menu and its listed alphabetically with your other search plugins. I'll moniter this thread if anyone has a question, or you can PM or email me if you need assistance. You can also take the source code, copy/paste it to Notepad, then save as ALL FILES (not as a .txt file so it will preserve the .src extension) as hrwiki.src in the same directory. Here is the source code: Code: # Mozilla search plugin for hr wiki http://hrwiki.org
# by docweasel <doc@docweasel.com>. # This file is released into the public domain. # # Version: 1.0.0 (2006-08-27) # Country: USA # Language: en <search version="7.1" name="hrwiki" description="Homestarrunner Wiki" sourceTextEncoding="0" method="GET" action="http://hrwiki.org/index.php/Special:Search" queryCharset="UTF-8" searchForm="http://hrwiki.org/index.php/Special:Search" > <input name="search" user> <input name="fulltext" value="fulltext"> <input name="sourceid" value="mozilla-search"> <interpret browserResultType="result" charset="UTF-8" language="en" resultListStart="<div id='results'></div>" resultListEnd="<hr/>" resultItemStart="<li style='padding-bottom: 1em'>" resultItemEnd="</li>" > </search> <browser alsomatch="http://hrwiki.org/index.php?title=Special:Search" > If someone has already done this, I apologize, I searched for Firefox and Search Engine and found no results. -dw |
|
| Author: | MC Otaku [ Mon Aug 28, 2006 8:48 am ] |
| Post subject: | |
Cool! Thanks for sharing!
|
|
| Author: | docweasel [ Mon Aug 28, 2006 1:54 pm ] |
| Post subject: | thanks |
no problem, it only took me about 15 minutes to program the plugin and grab the image. The post took longer to make than it took to program the fix |
|
| Author: | Inverse Tiger [ Mon Aug 28, 2006 2:16 pm ] |
| Post subject: | |
all I had to do was go to that page, click "browse for more plugins" at the bottom, enter "hrwiki" in the search field, then click the link that comes up and it was automatically added, no saving or programming needed in fact, here's a link to that page.. so click this link, then click the thing that says "Homestar Runner Wiki" and it'll be in your Firefox Search box! (only for Firefox with JavaScript enabled) |
|
| Author: | docweasel [ Mon Aug 28, 2006 3:52 pm ] |
| Post subject: | |
I found that too (after the fact) but the link is dead. Anyway, mine is my original work, I didn't swipe his code. As I said, if it exists elsewhere my apologies. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|