[DQSD-Users] abebooks.com search - added search by ISBN

2004-05-12 Thread David Golding
Hi all,

Improved search attached. Should've included this the first time around...

Dave.
search function=abe

  nameabe/name
  categoryShopping/category
  contributorDavid Golding/contributor
  linkhttp://dogbert.abebooks.com/abe/IList/link
  emailrot13 [EMAIL PROTECTED]/email
  description

Search for used books at abebooks.combr/

div class=helpboxDescLabelsSwitches:/div
table class=helpboxDescTable
  trtd/author/td  td - /td tdSearch for author's name/td/tr
  trtd/title/td   td - /td tdSearch for book's title/td/tr
  trtd/isbn/tdtd - /td tdSearch by ISBN/td/tr
  trtd/keywords/tdtd - /td tdSearch by keywords (most general search)/td/tr
  trtd/location/tdtd - /td tdRestrict results to a geographical location (three-letter ISO country code, or 2-letter US-state code)/td/tr
  trtd/uk/td  td - /td tdRestrict results to books in the United Kingdom (shortcut for /location gbr)/td/tr
  trtd/tweak/td   td - /td tdDon't go to results - go to the Advanced Search page to tweak the search options/td/tr
/table

div class=helpboxDescLabelsImportant!/div
table class=helpboxDescTable
  trtdUse spaces to separate switches from their their values. Do NOT use a colon. It works like this so you can specify multi-word names and titles. For example:/td/tr
/table
table class=helpboxDescTable
  trtd#160;/td td#160;/td tduse/td tdabe /a adams /t guide galaxy/td/tr
  trtd#160;/td td#160;/td tdNOT/td tdabe /a:adams /t:guide galaxy/td/tr
/table

div class=helpboxDescLabelsNote/div
table class=helpboxDescTable
  trtdThe default (reading copy) search options are as follows (if you want a different search type, use /tweak):/td/tr
trtdSort by lowest price, any location, any binding, any edition, don't care about it being signed, don't care about dustjacket,
  no minimum price, no maximum price, 50 results per page, Boolean searching off/td/tr
/table

div class=helpboxDescLabelsExamples:/div
table class=helpboxDescTable
  trtdabe /author heidegger /title being and time/td/tr
  trtdabe /a adams /t guide galaxy /uk/td/tr   
  trtdabe /k blacksmithing /a andrews /l or/td/tr
  trtdabe /i 0931988292/td/tr
  trtdabe /a levinas /l fra /tw/td/tr
/table

  /description
  
  form name=abef
method=post
action=http://dogbert.abebooks.com/abe/BookSearch;

!-- comment
  Including a comment tag without the HTML comment string will
  make the tag's value text appear in the blank form that is 
  displayed before the website returns content
/comment --

commentSearching abebooks.com.../comment


!-- comment
  Defaults for these fields are set in abe() below to make sure we don't 
  inherit previous search values 
/comment --

