From: "Kim Gr�sman"
> I've just hacked together a piece of code that uses XmlHttp to request
> and install searches on-the-fly.
>
> The only problem I see so far is that search XMLs have to be valid XML
> to be persisted to disk properly. The ones with my name in them failed,
> for example (� needs to be replaced by ä).
>
> The syntax is:
>
> httpinst http://www.winwonk.com/swe/searches/sdg.xml
>
> To install my Swedish sdg search. After downloading and saving the file
> into searches, the command asks whether to reload the toolbar or not.
> I've tested it with some of the searches at Peter Heath's site [1], and
> they seem to be OK as well.

Very nice.

> So, I just thought I'd check with you guys before comitting anything:
>
> - Is it a reasonable requirement that searches are well-formed (easy to
> test using IE's default stylesheet)?

Yes.  I'm pretty sure it has to be well-formed to even work with DQSD, since
DQSD uses MSXML to parse the searches.

> - Is the name OK? I started out with "install", but that felt too
> generic, and likely to collide with searches

Fine by me.  Makes sense.

> - Is there an existing framework for adding intrinsic commands? I just
> added another "if(t.search("httpinst ") == 0)" in def(), but if there's
> a cleaner way, I'd love to use it.

Ahem, that _is_ the framework ;)...  i.e. no framework.

> Cheers,
> Kim
>
> [1] http://www.metrocast.net/~peteh/toolbar.html

Glad to see someone picking this up and running with it.  This (httpinst) is
just begging to be the basis for a UI that allows a user to select new, remote
searches to install.  Something that I had envisioned at one time for the Help
window -- don't quit now! ;)



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to