PubMan Wordpress Plugin

From MPDLMediaWiki
Revision as of 13:40, 12 November 2008 by Andi (talk | contribs) (wordpress plugin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Wordpress Plugin for fetching content from eSciDoc works via the Search&Export REST interface.

PubMan Content Plugin[edit]

  • Contributors: Andreas Gros
  • Link: http://pubman.mpdl.mpg.de
  • Tags: rest, publication
  • Requires at least: 2.5
  • Tested up to: 2.6.3
  • Stable tag: trunk

The plugin enables you to fetch publication data from PubMan via the Search&Export REST interface.

Description[edit]

The plugin enables you to fetch publication data from PubMan via the Search&Export REST interface of eSciDoc PubMan (http://pubman.mpdl.mpg.de).

You can get user-friendly access to the REST interface here: http://pubman.mpdl.mpg.de/search/SearchAndExport_rest_sample.jsp

The plugin transforms the "snippet" output of

http://pubman.mpdl.mpg.de/search/SearchAndExport?cqlQuery=escidoc.metadata=MySearchString&exportFormat=APA&outputFormat=snippet&language=all

into a publication list and returns this list back to Wordpress.

The plugin depends on a web server with expat enabled for parsing XML.

Usage[edit]

Put the following into your page or post:

[pubman-content searchstring="MySearchString" citationstyle="APA"]


Installation[edit]

  1. Unzip pubman.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place [pubman-content searchstring="MySearchString" citationstyle="APA"] in your posts or pages

Configuration[edit]

There are three parameters to be set for the plugin:

  1. baseURLForLinks is the URL put before the eSciDoc object id for linking to the corresponding PubMan item description
  2. defaultSearchString is the string that is passed to the REST interface by default
  3. defaultCitationStyle is the exportFormat that the bibliographic citation will have -- currently the only supported citation style is APA


Screenshots[edit]

  1. The screenshot (scrnshot1.png) shows the output of the plugin in Wordpress.
  2. The screenshot (scrnshot2.png) shows the current admin interface of the plugin in Wordpress