input type=hidden name=ph value= /  !-- commentPage handler? 2=go to results, ?other=go to advanced search page with fields filled as per POST data/comment --
input type=hidden name=an value= /  !-- commentAuthor/comment --
input type=hidden name=tn value= /  !-- commentTitle/comment --
input type=hidden name=pn value= /  !-- commentPublisher/comment --
input type=hidden name=kn value= /  !-- commentKeywords/comment --
input type=hidden name=isbn value= /!-- commentISBN/comment --
input type=hidden name=cty value= / !-- commentThree-letter ISO country code, or two-letter US-state code/comment --
input type=hidden name=bi value= /  !-- commentType of binding. =any, H=hardcover, S=softcover)/comment --
input type=hidden name=fe value= /  !-- commentFirst edition/comment --
input type=hidden name=sgnd value= /!-- commentSigned/comment --
input type=hidden name=dj value= /  !-- commentDustjacket/comment --
input type=hidden name=prl value= / !-- commentMinimum price/comment --
input type=hidden name=prh value= / !-- commentMaximum price/comment --
input type=hidden name=ds value= /  !-- commentResults per page. 10, 30 or 50/comment --
input type=hidden name=bx value= /  !-- commentBoolean searching/comment --
input type=hidden name=sortby value= /  !-- commentSort criteria:  0=newest, 1=highest price, 2=lowest price, 4=author z-a, 5=author a-z, 6=title z-a, 7=title a-z  /comment --
  
  /form
  
  script![CDATA[

function abe(q)
{
  if( nullArgs(abe, q) )
return;

  // default search options
  document.abef.ph.value   = 2;  // take me directly to search results
  document.abef.bi.value   = off;// any binding
  document.abef.fe.value   = off;// don't care about first edition
  document.abef.sgnd.value = off;// don't care about signed
  document.abef.dj.value   = off;// don't care about dust-jacked
  document.abef.prl.value  = ;   // no minimum price
   

[DQSD-Users] abebooks.com search

2004-04-16 Thread David Golding
Hi there,

Thanks for making it so easy to extend DQSD - it's a fantastic little app! I
searched around but I couldn't find a search for used books at abebooks.com,
which is a site I use regularly. So I've coded a search myself. The best
feature is that it allows the user to specify location requirements -
functionality I've been wanting for years. Would anyone be interested in
this search?

Kind regards,

Dave.



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id†01


Re: [DQSD-Users] abebooks.com search

2004-04-16 Thread Monty Scroggins
sure!...  send it on..

Monty

- Original Message - 
From: David Golding [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 16, 2004 6:02 AM
Subject: [DQSD-Users] abebooks.com search


 Hi there,

 Thanks for making it so easy to extend DQSD - it's a fantastic little app!
I
 searched around but I couldn't find a search for used books at
abebooks.com,
 which is a site I use regularly. So I've coded a search myself. The best
 feature is that it allows the user to specify location requirements -
 functionality I've been wanting for years. Would anyone be interested in
 this search?

 Kind regards,

 Dave.



 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of
 GenToo technologies. Learn everything from fundamentals to system
 administration.http://ads.osdn.com/?ad_id70alloc_id638opÌk
 ___
 To unsubscribe visit:
 https://lists.sourceforge.net/lists/listinfo/dqsd-users
 [EMAIL PROTECTED]
 http://sourceforge.net/mailarchive/forum.php?forum_id?01




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id†01


RE: [DQSD-Users] abebooks.com search

2004-04-16 Thread David Golding

Nice one - wanted to check this was the appropriate place to post it. Search attached. 
This is the first search I've done myself so there's a few comments to remind me of 
things - they might be surplus to others' requirements. Also, I found that either the 
input fields or the document.[form] variables seemed to remain set between consecutive 
searches, so I included a simple clear-and-default section. If there's a better way, 
please let me know.

Dave.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Monty Scroggins
Sent: 16 April 2004 13:33
To: [EMAIL PROTECTED]
Subject: Re: [DQSD-Users] abebooks.com search


sure!...  send it on..

Monty

- Original Message - 
From: David Golding [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 16, 2004 6:02 AM
Subject: [DQSD-Users] abebooks.com search


 Hi there,

 Thanks for making it so easy to extend DQSD - it's a fantastic little 
 app!
I
 searched around but I couldn't find a search for used books at
abebooks.com,
 which is a site I use regularly. So I've coded a search myself. The 
 best feature is that it allows the user to specify location 
 requirements - functionality I've been wanting for years. Would anyone 
 be interested in this search?

 Kind regards,

 Dave.



 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of 
 GenToo technologies. Learn everything from fundamentals to system 
 administration.http://ads.osdn.com/?ad_id70alloc_id638opk
 ___
 To unsubscribe visit: 
 https://lists.sourceforge.net/lists/listinfo/dqsd-users
 [EMAIL PROTECTED] 
 http://sourceforge.net/mailarchive/forum.php?forum_id?01




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo 
technologies. Learn everything from fundamentals to system 
administration.http://ads.osdn.com/?ad_id70alloc_id638op=ick
___
To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id01
search function=abe

  nameabe/name
  categoryShopping/category
  contributorDavid Golding/contributor
  linkhttp://dogbert.abebooks.com/abe/IList/link
  emailrot13 [EMAIL PROTECTED]/email
  description

Search for used books at abebooks.combr/

div class=helpboxDescLabelsSwitches:/div
table class=helpboxDescTable
  trtd/author/td  td - /td tdSearch for author's name/td/tr
  trtd/title/td   td - /td tdSearch for book's title/td/tr
  trtd/keywords/tdtd - /td tdSearch by keywords (most general search)/td/tr
  trtd/location/tdtd - /td tdRestrict results to a geographical location (three-letter ISO country code, or 2-letter US-state code)/td/tr
  trtd/uk/td  td - /td tdRestrict results to books in the United Kingdom (shortcut for /location gbr)/td/tr
  trtd/tweak/td   td - /td tdDon't go to results - go to the Advanced Search page to tweak the search options/td/tr
/table

div class=helpboxDescLabelsImportant!/div
table class=helpboxDescTable
  trtdUse spaces to separate switches from their their values. Do NOT use a colon. It works like this so you can specify multi-word names and titles. For example:/td/tr
/table
table class=helpboxDescTable
  trtd#160;/td td#160;/td tduse/td tdabe /a adams /t guide galaxy/td/tr
  trtd#160;/td td#160;/td tdNOT/td tdabe /a:adams /t:guide galaxy/td/tr
/table

div class=helpboxDescLabelsNote/div
table class=helpboxDescTable
  trtdThe default (reading copy) search options are as follows (if you want a different search type, use /tweak):/td/tr
trtdSort by lowest price, any location, any binding, any edition, don't care about it being signed, don't care about dustjacket,
  no minimum price, no maximum price, 50 results per page, Boolean searching off/td/tr
/table

div class=helpboxDescLabelsExamples:/div
table class=helpboxDescTable
  trtdabe /author heidegger /title being and time/td/tr
  trtdabe /a adams /t guide galaxy /uk/td/tr   
  trtdabe /k blacksmithing /a andrews /l or/td/tr
  trtdabe /a levinas /l fra /tw/td/tr
/table

  /description
  
  form name=abef
method=post
action=http://dogbert.abebooks.com/abe/BookSearch;

!-- comment
  Including a comment tag without the HTML comment string will
  make the tag's value text appear in the blank form that is 
  displayed before the website returns content
/comment --

commentSearching abebooks.com.../comment


!-- comment
  Defaults for these fields are set in abe() below to make sure we don't

RE: [DQSD-Users] abebooks.com search

2004-04-16 Thread David Golding

much obliged!

dave

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Monty Scroggins
Sent: 16 April 2004 15:51
To: [EMAIL PROTECTED]
Subject: Re: [DQSD-Users] abebooks.com search


I checked the search in.. it should show up on the search table of contents page 
shortly... http://dqsd.net/tools/dqsdtoc/searchtoc.pl

monty


- Original Message - 
From: David Golding [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 16, 2004 8:41 AM
Subject: RE: [DQSD-Users] abebooks.com search



Nice one - wanted to check this was the appropriate place to post it. Search attached. 
This is the first search I've done myself so there's a few comments to remind me of 
things - they might be surplus to others' requirements. Also, I found that either the 
input fields or the document.[form] variables seemed to remain set between consecutive 
searches, so I included a simple clear-and-default section. If there's a better way, 
please let me know.

Dave.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Monty Scroggins
Sent: 16 April 2004 13:33
To: [EMAIL PROTECTED]
Subject: Re: [DQSD-Users] abebooks.com search


sure!...  send it on..

Monty

- Original Message - 
From: David Golding [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 16, 2004 6:02 AM
Subject: [DQSD-Users] abebooks.com search


 Hi there,

 Thanks for making it so easy to extend DQSD - it's a fantastic little 
 app!
I
 searched around but I couldn't find a search for used books at
abebooks.com,
 which is a site I use regularly. So I've coded a search myself. The 
 best feature is that it allows the user to specify location 
 requirements - functionality I've been wanting for years. Would anyone 
 be interested in this search?

 Kind regards,

 Dave.



 ---
 This SF.Net email is sponsored by: IBM Linux Tutorials
 Free Linux tutorial presented by Daniel Robbins, President and CEO of 
 GenToo technologies. Learn everything from fundamentals to system 
 administration.http://ads.osdn.com/?ad_id70alloc_id638opk
 ___
 To unsubscribe visit: 
 https://lists.sourceforge.net/lists/listinfo/dqsd-users
 [EMAIL PROTECTED] 
 http://sourceforge.net/mailarchive/forum.php?forum_id?01




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo 
technologies. Learn everything from fundamentals to system 
administration.http://ads.osdn.com/?ad_id70alloc_id638op=ick
___
To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id01




---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo 
technologies. Learn everything from fundamentals to system 
administration.http://ads.osdn.com/?ad_id70alloc_id638op=ick
___
To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id01



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70alloc_id638op=click
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id01