Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
buechereielektrik:unapi:unapi.php [2010-01-27 20:25] – Added link in copyright rosenkebuechereielektrik:unapi:unapi.php [2010-02-19 13:18] – Added csv as format. strols
Line 48: Line 48:
   Changelog   Changelog
  *  *
 +  20100219: Added csv as format.
   20100127: Added link in copyright.   20100127: Added link in copyright.
   20100111: Added openurl-kev as format.   20100111: Added openurl-kev as format.
Line 88: Line 89:
 <formats> <formats>
 <format name=\"bibtex\" type=\"text/plain\" /> <format name=\"bibtex\" type=\"text/plain\" />
 +<format name=\"csv\" type=\"text/plain\" />
 <format name=\"dc\" type=\"application/xml\" /> <format name=\"dc\" type=\"application/xml\" />
 <format name=\"extpp\" type=\"application/xml\" /> <format name=\"extpp\" type=\"application/xml\" />
Line 131: Line 133:
   case 'bibtex':   case 'bibtex':
      $res = $pica->getBibTex();      $res = $pica->getBibTex();
 +     final_result($res, 'text/plain');
 +     break;
 +  //  CSV
 +  case 'csv':
 +     $res = $pica->getCsv();
      final_result($res, 'text/plain');      final_result($res, 'text/plain');
      break;      break;
buechereielektrik/unapi/unapi.php.txt · Last modified: 2011-01-20 17:12 by strols
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0