+cl-pubmed (2.1.2-1) unstable; urgency=low
+
+ * Support proxy server
+
+ -- Kevin M. Rosenberg <kmr@debian.org> Thu, 15 Apr 2004 00:47:01 -0600
+
cl-pubmed (2.1.1-1) unstable; urgency=low
* New upstream
(defparameter +pubmed-host+ "www.ncbi.nlm.nih.gov")
(defparameter +pubmed-query-url+ "/entrez/utils/pmqty.fcgi")
(defparameter +pubmed-fetch-url+ "/entrez/utils/pmfetch.fcgi")
+(defparameter +proxy-host+ nil)
(define-condition pubmed-condition ()
(net.aserve.client:do-http-request
(format nil "http://~a~a" +pubmed-host+ +pubmed-query-url+)
:method :get
- :query query-alist)))
+ :query query-alist
+ :proxy *proxy-host*)))
(defun pubmed-fetch-pmids-xml (pmids)
"Fetch articles for a list of PubMed ID's and return XML string"
:method :get
:query
`(("db" . "PubMed") ("report" . "xml") ("mode" . "text")
- ("id" . ,(list-to-delimited-string pmids #\,))))))
+ ("id" . ,(list-to-delimited-string pmids #\,)))
+ :proxy *proxy-host*)))
;;; XML Extraction Routines