Thorsten Scherler a écrit :
El lun, 06-03-2006 a las 12:27 +1100, David Crossley escribió:
Thorsten Scherler wrote:
Hi all,
I am working on a new plugin, a search engine broker (output). You can
see it in action on http://www.target-x.de/search.html and
http://www.target-x.de/search-forms.html.
BTW that is my site with a new theme I developed while testing the
dispatcher. :)
Congratulations. Excellent. Can you add it to
http://forrest.apache.org/live-sites.html#dispatcher
done
http://svn.apache.org/viewcvs?rev=383436&view=rev
Here an extract from the contract description
"search-engines-main will output a select box or a page of installed
search engines. This search definitions are based on firefox search
plugins.
If you use firefox on your local system then you can find the installed
plugins in ~/.mozilla/firefox/{profile}/searchplugins.
Warning: firefox searchplugins are not well formed xml You *cannot* use
~/.mozilla/firefox/{profile}/searchplugins/*.src directly since they are
not valid xml-markup!!!"
Now I wonder whether I can redistribute this refactored search plugins?
Is this "search plugin" format an open definition?
What do you mean by open definition?
We could just add the attributes to the Forrest plugin
configuration files and not need to copy the Firefox
content.
Well the definition are *based* on the firefox plugins. I extended them
by a ctegory attribute and before you could use them you have to convert
them.
I think that firefox search plugins are just the search URL breakdown
with the list of parameters, there is not confidentiality in this.
I will be pleased to use your contract in my own site ! (if you share :-) )
(The category attribute is a nice idea...)
I ask because of the comment. Should I keep it?
salu2
-David
E.g.
<?xml version="1.0"?>
<!--# Yahoo Search Plug-in for Mozilla
#
# Created by Robert Fernandes <[EMAIL PROTECTED]>, Matthew A.
McGuigan <webnugget.com>, Rafael Ebron <[EMAIL PROTECTED]>
# Last Edited May 31, 2002
# Last updated August 11, 2004
# converted as forrest search definition by [EMAIL PROTECTED] -->
<search
version = "7.1"
name="Yahoo"
description="Yahoo Search"
searchForm="http://www.yahoo.com/r/so"
method="GET"
action="http://search.yahoo.com/search"
category="common"
<input name="p" type="text" />
<input name="ei" value="UTF-8"/>
</search>
wdyt?
salu2
--
thorsten
"Together we stand, divided we fall!"
Hey you (Pink Floyd)