SFB/TR8 - Project A3
 

Publications of A3-[MultiBot]



0){ reset($groups); for($x = 0; $x < count($groups); $x++){ $sql_pklist .= ", ".$groups["$x"]; } } $sql_pklist2 = ""; if(sizeof($projects) > 0){ reset($projects); for($x = 0; $x < count($projects); $x++){ $sql_pklist2 .= ", ".$projects["$x"]; } } $sql_pklist = substr ($sql_pklist,2); $sql_pklist2 = substr ($sql_pklist2,2); // KMW : intro list echo '
'; echo ''."\n"; $sql = "SELECT DISTINCT author_sortkey, pk_int, fk_type, bibkey, author, editor, title, year, booktitle, journal, volume, number, pages, series, type, publisher_name, publisher_address, publisher_url, institution_name, institution_address, institution_url, school_name, school_address, school_url, url, pdfurl, psurl, note, howpublished FROM entries"; $sql .= " WHERE "; if($sql_pklist2 != ""){ $sql .= " pk_int IN (".$sql_pklist2.")"; } else{ $sql .= " pk_int IN (".$sql_pklist.")"; } $sql .= " order by year DESC,author_sortkey"; $ergebnis = mysql_query($sql); $yeargo = array(); while($tabelle = mysql_fetch_array($ergebnis)){ $nam = strtolower(str_replace("{", "", str_replace("}", "", str_replace("~", "", str_replace("-", "", str_replace(" ", "", $tabelle["author"])))))); $nam2 = strtolower(str_replace("{", "", str_replace("}", "", str_replace("~", "", str_replace("-", "", str_replace(" ", "", $tabelle["editor"])))))); $nam3 = strtolower(str_replace("{", "", str_replace("}", "", str_replace("~", "", str_replace("-", "", str_replace(" ", "", $tabelle["title"])))))); $zeigen = 1; // KMW : print year if first entry in this year if(in_array($tabelle["year"], $yeargo)){ echo "\n"; } else{ if($tabelle["year"] == 9999){ echo "\n\n".''."\n\n"; } else{ echo "\n\n".''."\n\n"; } } // KMW : intro every entry echo ''; $sql = ""; } // end while // KMW : outro list echo "\n\n'; echo '
 
to appear
 
