The Tripal Publication Module provides the functionality for adding, editing, deleting viewing and bulk importing of publications. This module additionally provides a search tool for finding publications that have been added to Chado database.
Set Permissions: The publication module supports the Drupal user permissions interface for controlling access to publication content and functions. These permissions include viewing, creating, editing or administering of publications. The default is that only the original site administrator has these permissions. You can add roles for classifying users, assign users to roles and assign permissions for the publication content to those roles. For a simple setup, allow anonymous users access to view publication content and allow the site administrator all other permissions.
Sync Publications: If you already have publications in your Chado database, or you loaded them through a means other than Tripal, and you want those publications to appear on your site then you will need to "sync" them with Drupal. Use the page to sync all publications.
Configure the Search Behavior: Before allowing site visitors to search for publications visit the to disable or enable fields for searching. Tripal uses its own ontology for storing publication information in Chado, and all child terms of the "Publication Details" are made available for searching. However, some of these may not be desired for searching and can be disabled.
AGL Importer: Initially, the Tripal publication module supports creating publication importers using PubMed and the USDA National Agricultural Library (AGL). The AGL database uses a Z39.50 protocol for querying and therefore Tripal requires the 'YAZ' library to connect. Before you can query AGL you must install the YAZ library and the PHP YAZ library. The following steps can be used on an Ubuntu 12.04 server to intall the necessary pre-requisites:
Automate Importers: Site administrators can
that can be used to query remote databases (e.g. PubMed) and import
publications into this database. After creation of importers you can
automate import of publications into the site by creating a cron job
with a
command. The cron job can be setup to run the importers periodically.
The following is an example entry, added to the 'root' crontab, that
would run importers on a weekly bases (Friday at 9am):
0 9 * * 5 su - [web user] -c 'cd [drupal install path]; drush -l http://[site url] tpubs-import --report=[email]'Where:
[web user] is the name of the user on the system under which the web
server runs
[drupal install path] is the location where drupal is installed
[site url] is the URL path for the site
[email] is the email address of the person who should receive an HTML
report of the publications added. Separate multiple emails with a comma
(no spaces).
The --report=Y option indicates that an HTML style report should be
generated listing the publications that were added. If this options is
not used then no report is generated.
Add/Edit/Delete Publications: Publications can be maually added . Once added, publications can be modified or deleted by clicking the Edit tab at the top of a publication page.
Publication Search Tool: A is provided for finding publications. Unlike most default search tools for Tripal, this tool does not rely on Drupal Views
Bulk Import of Publications: Site administrators can which provides a set of search terms for querying a remote publication database (e.g. PubMed). Publications that matche the search terms can be imported when the publication import cron command is executed. The cron command can be executed using the Drush command: drush tpubs-import. This drush command can be added as a system-wide cron (in the same way the Tripal jobs cron is implemented) to be executed on a periodic basis. This will allow the site to import publications which have been newly added to remote databases and which are relative to the site. Site administrators can and edit, disable or delete the importers.