This page describes the refbase integration with Bibutils.
Bibutils (bibliography conversion utilities) is a set of command line utilities which interconvert between various bibliography formats using a common XML intermediate called MODS. Bibutils currently supports following conversions:
- BibTeX -> MODS XML (
- Copac -> MODS XML (
- Endnote (Refer format) -> MODS XML (
- Endnote (Endnote XML format) -> MODS XML (
- ISI Web of Science -> MODS XML (
- Pubmed XML -> MODS XML (
- RIS -> MODS XML (
- MODS XML -> ADS (
- MODS XML -> BibTeX (
- MODS XML -> Endnote (
- MODS XML -> ISI Web of Science (
- MODS XML -> Reference Manager/RIS (
- MODS XML -> Word 2007 XML Bibliography format (
The current Bibutils binaries may not be is available. You may have to compile them from source code for your platform. We host a Bibutils mirror site with older binary releases, but do not plan to be responsible for delivering newer binaries. Bibutils can also be installed via platform-specific package management systems:
refbase integration with Bibutils
refbase-0.9.0 and above requires Bibutils (version 3.21 or greater) for following formats:
- Endnote (Refer format)
- Endnote (Endnote XML format)
- PubMed XML
- MODS XML
- ISI Web of Science
- Reference Manager/RIS
- Word 2007 XML Bibliography format
Installing Bibutils for use with refbase
In general, you can install the Bibutils programs wherever you like, but they must be executable by your server, i.e. they must be located within an executable path and the Bibutils programs itself must be executable. However, if the
safe_mode setting in your active php.ini file is set to On, then you'll need to put the Bibutils programs within the directory that's specified in the
safe_mode_exec_dir setting. Information on how to locate your active php.ini file is given here. Usually, the directory that contains the Bibutils programs should have permission 750 (rwxr-x---), and the Bibutils programs should have permissions 755 (rwxr-xr-x).
Once you've installed Bibutils on your server, the path to the Bibutils programs must be set accordingly in the refbase MySQL table depends. The easiest way to setup refbase with Bibutils is to do so upon installation using the provided install.php script. The install.php script will attempt to locate Bibutils for you if it is installed on your server.
A method to ensure that the install script locates Bibutils when your Bibutils is installed to a non-standard path is to symlink your Bibutils path into the directory containing install.php with the name "bibutils". This approach requires that your web server is configured to follow symlinks.
% ln -s /path/to/bibutils /path/to/refbase/bibutils
Alternatively, if you'd like to enable Bibutils support for an existing refbase installation, you can set the path to Bibutils directly by issuing following MySQL command via a tool such as phpMyAdmin or from within your MySQL command line interpreter:
UPDATE depends SET depends_path = "/path/to/bibutils/" WHERE depends_external = "bibutils";
Note that, in the above command, you must replace
/path/to/bibutils/ with the actual (full) directory path to your Bibutils programs. On Windows, you probably need to use backslashes as path separators (
\path\to\bibutils\). Also note that the given path must end with a slash.
Finally, when setting up Bibutils for an existing refbase installation, please make sure that Bibutils is properly enabled for refbase by issuing following MySQL command:
UPDATE depends SET depends_enabled = "true" WHERE depends_external = "bibutils";
Let us know if you run into problems.