A short post: I was asked to write a web server to allow people access their PDFs when they are away from the laboratory. People enter a Doi, a PMID or the URL of the page and the system tries to retrieve the PDF using a set of pre-defined patterns (e.g. the PDF of http://www.pnas.org/content/X/Y/Z is http://www.pnas.org/content/X/Y/Z.full.pdf ). This idea was suggested by Chris Miller on FriendFeed. I've also included a Bookmarklet identifying the current page or the text selected and invoking the web server. The server looks like this:
Of course, I cannot give the URL of my server, but the source code is available here:
That's it
Pierre
Password required
This bookmarklet will bring up a new window containing the 'fetchpdf' form from any page on the Web:GetPDF
Examples
- doi:10.1073/pnas.0904867106 (PNAS open access)
- doi:10.1073/pnas.0904756106 (PNAS restricted access)
- http://www.nature.com/nature/journal/v461/n7267/full/nature08515.html (Nature, restricted access)
- http://bioinformatics.oxfordjournals.org/cgi/content/full/25/21/2735 (Bioinformatics , open access)
- http://bioinformatics.oxfordjournals.org/cgi/content/full/25/21/2744 (Bioinformatics, restricted access)
- 19805134 (PMID)
- http://www.ncbi.nlm.nih.gov/pubmed/19805134
This bookmarklet will bring up a new window containing the 'fetchpdf' form from any page on the Web:GetPDF
Of course, I cannot give the URL of my server, but the source code is available here:
That's it
Pierre
No comments:
Post a Comment