Esempio n. 1
0
 function DisplayBibtex()
 {
     $bibtex = '';
     $articles = db_retrieve_articles_from_journal($this->issn, $this->oclc);
     foreach ($articles as $k => $v) {
         foreach ($v as $ref) {
             $reference = db_retrieve_reference($ref->id);
             $bibtex .= reference_to_bibtex($reference);
         }
     }
     header("Content-type: application/x-bibtex; charset=utf-8\n\n");
     echo $bibtex;
 }
Esempio n. 2
0
 function DisplayBibtex()
 {
     log_access($this->id, 'bibtex');
     header("Content-type: application/x-bibtex; charset=utf-8\n\n");
     echo reference_to_bibtex($this->object);
 }