Homestar Runner Wiki Forum

A companion to the Homestar Runner Wiki
It is currently Thu Apr 09, 2020 5:04 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: hrwiki firefox search plugin
PostPosted: Mon Aug 28, 2006 7:02 am 
Offline
User avatar

Joined: Mon Jul 31, 2006 8:18 pm
Posts: 17
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:
Image (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

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 8:48 am 
Offline
User avatar

Joined: Mon Aug 21, 2006 10:49 pm
Posts: 737
Location: Hot Topic. (I made you say...Jimmy Dean!)
Cool! Thanks for sharing! :-D

_________________
Image


Top
 Profile  
 
 Post subject: thanks
PostPosted: Mon Aug 28, 2006 1:54 pm 
Offline
User avatar

Joined: Mon Jul 31, 2006 8:18 pm
Posts: 17
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

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 2:16 pm 
Offline
User avatar

Joined: Tue Jul 18, 2006 3:06 am
Posts: 2049
Location: Standing on Watterson's front lawn
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)

_________________
ATTN: LOWER BOARD USERS HAVE MOVED TO ANOTHER FORUM. COME JOIN THE FUN!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 3:52 pm 
Offline
User avatar

Joined: Mon Jul 31, 2006 8:18 pm
Posts: 17
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.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group