Bibliography Module

by Gisle Hannemyr

This project allows users manage and display lists of publications (e.g. bibliographies). It also can import and export such lists in a number of formats, including BibTex and EndNote. It integrates nicely with the taxonomy capabilities of Drupal.

Table of contents

Drupal projects discussed in this chapter: Bibliography Module.

noteThis chapter is incomplete and was last updated in 2012. You probably need to look elsewere to learn about Biblio.

Introduction

The Bibliography Module (aka. Drupal Scholar) allows users to create and maintain repository of annotated bibliographic entries, and display or export individual entries or bibliographic lists from this repository. A wide range of media, such as books, web pages, etc. can be entered into the repository,

Each node as an abstract text field that may be used for annotations (or the full HTML text of the source if desired). n entry may also be link to an external document or web page by means of an URL, and full text documents in the form of Adobe PDF or Microsoft Word files may be attached to the bibliographic entry and uploaded (provided the upload module is enabled.

Bibliographic entries can be imported from and exported to EndNote (versions 7,8,9,10 in XML or tagged format) and BibTex. There is also a provision to look up entries in Google Scholar. The bibliographic lists can be formated in a number of styles including: American Psychological Association (APA), Council of Science Editors (CSE) and Institute of Electrical and Electronics Engineers (IEEE).

Installing and enabling the required modules

Biblio is not part of the Drupal core, so you will need to install it before you can use it.

Download the latest version of the Biblio project from the Drupal site and install it in the modules folder.

To turn on the required functions in Biblio, navigate to Administer » Site building » Modules. The Biblio package adds its own panel to the Modules page. We shall only need the first module, which is also named Biblio.

Scroll down to the bottom of the page and click Save configuration.

Initial set-up

Out of the box, the Biblio module is quite overwhelming with a huge number of Fields and Publication Types. The defaults may also not be set to the values you want, so be prepared to spend some time setting up the workflow, fields and displays the way you want them to appear.

[mumble.]

The Weight value changes the order which the fields are rendered in the input form (smaller values floating to the top of the form). The standard Drupal Text field (used by Biblio for embedding full text in a Biblio node) have a Weight equal to zero. Use negative values (e.g. starting at -65) for all the Biblio fields if you want them above the Text field.

The path to the default Biblio page display is biblio. You may want to use this path some suitable place in the navigation of your site.

Importing bibliographies

[mumble.]

Exporting bibliographies

Exporting bibliography entries is disabled by default. To toggle this on or off, you navigate to Administer » Biblio settings and open the Links section. This let you indicate what formats to export. The following export formats are currently supported:

To control the ability to export bibliography entries by role, navigate to Administer » User management » Permissions and toggle show export links for the role.

noteWhen enabled, there are export links for all enabled formats at the top of any bibliography result set page, as well as exports links for each separate entry. Unfortunately, these links make the display look quite cluttered, so don't enable exports unless your user community really needs this feature.

Biblio publication types

Biblio recognises the following publication types, which internally is stored as an integer in the biblio_type field. Here's the list of the types that is predefined:

Biblio fields

There is a lot of fields in the Biblio module. Access to these fields are through a set if tabs along the left edge of the input form.

When you navigate to Configuration » Biblio settings » Fields, there is a pull-down menu that allow you to fine-tune the settings for all the different publication types supported by Biblio. The first publication type is named Common and allows you to make settings common to all the other publication types. Selecting the Common publication type and checking the Common box will add the field to all the different publication types.

For the Common pseudo-type, as well as all the actual publication types here is a brief guide yo the settings:

Here is the full list of fields, and the tabs they appear under:

I think the current default Biblio settings does not make sense. So after I've enabled the Biblio module, I go through all the settings and change them. Here's a checklist of changes to consider:

  1. Untick all Common→Identifiers→Common.
  2. Review the Publication→Identifiers→Visible setting for all publication types, and make sure they make sense for your use of the module.
  3. Untick Common→Publication→Required for biblio_year.
  4. Review for all publication types Publication→Required the tickmark for biblio_year and untick it for the publication types where it may be irrelvant (such as Unpublished).
  5. Untick Web article→Publicaton→Visible for biblio_volume.
  6. Untick Web article→Publicaton→Visible for biblio_number.
  7. Untick Web article→Publicaton→Visible for biblio_pages.
  8. Tick Web article→Publicaton→Visible for biblio_lang.
  9. Tick Web article→Other→Visible forbiblio_access_date.
  10. Untick Web article→Other→Visible forbiblio_refereed.
  11. Web article→Other: tick biblio_.
  12. : .
  13. : .
  14. : .
  15. : .
  16. : .
  17. : .
  18. : .

Your list may be different. (For instance, if you're running a library website, you may want to keep the library specific idententifiers visible for the publication types in the library's collection.) But I think the settings for Biblio module need to changed. The defaults are, at least in my environment, very confusing to users.

The missing manual

Biblio insists that you enter a year of publication.

The latest stable version biblio (7.x-1.0-rc4) no longer let me leave the year of publication empty. If I do, I get the following error message: "The Year of Publication field (on the Publication tab) is required." However, biblio is very picky about what you can enter as year of publication. The help text says: "Enter YYYY, Submitted or In Press."

Using this module is far from strightforward, and its quirks are not well documented. Here are my findings.

Quirks (still present in 7.x-1.0-rc4):

Publication language tags

Styles

Biblio comes packaged with a few built-in styles for listing references. The current release includes the following:

The styles are implemented as include-files in the styles sub-directory. Adding an additional include file with the correct format and callbacks will add an additional style.

If you add an additional style, note that allowed tags are limited by the following function in biblio.module:

function biblio_get_allowed_tags() {
  return array('a', 'b', 'i', 'u', 'sub', 'sup', 'span');
}

I've created a style (biblio_style_links.inc) that I think is better for online resources than the any of the current styles. I'll make it available for download when I publish this chapter.

Final remarks


Last update: 2012-03-08 [gh].