Darrick,

Good idea.  It's probably best to use a switch, as in "/user <username>
/all".  Take a look at the 'parseArgs' method used by a lot of the
searches -- amaz.xml, etc.

Glenn

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ma Pa
> Sent: Saturday, January 11, 2003 7:46 PM
> To: [EMAIL PROTECTED]
> Subject: [DQSD-Devel] New searches for eBay
>
>
> Hi All,
>
> I just discovered dqsd.  I love it!
>
> I've added a few options to the ebay.xml search, which I thought someone
> might want to add to the program.  They are:
>
> ebay user <user_name>      <-- search auctions by username
> ebay user <user_name> all  <-- as above, including completed
> ebay my                    <-- open "My eBay" page
>
> If this isn't the place to submit these minor updates, then let
> me know what
> I should be doing.  Otherwise, I'll post my updates here as I make them.
>
> Cheers!
>
> Darrick
>
> This should be inserted into ebay.xml (at line 35):
>
> else if ( res = q.match( /^\s*(my)\s*$/ ) )
> {
>   openSearchWindow(
>     'http://cgi1.ebay.com/aw-cgi/eBayISAPI.dll?MyEbayLogin');
> }
> else if ( res = q.match( /^\s*user\s+(\S+)\s+all\s*$/ ) )
> {
>   openSearchWindow(
>     'http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?' +
>     'MfcISAPICommand=ViewBidItems&userid=' + res[1] +
>     '&completed=1&sort=3&all=1&rows=25');
> }
> else if ( res = q.match( /^\s*user\s+(\S+)\s*$/ ) )
> {
>   openSearchWindow('http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?' +
>     'MfcISAPICommand=ViewBidItems&userid=' + res[1] +
>     '&completed=0&sort=3&all=1&rows=25');
> }
>
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> DQSD-Devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dqsd-devel
>



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to