About c4lj2doaj.cgi

This program -- c4lj2doaj.cgi -- allows you to specify a Code4Lib Journal issue number and get back a stream of XML designed for submission to the Directory of Open Access Journals. Example specifications include:

There are a few caveats when it comes to using the script's output:

  1. Multiple authors - In our underlying WordPress implementation, all the authors of an article are entered into a single field. Because of this it is necessary to manually parse the author names and create additional author/name elements. Given this:
      <author>
        <name>Tito Sierra, Joseph Ryan, and Markus Wust</name>
      </author>
    

    You must manually change it to this:

      <author>
        <name>Tito Sierra</name>
      </author>
    
      <author>
        <name>Joseph Ryan</name>
      </author>
    
      <author>
        <name>Markus Wust</name>
      </author>
    
  2. No email addresses - Sometimes email address have been entered as a part of the About The Author(s) section, and sometimes they have not. If desired, you can add a child email element to the author element to make things more complete, like this:
      <author>
        <name>Markus Wust</name>
        <email>mwust@example.org</email>
      </author>
    
  3. No affiliations - Affiliations are more difficult than email addresses because the XML schema requires some sort of identifier linked from another section in the XML. This script simply does not support affiliations.

All of these issues could be resolved if there were placeholders for this data in our WordPress implementation. Hmmm...

Finally, this script is driven by a Perl module called C4LJ. The module should allow the Code4Lib Community to create other hacks against its Journal content such as author indexes, title indexes, subject indexed, tag clouds, etc.


Author: Eric Lease Morgan <emorgan@nd.edu>
Date created: June 26, 2008
Source code: c4lj2doaj.cgi
URL: http://journal.code4lib.org/doaj/