--JSTORScripts --Version 1.3.1 2007-04-28 Bug fixes for Locator, Cite Fixer --Version 1.3.0 2007-04-27 First public release --Comments to ahm@reed.edu This script suite contains six scripts for pulling down article information (and PDFs!) from JSTOR to BibDesk WARNING: Use at your own risk. Always make a backup copy of your data before using these scripts. Installation: 1)Place all files in the "Put in ~/Library/Application Support/BibDesk/Scripts" folder in ~/Library/Application Support/BibDesk/Scripts/ There are two sets of scripts: ones made to work through curl (which are quicker and quieter, but only work if no proxy or login is required) and ones made to work with your browser (intended for use by those who are on proxies or at institutions that have some custom prefix for JSTOR) CURL scripts Fix JSTOR URLs.scpt --Fixes old JSTOR URLs to new scheme; this script will ignore any URLs that do not link to links.jstor.org. Article JSTOR Cite Fixer.scpt --To manually fix the cites of the selected publications, run the "JSTOR Cite Fixer" script. All fields that the script pulls from the JSTOR web page (author, year, title, journal, volume, number, month, pages, url, abstract) will be displayed, along with one fake field (local-url: yes) to indicate whether to run the "JSTOR Download PDF" script after fixing the fields. If there are no matches or more than one match, it will display a dialog and do nothing. Only works if you have a direct connection to JSTOR that works with curl. --To download a PDF for the selected publications, run the "JSTOR Download PDF" script. It will download the PDFs to your papers folder, or the folder within which your bibliography resides, or failing that, your desktop, name them .pdf, and link them using the local-url field. Since AutoFile is not accessible via AppleScript, Publication->Consolidate Linked Files should be run after this script. This script will ignore any URLs that do not link to www.jstor.org (i.e., new JSTOR URLs). If you have old JSTOR URLs, please convert them using the "Fix JSTOR URLs" script first. BROWSER scripts Fix JSTOR URLs Safari.scpt --Fixes old JSTOR URLs to new scheme using Safari; useful if your institution requires a proxy or has a "special" JSTOR URL prefix. This script will ignore any URLs that do not link to links.jstor.org. Article JSTOR Locator.scpt --To search JSTOR for the selected publications, run the "JSTOR Article Locator" script, which will open up windows in your default browser. Article JSTOR Download Browser.scpt --To download a PDF for the selected publications through a browser (e.g., if you have some proxy running that you can't access using curl), run the "JSTOR Download PDF Browser" script. This script will ignore any URLs that do not link to www.jstor.org (i.e., the new JSTOR scheme). To convert URLs to the new scheme, use the "Fix JSTOR URL Safari" script. Assumes that your web browser downloads PDFs to a consistent location. --Safari: Safari->Preferences->General->Save downloaded files to:->Desktop (or whatever you set the below value to). You also need to disable any PDF plugins. To disable Safari's native support, type "defaults write com.apple.Safari WebKitOmitPDFSupport -bool NO" into a terminal. To disable Acrobat's PDF plugin, move it from "/Library/Internet Plug-Ins/AdobePDFViewer.plugin" to some other directory. --Firefox:Firefox->Preferences->Main->Downloads->Save files to->Desktop (or whatever you set the below value to)