Difference between revisions of "PubMan Wordpress Plugin"

From MPDLMediaWiki
Jump to navigation Jump to search
(→‎Usage: added search string examples)
Line 22: Line 22:
The plugin transforms the "snippet" output of  
The plugin transforms the "snippet" output of  


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


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

Revision as of 07:43, 14 November 2008

The Wordpress Plugin for fetching content from eSciDoc works via the Search&Export REST interface.
Please note that this is a temporary page which will later be moved to an appropriate place.

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

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

Description[edit]

This Wordpress plugin enables you to fetch publication data from PubMan via the Search&Export REST interface of eSciDoc PubMan (http://pubman.mpdl.mpg.de). The plugin depends on a web server with expat enabled for parsing XML.

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=MySearchString&exportFormat=APA&outputFormat=snippet&language=all

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

Usage[edit]

Put the following into your page or post:

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

Examples for searchstrings:

  • escidoc.metadata=sengbusch
  • escidoc.any-persons=sengbusch%20AND%20escidoc.subject=fische

Download[edit]

PubMan Wordpress Plugin (beta)

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 six parameters to be set for the plugin:

  1. baseURLPubMan is the URL of the PubMan installation you're using, e.g. http://pubman.mpdl.mpg.de
  2. pathItemView is the relative path to the PubMan item description, e.g. /pubman/faces/viewItemFullPage.jsp?itemId=
  3. pathSearchAndExport is the relative path to the Search&Export interface, e.g. /search/SearchAndExport?cqlQuery=
  4. defaultTextForPublicationLink is the text of the link to the PubMan item description, e.g. [LINK]
  5. defaultSearchString is the string that is passed to the REST interface by default
  6. 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

To do[edit]

A lot!