Tutorial: Building a Text Collection with Zotero

Why are we doing this?

Over the course of the semester you'll be building a corpus (or perhaps multiple corpora) for in-class exercises, and perhaps for your own projects. Having tools and a strategy for managing those corpora is an essential first step. In this course, we'll be using a tool called "Zotero" to manage our text collections.

Zotero is a bibliographic management tool, similar in many respects to EndNote and RefWorks. It is completely open source, and is thus preferred by most users in the digital humanities community. If you've used Mendeley, you'll notice many similarities -- Mendeley was actually a commercial spin-off, now owned by Elsevier.

There are three big perks to using Zotero to manage corpora:

  1. You can sync your materials with a remote server. This allows you to access them from multiple locations, including through a web interface, and means that you have a remote backup. You can create a free account that provides 300 MB of storage space, which is plenty for the purpose of this course. If you want more space, for larger projects, you can purchase a monthly subscription at fairly low cost (e.g. 2GB for $1.67/month).
  2. Zotero is good at automatically generating metadata and scraping content from the internet. When searching scholarly databases, you can often import big batches of bibliographic entries and, in some cases, the full-text files associated with them in just a few clicks.
  3. Zotero makes it easy to associate content with bibliographic entries. This last point is really important, because it means that Zotero can be used to manage much more than just traditional bibliographic data. You could, for example, use Zotero to manage digitized materials from an archive. Or any number of other things.

Before you start

  1. Download & install the [Firefox web browser](http://www.mozilla.org/en-US/firefox/new/).
  2. Download & install Zotero & Paper Machines
    • Go to https://www.zotero.org/download/
    • Download Zotero Standalone, install it, and launch the application; then
    • close it. That first launch will initialize your database and profile on your computer.
    • Using Firefox, go back to the download site; install the Firefox browser extension.
    • Restart Firefox.
  3. Check out the Zotero Quick Start Guide: http://www.zotero.org/support/quick_start_guide
  4. Register for a new account on http://www.zotero.org

Connecting to your Zotero account

  1. Open Zotero by clicking on the "Zotero" logo in the bottom right.
  2. Click the gear icon, and go to "Preferences"
  3. Click "Sync"
  4. Enter your username and password, and make sure that all boxes are checked.
  5. Close the preferences window.

Now, Zotero should automatically sync your library with a remote server as you add material. To manually sync, you can click the green circular arrow at right.

Organizing your library

You can sort your library into "collections" and "sub collections"

  1. Right-click on "My Library" in the browser at left.
  2. Click "New Collection"
  3. Name your collection, and click "OK"
  4. Click on one of your items, and drag it into the collection.

Note

Items can belong to many collections, or none. Removing an item from a collection does not delete it from your library.

Adding Data

There are a few different ways to add data to your Zotero library.

  • You can import bibliographic records from other reference managers,
  • You can add records manually, and
  • You can add records automatically through your web browser.

If you're interested in using the import feature, we can talk about that later. For now, we'll start by adding records manually.

 

  1. Download a PDF of a journal article from your favorite bibliographic database
    (e.g. PubMed, Google Scholar).
  2. Click the green and white "plus" icon.
  3. Click "Journal Article"
  4. Fill in the appropriate metadata fields for your journal article.
  5. Link the PDF to the bibliographic entry by dragging and dropping.
    1. Can also click on the "paperclip" icon, and select Attach Stored Copy of File.
    2. By default, Zotero will make a copy of the file, and store it in its own library. So if you delete the original, it won't affect the copy in your
      library. UNLESS you link the file, rather than saving a stored copy.

 

Import Items from the Web

Now let's try the web importer.

 

  1. Navigate to PubMed Central: http://www.ncbi.nlm.nih.gov/pmc/
  2. Search for something, e.g. "model organism"
  3. Click on the first result
    1. Notice the icon in the address bar that looks like a sheet of paper. This means that Zotero thinks that it can extract bibliographic data from this page.
  4. Click the sheet-of-paper icon
    1. Notice the dialog in the bottom right, as Zotero imports the record.
    2. You should now see an entry in your Library!
  5. Click the arrow next to the new entry to see the resources that Zotero has
    associated with that entry.
    1. Note the link to the PubMed website; double-clicking that will take you to the original page on PMC.
    2. Note also that it found a PDF!
  6. Double-click the PDF: it should open in your browser.
    1. You can also right-click, and select "Open in External Viewer"

 

Importing Multiple Entries

The Zotero web importer can import multiple entries at the same time.

 

  1. Go back to your search results on PMC.
    1. Note the icon in the shape of a folder in the address bar.
  2. Click on that folder icon.
  3. Select the search results to import, then click "OK"
    1. Note dialog in the lower right
  4. You should see those new entires in your library.

 

Biodiversity Heritage Library

 

  1. Go to http://www.biodiversitylibrary.org/
  2. Search: "origin of species"
  3. Click first result: "On the origin of species"
    1. Note Zotero recognizes bibliographic entry; go ahead and import
    2. Note that metadata fields are populated; do you see any problems?
  4. Click "View book" on the right side of the page.
    1. You can navigate page images by scrolling, or using the menu in the upper right.
  5. Click page 23 in the menu at right.
  6. Click "Show OCR" tab. This shows plain text that has been automatically
    extracted from the page.
    1. We want to attach the full OCR text to our bibliography entry...
  7. Click: Download Contents > Download Book > Download OCR
  8. Go to (in the menu at the top of your browser window): File > Save Page As --
    pick an easy-to-find spot
  9. In Zotero, click on the entry for this document.
  10. Click the Paperclip Icon > Attach stored copy of file.
  11. Select the plain text file that you saved.

Digital HPS Repository

 

  1. Go to http://hpsrepository.asu.edu/
  2. Click on the links: History of Evolutionary Ecology > Evolutionary Ecology Oral Histories
  3. Click on the item: [Oral history interview with Stanton A. Cook about his
    ecological research in California and Oregon. Part 1 of 3.](http://hpsrepository.asu.edu/handle/10776/6096)
  4. Here we'll use the "import web page" function in Zotero: click the blue page
    icon in your address bar.
    1. Note that most metadata fields have been filled (including URL)
    2. You can select a different item type (e.g. audio recording), but you may lose some fields.
  5. Now we want to add the transcript of this interview to the item in Zotero.
    1. Right click on the "View/Open" link for the transcript bitstream, and "Save link as"
    2. In Zotero, click on the paperclip icon, and select the transcript file.
  6. For the audio file, may not want to add to library (too big) -- this would be a good candidate for linking to, rather than storing, a resource.
    1. Right click on the "View/Open" link for the audio bitstream, "Copy link location"
    2. Click the paperclip icon > Attach link to URI.
    3. Paste in the URL for the audio bitstream.