Skip to content

RobJY/bib2phpVNL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bib2php creates a PHP page from a BibTeX file.  It creates a main page that can
be sorted by year, document type or first author, and can be filtered by 
document type.  It also creates an abstract page with more information about 
each document.  You can add information like links to related and superseded 
documents with the use of a bibaux file that uses syntax similar to a BibTeX 
file.
You can see an example of it in use at:
http://www.cns.nyu.edu/~lcv/html_public/publications.php

Written by Rob Young and Eero Simoncelli


To install bib2php just unpack the tar file in a directory that your webserver
can see and change the following entries in pubs/bib2php.conf:
  + you probably want to set caching to 'off' at least initially.  If you turn
    it on you'll need to set the directory where the cached files are saved in
    'cacheloc'.
  + bibtex - file and path to your bibtex file
  + aux - file and path to your bibaux file
  + abstract - location for abstract files. File names are expected to be 
    key-abstract.suffix.  Key is the bibtex key for the document and suffix is 
either txt or html.
  + pdf - base URL of directory containing all PDF files.
  + base1 - change this to the URL where you placed publications.php
  + lcvheader - change to 'off'

## Here's a description of the files in bib2php
Top directory
+ publications.php - This is the file that generates the publications page.
  It does this based on the user's radio button and check box selections.  It 
  creates the links at the top of the page based on the sort method and then 
  includes the appropriate page from pubs/CACHE.

Subdirectory (hardcoded as pubs/)
+ authorURL.txt - File that contains the mapping from author names to URLs.
+ bib2php.conf - configuration file that defines the following variables:
  BIBTEX - The name of the bibtex file to use.
  AUX - The name of the auxiliary file to use.
  ABSTRACT - Directory that contains the publication abstracts.
  AUTHOR - File that contains the mapping from author names to URLs.
  JOURNAL - File that contains the mapping from journal names to URLs.
  BASE1 - The base URL that the publications will be located at.
  The variables BIBTEX, AUX, ABSTRACT, AUTHOR, and JOURNAL are assumed to be 
  in the subdirectory pub/.
+ freshenPubs.php - PHP script that updates cached versions of publication 
  pages stored in pubs/CACHE.
+ journalURL.txt - File that contains the mapping from journal names to URLs.
+ lcvheader_dynamic.html - Code used to create the LCV header with selection 
  boxes.
+ makeAbs.php - This file generates the abstract pages dynamically.
+ simoncelli.aux - auxiliary file.  More information on the format of the 
  auxiliary file can be found in aux-documentation.txt.
+ simoncelli.bib - bibtex file
+ URLchecker_nopass.php - php script that checks for broken links in the 
  publications page and each of the abstract pages.  The page publications.php 
  contains code at the bottom that can be uncommented to reveal a button that 
  triggers this script.
+ bib2php.log - Log file that stores the number of times each combination of 
  of sort method and exclusion check boxes is selected.  The file contains a 
  raw list of numbers.  The table below tells the mapping of index to included 
  page:
  1 - publications_topic_noconf_noabs_nobct_nosuper.php
  2 - publications_topic_noconf_noabs_nobct.php
  3 - publications_topic_noabs_nobct_nosuper.php
  4 - publications_topic_noconf_nobct_nosuper.php
  5 - publications_topic_noconf_noabs_nosuper.php
  6 - publications_topic_noconf_nosuper.php
  7 - publications_topic_noabs_nosuper.php
  8 - publications_topic_nobct_nosuper.php
  9 - publications_topic_noconf_noabs.php
  10 - publications_topic_noconf_nobct.php
  11 - publications_topic_noabs_nobct.php
  12 - publications_topic_nosuper.php
  13 - publications_topic_noconf.php
  14 - publications_topic_noabs.php
  15 - publications_topic_nobct.php
  16 - publications_topic.php
  17 - publications_date_noconf_noabs_nobct_nosuper.php
  18 - publications_date_noconf_noabs_nobct.php
  19 - publications_date_noabs_nobct_nosuper.php
  20 - publications_date_noconf_nobct_nosuper.php
  21 - publications_date_noconf_noabs_nosuper.php
  22 - publications_date_noconf_nosuper.php
  23 - publications_date_noabs_nosuper.php
  24 - publications_date_nobct_nosuper.php
  25 - publications_date_noconf_noabs.php
  26 - publications_date_noconf_nobct.php
  27 - publications_date_noabs_nobct.php
  28 - publications_date_nosuper.php
  29 - publications_date_noconf.php
  30 - publications_date_noabs.php
  31 - publications_date_nobct.php
  32 - publications_date.php
  33 - publications_author_noconf_noabs_nobct_nosuper.php
  34 - publications_author_noconf_noabs_nobct.php
  35 - publications_author_noabs_nobct_nosuper.php
  36 - publications_author_noconf_nobct_nosuper.php
  37 - publications_author_noconf_noabs_nosuper.php
  38 - publications_author_noconf_nosuper.php
  39 - publications_author_noabs_nosuper.php
  40 - publications_author_nobct_nosuper.php
  41 - publications_author_noconf_noabs.php
  42 - publications_author_noconf_nobct.php
  43 - publications_author_noabs_nobct.php
  44 - publications_author_nosuper.php
  45 - publications_author_noconf.php
  46 - publications_author_noabs.php
  47 - publications_author_nobct.php
  48 - publications_author.php
  49 - publications_type_noconf_noabs_nobct_nosuper.php
  50 - publications_type_noconf_noabs_nobct.php
  51 - publications_type_noabs_nobct_nosuper.php
  52 - publications_type_noconf_nobct_nosuper.php
  53 - publications_type_noconf_noabs_nosuper.php
  54 - publications_type_noconf_nosuper.php
  55 - publications_type_noabs_nosuper.php
  56 - publications_type_nobct_nosuper.php
  57 - publications_type_noconf_noabs.php
  58 - publications_type_noconf_nobct.php
  59 - publications_type_noabs_nobct.php
  60 - publications_type_nosuper.php
  61 - publications_type_noconf.php
  62 - publications_type_noabs.php
  63 - publications_type_nobct.php
  64 - publications_type.php
 

About

converts BibTeX file to PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 54.3%
  • PHP 31.3%
  • JavaScript 11.5%
  • HTML 2.2%
  • CSS 0.7%