[TAG] Mozilla search plugin for LG
Jimmy O'Regan
jimregan at o2.ie
Mon Nov 21 23:10:40 MSK 2005
Install with:
javascript:window.sidebar.addSearchEngine("http://m-net.arbornet.org/~jimregan/lg.src",
"http://m-net.arbornet.org/~jimregan/lg.png", 'Linux Gazette', 'Webzine');
(Be warned that it may not work, and may even royally screw up your browser)
===== SNIP HERE lg.src =====
# Adapted from the Google plugin
# http://mycroft.mozdev.org/plugins/google.src
<search
version = "7.1"
name="Linux Gazette"
description="Search LG"
method="GET"
action="http://www.google.com/search"
searchform="http://linuxgazette.net/search.html"
queryEncoding="UTF-8"
queryCharset="UTF-8"
>
<input name="le" value="en">
<input name="ie" value="UTF-8">
<input name="oe" value="utf-8">
<input name="q" user>
<input name="btnG" value="Google+Search">
<input name="num" value="20">
<input name="domains" value="linuxgazette.net">
<input name="sitesearch" value="linuxgazette.net">
<input name="sourceid" value="Mozilla-search">
# Finds results
<interpret
browserResultType="result"
resultListStart="<!--a-->"
resultListEnd="<!--z-->"
resultItemStart="<!--m-->"
resultItemEnd="<!--n-->"
>
# Finds Previous link
<interpret
browserResultType="result"
resultListStart="<td valign=bottom nowrap>"
resultListEnd="d>"
resultItemStart="<td align=right>"
resultItemEnd="<t"
>
# Finds Next link
<interpret
browserResultType="result"
resultListStart="</a><td"
resultListEnd="</div><center>"
resultItemStart="nowrap>"
resultItemEnd="</table>"
>
</search>
# Temporary locations
<BROWSER
update="http://m-net.arbornet.org/~jimregan/lg.src"
updateIcon="http://m-net.arbornet.org/~jimregan/lg.png"
updateCheckDays="30"
>
===== SNIP HERE =====
More information about the TAG
mailing list