[DQSD-Users] New search: UK Phone Code Locator

2004-08-13 Thread David Golding
Enter a UK dialing code or full phone number and find out where it is.
Useful when hunting through classified advertisments (etc.)
search function=ukdial
  nameUK Phone Code Locator/name
  categoryReference/category
  contributordg/contributor
  linkhttp://www.ukphoneinfo.com/section/tci/locator.shtml/link
  email/email
  description

Find the geographical location of any UK phone numberbr/

div class=helpboxDescLabelsExamples:/div
table class=helpboxDescTable
  trtdukdial 01423/td/tr
  trtdukdial 01423 507500/td/tr
/table

  /description
  form name=ukdialf
method=get
action=http://www.ukphoneinfo.com/cgi-bin-Phones/nng;
input type=hidden name=Reset value=Clear /
input type=hidden name=GNG value= /
input type=hidden name=Submit value=Submit /
  /form
  script![CDATA[
function ukdial(q)
{
  if( nullArgs(ukdial, q) )
return;

  document.ukdialf.GNG.value = q;

  submitForm(ukdialf);
}
  ]]/script
  copyright
The following applies if this file is included and distributed with Dave's Quick Search Deskbar:
Copyright (c) 2002 David Bau; Distributed under the terms of the GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  /copyright
  created_by
This search file was initially created on 08/13/04 at 12:57:43
by Dave's Quick Search Deskbar Search Wizard version 1.2,
Copyright (c) 2002 Glenn Carr; Distributed under the terms of the GNU General Public License, Version 2
  /created_by
/search

[DQSD-Users] adding mathematical constants

2004-05-19 Thread David Golding
Hi all,

I'd like to add new mathematical constants to DQSD so I can (for example)
involve the golden ratio in a calculation by typing something like:

350*phi

I tried four approaches - resulting in three failures and one near-success:

(1) Appending the following to calculate.js didn't work:

phi = 1.618033988749894;

(2) Forcing the calculation in calculate.js didn't work either
(unsuprisingly):

phi = (Math.sqrt(5)+1)/2;

(3) Appending the following to calcmem.txt didn't work:

phi number  1.618033988749894

(4) But appending a *single* character constant to calcmem.txt works:

p   number  1.61803399

I wonder if I might be missing something obvious. Is it possible to have
(easily) customisable multicharacter constants? 

Thanks in advance,

Dave.







---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601


RE: [DQSD-Users] adding mathematical constants

2004-05-19 Thread David Golding

Aha! I read calculate.js more carefully and found that option (1) from my
previous post works if you just add the constant name (in upper- and
lower-case for convenience) to noconst:

  // chop out variables
  var noconst =
t.replace(/\b(PI|E|LOG2E|LOG10E|LN2|LN10|SQRT2|SQRT1_2|pi|phi|PHI)\b/g,
_);

Apologies for pointless traffic...

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Golding
Sent: 19 May 2004 19:45
To: [EMAIL PROTECTED]
Subject: [DQSD-Users] adding mathematical constants


Hi all,

I'd like to add new mathematical constants to DQSD so I can (for example)
involve the golden ratio in a calculation by typing something like:

350*phi

I tried four approaches - resulting in three failures and one near-success:

(1) Appending the following to calculate.js didn't work:

phi = 1.618033988749894;

(2) Forcing the calculation in calculate.js didn't work either
(unsuprisingly):

phi = (Math.sqrt(5)+1)/2;

(3) Appending the following to calcmem.txt didn't work:

phi number  1.618033988749894

(4) But appending a *single* character constant to calcmem.txt works:

p   number  1.61803399

I wonder if I might be missing something obvious. Is it possible to have
(easily) customisable multicharacter constants? 

Thanks in advance,

Dave.







---
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for
SourceForge Broadband and get the fastest 6.0/768 connection for only
$19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62alloc_ida84op=click
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id†01


[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 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