' . $tabelle["year"] . '
'."\n"; echo '  '."\n"; echo ''."\n"; $type = $tabelle["fk_type"]; switch($type){ case "InCollection": $ausgabe = show_collection($teil, $tabelle["pk_int"], $tabelle["bibkey"], $tabelle["author"], $tabelle["editor"], $tabelle["title"], $tabelle["year"], $tabelle["booktitle"], $tabelle["journal"], $tabelle["volume"], $tabelle["number"], $tabelle["pages"], $tabelle["series"], $tabelle["type"], $tabelle["publisher_name"], $tabelle["publisher_address"], $tabelle["publisher_url"], $tabelle["institution_name"], $tabelle["institution_address"], $tabelle["institution_url"], $tabelle["school_name"], $tabelle["school_address"], $tabelle["school_url"], $tabelle["url"], $tabelle["pdfurl"], $tabelle["psurl"], $tabelle["note"], $tabelle["howpublished"]); break; case "InProceedings": $ausgabe = show_inprocedings($teil, $tabelle["pk_int"], $tabelle["bibkey"], $tabelle["author"], $tabelle["editor"], $tabelle["title"], $tabelle["year"], $tabelle["booktitle"], $tabelle["journal"], $tabelle["volume"], $tabelle["number"], $tabelle["pages"], $tabelle["series"], $tabelle["type"], $tabelle["publisher_name"], $tabelle["publisher_address"], $tabelle["publisher_url"], $tabelle["institution_name"], $tabelle["institution_address"], $tabelle["institution_url"], $tabelle["school_name"], $tabelle["school_address"], $tabelle["school_url"], $tabelle["url"], $tabelle["pdfurl"], $tabelle["psurl"], $tabelle["note"], $tabelle["howpublished"]); break; case "Book": $ausgabe = show_book($teil, $tabelle["pk_int"], $tabelle["bibkey"], $tabelle["author"], $tabelle["editor"], $tabelle["title"], $tabelle["year"], $tabelle["booktitle"], $tabelle["journal"], $tabelle["volume"], $tabelle["number"], $tabelle["pages"], $tabelle["series"], $tabelle["type"], $tabelle["publisher_name"], $tabelle["publisher_address"], $tabelle["publisher_url"], $tabelle["institution_name"], $tabelle["institution_address"], $tabelle["institution_url"], $tabelle["school_name"], $tabelle["school_address"], $tabelle["school_url"], $tabelle["url"], $tabelle["pdfurl"], $tabelle["psurl"], $tabelle["note"], $tabelle["howpublished"]); break; case "Article": $ausgabe = show_article($teil, $tabelle["pk_int"], $tabelle["bibkey"], $tabelle["author"], $tabelle["editor"], $tabelle["title"], $tabelle["year"], $tabelle["booktitle"], $tabelle["journal"], $tabelle["volume"], $tabelle["number"], $tabelle["pages"], $tabelle["series"], $tabelle["type"], $tabelle["publisher_name"], $tabelle["publisher_address"], $tabelle["publisher_url"], $tabelle["institution_name"], $tabelle["institution_address"], $tabelle["institution_url"], $tabelle["school_name"], $tabelle["school_address"], $tabelle["school_url"], $tabelle["url"], $tabelle["pdfurl"], $tabelle["psurl"], $tabelle["note"], $tabelle["howpublished"]); break; case "Misc": $ausgabe = show_misc($teil, $tabelle["pk_int"], $tabelle["bibkey"], $tabelle["author"], $tabelle["editor"], $tabelle["title"], $tabelle["year"], $tabelle["booktitle"], $tabelle["journal"], $tabelle["volume"], $tabelle["number"], $tabelle["pages"], $tabelle["series"], $tabelle["type"], $tabelle["publisher_name"], $tabelle["publisher_address"], $tabelle["publisher_url"], $tabelle["institution_name"], $tabelle["institution_address"], $tabelle["institution_url"], $tabelle["school_name"], $tabelle["school_address"], $tabelle["school_url"], $tabelle["url"], $tabelle["pdfurl"], $tabelle["psurl"], $tabelle["note"], $tabelle["howpublished"]); break; case "Proceedings": $ausgabe = show_inprocedings($teil, $tabelle["pk_int"], $tabelle["bibkey"], $tabelle["author"], $tabelle["editor"], $tabelle["title"], $tabelle["year"], $tabelle["booktitle"], $tabelle["journal"], $tabelle["volume"], $tabelle["number"], $tabelle["pages"], $tabelle["series"], $tabelle["type"], $tabelle["publisher_name"], $tabelle["publisher_address"], $tabelle["publisher_url"], $tabelle["institution_name"], $tabelle["institution_address"], $tabelle["institution_url"], $tabelle["school_name"], $tabelle["school_address"], $tabelle["school_url"], $tabelle["url"], $tabelle["pdfurl"], $tabelle["psurl"], $tabelle["note"], $tabelle["howpublished"]); break; case "PhdThesis": $ausgabe = show_article($teil, $tabelle["pk_int"], $tabelle["bibkey"], $tabelle["author"], $tabelle["editor"], $tabelle["title"], $tabelle["year"], $tabelle["booktitle"], $tabelle["journal"], $tabelle["volume"], $tabelle["number"], $tabelle["pages"], $tabelle["series"], $tabelle["type"], $tabelle["publisher_name"], $tabelle["publisher_address"], $tabelle["publisher_url"], $tabelle["institution_name"], $tabelle["institution_address"], $tabelle["institution_url"], $tabelle["school_name"], $tabelle["school_address"], $tabelle["school_url"], $tabelle["url"], $tabelle["pdfurl"], $tabelle["psurl"], $tabelle["note"], $tabelle["howpublished"]); $ausgabe = str_replace("In:.", "", $ausgabe); break; case "TechReport": $ausgabe = show_tr($teil, $tabelle["pk_int"], $tabelle["bibkey"], $tabelle["author"], $tabelle["editor"], $tabelle["title"], $tabelle["year"], $tabelle["booktitle"], $tabelle["journal"], $tabelle["volume"], $tabelle["number"], $tabelle["pages"], $tabelle["series"], $tabelle["type"], $tabelle["publisher_name"], $tabelle["publisher_address"], $tabelle["publisher_url"], $tabelle["institution_name"], $tabelle["institution_address"], $tabelle["institution_url"], $tabelle["school_name"], $tabelle["school_address"], $tabelle["school_url"], $tabelle["url"], $tabelle["pdfurl"], $tabelle["psurl"], $tabelle["note"], $tabelle["howpublished"]); break; } array_push($yeargo, $tabelle["year"]); $ausgabe = str_replace("..", ".", $ausgabe); $ausgabe = str_replace("..", ".", $ausgabe); $ausgabe = str_replace(",.", ".", $ausgabe); $ausgabe = str_replace(",.", ".", $ausgabe); $ausgabe = str_replace("&", "&", $ausgabe); $ausgabe = str_replace(". .", ".", $ausgabe); $ausgabe = str_replace("In:.", "In:", $ausgabe); $ausgabe = str_replace("In: .", "In:", $ausgabe); $ausgabe = str_replace(",,", ",", $ausgabe); $ausgabe = str_replace(", .", ".", $ausgabe); $ausgabe = str_replace(". ,", ".", $ausgabe); echo $ausgabe; $same = 0; // KMW : outro every entry echo "\n".'
 \n"; // echo " \"\"\n"; echo "    ".$bibtexexportcaption."\n"; echo '
