php-bibHTML (ZIP, 54kb) is a PHP conversion tool that
generates an HTML publication list from a
.bib file. It uses a slightly updated version of the Bibliophile BibTeX
parser to parse the file.
News:
- 2021-01-29: TEMPLATE FIX: double "." caused by book-template
- 2018-08-02: mapping update: support for most characters from https://www.w3schools.com/charsets/ref_utf_latin_extended_a.asp
added.
- 2018-07-04: new version released.
This version cleans up the code, improves templating and offers
5 list-styles (more than ever before!).
Main use:
<?php
include_once('php-bibHTML/main.php');
$bibfile = "/path/to/bibfile.bib";
print PHPbibHTML::bib_to_htmllist($bibfile, SPLITONYEAR);
?>
PHP-bibHTML supports
5 different types of lists (see below for screenshots of each):
- SPLITONYEAR (used in the example above)
- SPLITONTYPE
- SPLITONYEARTHENTYPE
- SPLITONTYPETHENYEAR
- DONTSPLIT
Examples
Examples of php-bibHTML-generated publication lists:
Installation instructions
- Download php-bibHTML.zip (ZIP
file, 54kb) and unzip it on your webserver (e.g.,
http://your.domain.com/yoursite).
- To test, surf to
http://your.domain.com/yoursite/example.php.
- To use your own .bib-file, edit
example.php and change $bibfile.
- To change looks, update php-bibHTML/css/php-bibHTML.css.
Screenshots
SPLITONYEAR |
SPLITONTYPE |
SPLITONYEARTHENTYPE |
 |
 |
 |
SPLITONTYPETHENYEAR |
DONTSPLIT |
 |
 |