'."\n"; function show_collection($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){ $str = ''; $detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm'; $basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch"; $httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch"; $includepath="$basepath/includes"; $imgpath=$httpbasepath."/img"; $sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc"; $bibtexexportbuttoncaption="Generate BibTex"; $bibtexexportcaption="Show selected entries in BibTex format"; $groupname="sfb/tr8"; $groupid = 6; $groups = array(); $projects = array(); $auf = ""; $zeigen = 0; $showall = 0; if($author != ""){ $str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "" , get_author_str($author, $teil))); } if($year != ""){ $str .= how_year($year); } if($title != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. '; } if(editor != "" or $booktitle != ""){ $str .= ' In:'; } if($editor != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor))); } if($booktitle != ""){ $str .= ' ' . str_replace("~", "", $booktitle) . ''; } if($pages == ""){ $str .= '. '; } if($journal != ""){ $str .= ' ' . $journal . ' '; } if($volume!= "" or $pages != ""){ if($series != ""){ $str .= '. ' . $series . ','; } if($volume != ""){ $str .= ' vol. ' . $volume . ', '; } else{ $str .= ', '; } if($pages != ""){ $str .= pages_calc($pages); } $str .= '. '; } if($publisher_name != ""){ $str .= $publisher_name; if($publisher_address != ""){ $str .= ', ' . $publisher_address . '. '; } else{ $str .= '. '; } /*if($publisher_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; }*/ } if($institution_name != ""){ $str .= $institution_name; if($institution_address != ""){ $str .= ', ' . $institution_address; } else{ $str .= '. '; } if($institution_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($school_name != ""){ $str .= $school_name; if($school_address != ""){ $str .= ', ' . $school_address; } else{ $str .= '. '; } if($school_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($note != ""){ $str .= $note . ' '; } if($url != ""){ //$str .= '' . clean_url($url) . '. '; $str .= 'www-link '; } if($pk_int != ""){ $str .= " \"detail\" "; } if($pdfurl != ""){ $str .= " \"pdf\" "; } if($psurl != ""){ $str .= " \"postscript\" "; } return $str; } function show_inprocedings($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){ $str = ''; $detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm'; $basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch"; $httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch"; $includepath="$basepath/includes"; $imgpath=$httpbasepath."/img"; $sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc"; $bibtexexportbuttoncaption="Generate BibTex"; $bibtexexportcaption="Show selected entries in BibTex format"; $groupname="sfb/tr8"; $groupid = 6; $groups = array(); $projects = array(); $auf = ""; $zeigen = 0; $showall = 0; if($author != ""){ $str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil))); } else{ $str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor, $teil))); } if($year != ""){ $str .= how_year($year); } if($title != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)); if($author != ""){ $str .= '. '; } } if((editor != "" or $booktitle != "") and $author != ""){ $str .= ' In:'; } if($editor != "" and $author != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor))); } if($booktitle != ""){ $str .= ' ' . str_replace("~", "", $booktitle) . ''; } if($pages == ""){ $str .= '. '; } if($journal != ""){ $str .= ' ' . $journal . ' '; } if($volume!= "" or $pages != ""){ if($series != ""){ $str .= '. ' . $series . ','; } if($volume != ""){ $str .= ' vol. ' . $volume . ', '; } else{ $str .= ', '; } if($pages != ""){ $str .= pages_calc($pages); } $str .= '. '; } if($publisher_name != ""){ $str .= $publisher_name; if($publisher_address != ""){ $str .= ', ' . $publisher_address . '. '; } else{ $str .= '. '; } /*if($publisher_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; }*/ } if($institution_name != ""){ $str .= $institution_name; if($institution_address != ""){ $str .= ', ' . $institution_address; } else{ $str .= '. '; } if($institution_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($school_name != ""){ $str .= $school_name; if($school_address != ""){ $str .= ', ' . $school_address; } else{ $str .= '. '; } if($school_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($note != ""){ $str .= $note . ' '; } if($url != ""){ //$str .= '' . clean_url($url) . '. '; $str .= 'www-link '; } if($pk_int != ""){ $str .= " \"detail\" "; } if($pdfurl != ""){ $str .= " \"pdf\" "; } if($psurl != ""){ $str .= " \"postscript\" "; } return $str; } function show_article($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){ $str = ''; $detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm'; $basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch"; $httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch"; $includepath="$basepath/includes"; $imgpath=$httpbasepath."/img"; $sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc"; $bibtexexportbuttoncaption="Generate BibTex"; $bibtexexportcaption="Show selected entries in BibTex format"; $groupname="sfb/tr8"; $groupid = 6; $groups = array(); $projects = array(); $auf = ""; $zeigen = 0; $showall = 0; if($author != ""){ $str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil))); } if($year != ""){ $str .= how_year($year); } if($title != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. '; } if(editor != "" or $booktitle != ""){ $str .= ' In:'; } if($editor != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor))); } if($booktitle != ""){ $str .= ' ' . str_replace("~", "", $booktitle) . ''; } if($pages == ""){ $str .= '. '; } if($journal != ""){ $str .= ' ' . $journal . ' '; } if($volume!= "" or $pages != ""){ $str .= ' ('; if($volume != ""){ $str .= 'Vol. ' . $volume . ', '; } if($pages != ""){ $str .= pages_calc($pages); } $str .= '). '; } if($publisher_name != ""){ $str .= $publisher_name; if($publisher_address != ""){ $str .= ', ' . $publisher_address . '. '; } else{ $str .= '. '; } /*if($publisher_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; }*/ } if($institution_name != ""){ $str .= $institution_name; if($institution_address != ""){ $str .= ', ' . $institution_address; } else{ $str .= '. '; } if($institution_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($school_name != ""){ $str .= $school_name; if($school_address != ""){ $str .= ', ' . $school_address; } else{ $str .= '. '; } if($school_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($note != ""){ $str .= $note . ' '; } if($url != ""){ //$str .= '' . clean_url($url) . '. '; $str .= 'www-link '; } if($pk_int != ""){ $str .= " \"detail\" "; } if($pdfurl != ""){ $str .= " \"pdf\" "; } if($psurl != ""){ $str .= " \"postscript\" "; } return $str; } function show_book($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){ $str = ''; $detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm'; $basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch"; $httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch"; $includepath="$basepath/includes"; $imgpath=$httpbasepath."/img"; $sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc"; $bibtexexportbuttoncaption="Generate BibTex"; $bibtexexportcaption="Show selected entries in BibTex format"; $groupname="sfb/tr8"; $groupid = 6; $groups = array(); $projects = array(); $auf = ""; $zeigen = 0; $showall = 0; if($author != ""){ $str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil))); } if($year != ""){ $str .= how_year($year); } if($title != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. '; } if(editor != "" or $booktitle != ""){ //$str .= ' In:'; } if($editor != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor))); } if($booktitle != ""){ $str .= ' ' . str_replace("~", "", $booktitle) . ''; } if($pages == ""){ $str .= ' '; } if($journal != ""){ $str .= ' ' . $journal . ' '; } if($volume!= "" or $pages != ""){ $str .= ' ('; if($volume != ""){ $str .= 'Vol. ' . $volume . ', '; } if($pages != ""){ $str .= pages_calc($pages); } $str .= '). '; } if($publisher_name != ""){ $str .= $publisher_name; if($publisher_address != ""){ $str .= ', ' . $publisher_address . '. '; } else{ $str .= '. '; } /*if($publisher_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; }*/ } if($institution_name != ""){ $str .= $institution_name; if($institution_address != ""){ $str .= ', ' . $institution_address; } else{ $str .= '. '; } if($institution_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($school_name != ""){ $str .= $school_name; if($school_address != ""){ $str .= ', ' . $school_address; } else{ $str .= '. '; } if($school_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($note != ""){ $str .= $note . ' '; } if($url != ""){ //$str .= '' . clean_url($url) . '. '; $str .= 'www-link '; } if($pk_int != ""){ $str .= " \"detail\" "; } if($pdfurl != ""){ $str .= " \"pdf\" "; } if($psurl != ""){ $str .= " \"postscript\" "; } return $str; } function show_tr($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){ $str = ''; $detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm'; $basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch"; $httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch"; $includepath="$basepath/includes"; $imgpath=$httpbasepath."/img"; $sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc"; $bibtexexportbuttoncaption="Generate BibTex"; $bibtexexportcaption="Show selected entries in BibTex format"; $groupname="sfb/tr8"; $groupid = 6; $groups = array(); $projects = array(); $auf = ""; $zeigen = 0; $showall = 0; if($author != ""){ $str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil))); } if($year != ""){ $str .= how_year($year); } if($title != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. '; } if($type != ""){ $str .= $type; } else{ $str .= 'Technical Report'; } if($number != ""){ $str .= ' ' . $number . '. '; } else{ $str .= '. '; } if($publisher_name != ""){ $str .= $publisher_name; if($publisher_address != ""){ $str .= ', ' . $publisher_address . '. '; } else{ $str .= '. '; } /*if($publisher_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; }*/ } if($institution_name != ""){ $str .= $institution_name; if($institution_address != ""){ $str .= ', ' . $institution_address; } else{ $str .= '. '; } if($institution_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($school_name != ""){ $str .= $school_name; if($school_address != ""){ $str .= ', ' . $school_address; } else{ $str .= '. '; } if($school_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($note != ""){ $str .= $note . ' '; } if($url != ""){ //$str .= '' . clean_url($url) . '. '; $str .= 'www-link '; } if($pk_int != ""){ $str .= " \"detail\" "; } if($pdfurl != ""){ $str .= " \"pdf\" "; } if($psurl != ""){ $str .= " \"postscript\" "; } return $str; } function show_misc($teil, $pk_int, $bibkey, $author, $editor, $title, $year, $booktitle, $journal, $volume, $number, $pages, $series, $type, $publisher_name, $publisher_address, $publisher_url, $institution_name, $institution_address, $institution_url, $school_name, $school_address, $school_url, $url, $pdfurl, $psurl, $note, $howpublished){ $str = ''; $detailurl = 'http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch/detail_e.htm'; $basepath="http://www.rasen.informatik.uni-bremen.de/home/www/agbkb/publikationen/bibsearch"; $httpbasepath="http://www.informatik.uni-bremen.de/agbkb/publikationen/bibsearch"; $includepath="$basepath/includes"; $imgpath=$httpbasepath."/img"; $sqlpath="/home/apache/httpd/sec_docs/agbkb/bibsearch/config/mysql.inc"; $bibtexexportbuttoncaption="Generate BibTex"; $bibtexexportcaption="Show selected entries in BibTex format"; $groupname="sfb/tr8"; $groupid = 6; $groups = array(); $projects = array(); $auf = ""; $zeigen = 0; $showall = 0; if($author != ""){ $str .= str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_author_str($author, $teil))); } if($year != ""){ $str .= how_year($year); } if($title != ""){ $str .= ' ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $title)) . '. '; } if($editor != ""){ $str .= ' In: ' . str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", get_editor_str($editor))); } if($booktitle != ""){ $str .= ' ' . str_replace("~", "", $booktitle) . ''; } if($pages == ""){ $str .= '. '; } if($journal != ""){ $str .= ' ' . $journal . ' '; } if($volume!= "" or $pages != ""){ $str .= ' ('; if($volume != ""){ $str .= 'Vol. ' . $volume . ', '; } if($pages != ""){ $str .= pages_calc($pages); } $str .= '). '; } if($howpublished != ""){ $str .= $howpublished . '. '; } if($publisher_name != ""){ $str .= $publisher_name; if($publisher_address != ""){ $str .= ', ' . $publisher_address . '. '; } else{ $str .= '. '; } /*if($publisher_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; }*/ } if($institution_name != ""){ $str .= $institution_name; if($institution_address != ""){ $str .= ', ' . $institution_address; } else{ $str .= '. '; } if($institution_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($school_name != ""){ $str .= $school_name; if($school_address != ""){ $str .= ', ' . $school_address; } else{ $str .= '. '; } if($school_url != ""){ $str .= ', www-link '; } else{ $str .= '. '; } } if($note != ""){ $str .= $note . '. '; } if($url != ""){ //$str .= '' . clean_url($url) . '. '; $str .= 'www-link '; } if($pk_int != ""){ $str .= " \"detail\" "; } if($pdfurl != ""){ $str .= " \"pdf\" "; } if($psurl != ""){ $str .= " \"postscript\" "; } return $str; } function pages_calc($pages){ if(preg_match("/^(\d+)\s*[.-]+\s*(\d+)$/",stripslashes($pages),$preg_temp)){ $str = 'pp. ' . $pages; } else{ $str = 'p. ' . $pages; } $str = str_replace("--", "-", $str); return $str; } function how_year($year){ if($year == "9999"){ $str = ' (to appear). '; } else{ $str = ' (' . $year . '). '; } return $str; } function get_editor_str($editor){ $editor = str_replace('\"a', "ä", str_replace('\"o', "ö", str_replace('\"u', "ü", str_replace("{", "", str_replace("}", "", str_replace("&", "", str_replace(" and ", ", ", str_replace("~", " ", $editor)))))))); $editortmp = explode(", ", $editor); $only = 0; $str = ''; for($x = 0; $x < count($editortmp); $x++){ $editortmp2 = explode(" ", $editortmp[$x]); if(count($editortmp2) == 2){ $z = strpos($editortmp2[0], "-"); if($z != 0){ $editor2 = $editortmp2[0]{0} . '.-' . $autortmp2[0]{($z+1)}; } else{ $editor2 = $editortmp2[0]{0}; } if($x != 0){ $str .= ' '; } if(count($editortmp) - 1 == 0){ $str .= $editor2 . '. ' . $editortmp2[1] . ', '; $only = 1; break; } elseif($x == count($editortmp) - 1){ $str .= '& ' . $editor2 . '. ' . $editortmp2[1] . ' '; break; } else{ $str .= $editor2 . '. ' . $editortmp2[1] . ', '; } } else{ if($x != 0){ $str .= ' '; } if(count($editortmp) - 1 == 0){ $str .= $editortmp2[1]{0} . '. ' . $editortmp2[0]{0} . '. ' . $editortmp2[2] . ', '; break; } elseif($x == count($editortmp) - 1){ $str .= '& ' . $editortmp2[1]{0} . '. ' . $editortmp2[0]{0} . ' ' . $editortmp2[2]; $only = 1; break; } else{ $str .= $editortmp2[1]{0} . '. ' . $editortmp2[0]{0} . '. ' . $editortmp2[2] . ', '; } } } if($only == 1){ $str .= ' (Ed.),'; } else{ $str .= ' (Eds.),'; } $str = str_replace(". .", ".", $str); $str = str_replace("..", ".", $str); return $str; } function get_author_str($author, $teil){ if($author == "Tenbrink, Thora and Kerstin Fischer and Reinhard Moratz"){ $author = "Thora Tenbrink and Kerstin Fischer and Reinhard Moratz"; } $autor = str_replace('\"a', "ä", str_replace('\"o', "ö", str_replace('\"u', "ü", str_replace("{", "", str_replace("}", "", str_replace("&", "", str_replace(" and ", ", ", str_replace("~", " ", $author)))))))); $autortmp = explode(", ", $autor); $str = ""; for($x = 0; $x < count($autortmp); $x++){ $autortmp2 = explode(" ", $autortmp[$x]); if(count($autortmp2) == 2){ $z = strpos($autortmp2[0], "-"); if($z != 0){ $autor2 = $autortmp2[0]{0} . '.-' . $autortmp2[0]{($z+1)}; } else{ $autor2 = $autortmp2[0]{0}; } if($x != 0){ $str .= ' '; } if(count($autortmp) - 1 == 0){ $str .= $autortmp2[1] . ', ' . $autor2 . '. '; break; } elseif($x == count($autortmp) - 1){ $str .= '& ' . $autortmp2[1] . ', ' . $autor2 . '. '; break; } else{ $str .= $autortmp2[1] . ', ' . $autor2 . '., '; } } else{ if($x != 0){ $str .= ' '; } if(count($autortmp) - 1 == 0){ $str .= $autortmp2[2] . ', ' . $autortmp2[0]{0} . '. ' . $autortmp2[1]{0} . '.: '; break; } elseif($x == count($autortmp) - 1){ $str .= '& ' . $autortmp2[2] . ', ' . $autortmp2[0]{0} . '. ' . $autortmp2[1]{0} . '. '; break; } else{ $str .= $autortmp2[2] . ', ' . $autortmp2[0]{0} . '. ' . $autortmp2[1]{0} . '., '; } } } $str = str_replace(", ,", ",", $str); $str = str_replace(", ,", ",", $str); $str = str_replace(". .", ".", $str); $str = str_replace("..", ".", $str); $str = str_replace($teil, "" . $teil . "", str_replace(ucfirst($teil), "" . ucfirst($teil) . "", $str)); return $str; } function clean_url($url){ $tmp = split("/", $url); $url = $tmp[0] . '//' . $tmp[2]; return $url; } ?>

Copyright © 2005 by SFB/TR 8

disclaimer