1 / 15

DSpace-gebruikersdag 9 maart 2006

DSpace-gebruikersdag 9 maart 2006. WildFire WildFire is ontwikkeld door Henk Druiven, Rijksuniversiteit Groningen Met dank aan Johannes Nicolai en al mijn collegae. DSpace-gebruikersdag 9 maart 2006. WildFire WildFire wordt gebruikt voor zo’n zestig repositories van de RUG

Télécharger la présentation

DSpace-gebruikersdag 9 maart 2006

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DSpace-gebruikersdag9 maart 2006 WildFire • WildFire is ontwikkeld door Henk Druiven, Rijksuniversiteit GroningenMet dank aan Johannes Nicolai en al mijn collegae.

  2. DSpace-gebruikersdag9 maart 2006 WildFire • WildFire wordt gebruikt voor zo’n zestig repositories van de RUG • Met WildFire heeft de gebruiker een instrument in handen waarmee op een eenvoudige manier documenten kunnen worden opgeslagen die direkt in een browser kunnen worden getoond

  3. DSpace-gebruikersdag9 maart 2006 WildFire • De layout kan eenvoudig worden aangepast.WildFire maakt gebruik van sjablonen, zie: “wildfire.eldoc.ub.rug.nl/LOCAL/page.html” en: “wildfire.eldoc.ub.rug.nl/LOCAL/ppage.html”

  4. DSpace-gebruikersdag9 maart 2006 Listing van een deel van ‘page.html’ <!-- start table main inhoud achtergrond lichter dan _parent--> <table width="100%" border="0"> <tr class="tdinhoudtr10h"> <td></td> <td align="right" valign="bottom">[!BUTTONPRINT!]</td> <td class="tdinhoudtdrechts">&nbsp;</td> </tr> <tr class="tr400h"> <td colspan="2" align="left" valign="top" class="tdinhoudtdlinks">[!COVER!]<br /> <br /> [!SECTIONMENU!] </td> <td align="left" valign="top" class="tdinhoudtdmain">[!ERRORS!][!MAIN!]</td> </tr> <tr class="tdinhoudtr10h"> <td colspan="2" align="left" valign="bottom" class="tdinhoudtdlinks"> <table><tr> <td><a href="/RSS/"><img border="0" src="/images/rss.png" width="36" height="14" alt="RSS" /></a> </td> <td><a href="/oai/">[OAI-PMH]</a></td> </tr></table> </td> <td class="tdinhoudtdrechts">[!LINKFULLITEMRECORD!]</td> </tr> </table> <!-- End table main inhoud-->

  5. DSpace-gebruikersdag9 maart 2006 Listing van een deel van ‘page.html’ in browser

  6. DSpace-gebruikersdag9 maart 2006 Listing van een deel van ‘ppage.html’ in de browser

  7. DSpace-gebruikersdag9 maart 2006 Voorbeeld van deze pagina’s

  8. DSpace-gebruikersdag9 maart 2006 Voorbeeld van deze pagina’s

  9. DSpace-gebruikersdag9 maart 2006 WildFire is • geschreven in PHP, • modulair opgebouwd • zelf-documenterend.

  10. DSpace-gebruikersdag9 maart 2006 Gedeeltelijke listing van index.php if( $_GET[ 'pList']) $content= list_page( ); elseif( $_GET[ 'pSearch']) $content= search_page( ); elseif( $_GET[ 'pAll']) $content= all_page( ); elseif( $_GET[ 'pPrintOnDemand']) $content= printondemand_page( ); elseif( $_GET[ 'pHowToOrder']) $content= howtoorder_page( ); elseif( $_POST['pPrintOrderForm']) $content= printprintorder_page( ); elseif( $_GET[ 'pExchangeable']) $content= exchangeble_page( ); elseif( $_POST['pExchangeableForm']) $content= exchangebleemail_page( ); else $content= default_page( );

  11. DSpace-gebruikersdag9 maart 2006 Gedeeltelijke listing van index.php else $content= default_page( ); $pagehtml= get_file( $page); $pagehtml= str_replace( '[!WEBROOT!]' , $gConfig[ 'webroot'] , $pagehtml); $pagehtml= str_replace( '[!WEBPLATFORMURL!]' , $gConfig[ 'webplatformurl'] , $pagehtml); $pagehtml= str_replace( '[!TITLE!]' , $gConfig[ 'title_'. $gLanguage] , $pagehtml); $pagehtml= str_replace( '[!SUBTITLE!]' , $gConfig[ 'subtitle_'. $gLanguage] , $pagehtml); $pagehtml= str_replace( '[!LANGUAGE!]' , $gLanguage , $pagehtml); $pagehtml= str_replace( '[!CLICK_ON_ME!]' , $gStrings[ 'ClickOnMe'][ $gLanguage] , $pagehtml); $pagehtml= str_replace( '[!SEARCH!]' , $gStrings[ 'search'][ $gLanguage] , $pagehtml); $pagehtml= str_replace( '[!PAGETITLE!]' , $content[ 'title'] , $pagehtml); $pagehtml= str_replace( '[!BUTTONLANGUAGE!]' , $content[ 'language'] , $pagehtml); $pagehtml= str_replace( '[!BREADCRUMBS!]' , $content[ 'breadcrumbs'] , $pagehtml); $pagehtml= str_replace( '[!BUTTONPRINT!]' , $content[ 'print'] , $pagehtml); $pagehtml= str_replace( '[!COVER!]' , $content[ 'cover'] , $pagehtml); $pagehtml= str_replace( '[!SECTIONMENU!]' , $content[ 'sectionmenu'] , $pagehtml); $pagehtml= str_replace( '[!ERRORS!]' , $content[ 'errors'] , $pagehtml); $pagehtml= str_replace( '[!LINKFULLITEMRECORD!]', $content[ 'linkfullitemrecord'] , $pagehtml); $pagehtml= str_replace( '[!MAIN!]' , $content[ 'main'] , $pagehtml); print $pagehtml;

  12. function default_page( ) { global $gErrors, $gDirID, $gBodies, $gLanguage, $gDB, $gConfig, $gPath, $gMainDir, $gOaiRecord, $gStrings, $gLanguage; $sql= "SELECT * FROM Metadata_File WHERE `directory_id`='". $gDirID. "' AND `publish`='yes' ORDER BY `alphabetic_order`"; $files= db_getAll( $gDB, $sql, 'assoc'); $sql= "SELECT * FROM Metadata_Directory WHERE `directory_id`='". $gDirID. "' AND `publish`='yes' ORDER BY `alphabetic_order`"; $subdirs= db_getAll( $gDB, $sql, 'assoc'); $content[ 'breadcrumbs']= breadcrumbs2body( ); $content[ 'title']= title( ); $content[ 'print']= printbody( ); $content[ 'cover']= cover2dirbody( ); $content[ 'language']= languagebody( ); $content[ 'sectionmenu']= sectionmenu2body( ); $content[ 'main']= title2body( $title); $content[ 'main'].= authors2body( ); $content[ 'main'].= exchangeable2body( ); $content[ 'main'].= dirinfo2body( ); $content[ 'main'].= description2body( ); $content[ 'main'].= extrainfo2body( ); $content[ 'main'].= $gBodies[ 'hr'][ $gLanguage]; $content[ 'main'].= dirs2body( $subdirs); $content[ 'main'].= files2body( $files); $content[ 'main'].= ppn2body( ); $content[ 'main'].= ppnopc2body( ); $content[ 'main'].= links2body( ); $content[ 'main'].= printingondemand2body( ); $content[ 'main'].= fullitemrecord2body( ); $content[ 'linkfullitemrecord']= linkfullitemrecord2body( ); $content[ 'errors']= errors2body( ); return $content; }

  13. DSpace-gebruikersdag9 maart 2006 Listing van een deel van ‘bodies.inc.php’ $gBodies[ 'description'][ 'nl']= '<p>[!DESCRIPTION!]</p>'; $gBodies[ 'description'][ 'en']= '<p>[!DESCRIPTION!]</p>'; Listing van een deel van ‘functions.inc.php’ function description2body( ) { global $gErrors, $gDirID, $gBodies, $gLanguage, $gDB, $gConfig , $gPath, $gMainDir, $gOaiRecord, $gStrings; $body= ''; if( $gOaiRecord[ 'description']) { $body= str_replace( "[!DESCRIPTION!]” , n2b( my_encode( $gOaiRecord[ 'description'])) , $gBodies[ 'description'][ $gLanguage]); } return $body; }

  14. DSpace-gebruikersdag9 maart 2006 Listing van een deel van ‘strings.inc.php’ 23 tekstregels $gStrings[ 'search'][ 'nl']= 'Zoeken'; $gStrings[ 'search'][ 'en']= 'Search'; $gStrings[ 'Latest'][ 'nl']= 'De laatste 20 documenten'; $gStrings[ 'Latest'][ 'en']= 'The latest 20 documents'; $gStrings[ 'List of all'][ 'nl']= 'Lijst van alles in '; $gStrings[ 'List of all'][ 'en']= 'List all of '; $gStrings[ 'Nothing found'][ 'nl']= 'Niets gevonden'; $gStrings[ 'Nothing found'][ 'en']= 'Nothing found'; $gStrings[ 'NoName'][ 'nl']= 'Geen naam'; $gStrings[ 'NoName'][ 'en']= 'No Name'; $gStrings[ 'NoNameCompany'][ 'nl']= 'Geen naam van het bedrijf of organisatie'; $gStrings[ 'NoNameCompany'][ 'en']= 'No Name of Company or Organization';

  15. DSpace-gebruikersdag9 maart 2006 Description_Publication: form_id: ‘’ form_kind: ‘text’ form_width: ‘60’ form_height: ‘’ form_keys_nl: ‘’ form_keys_en: ‘’ onclick: ‘’ comment: ‘Title’ search: ‘yes’ field: ‘title’ title_nl: ‘Titel’ title_en: ‘Title’ short_title_nl: ‘Titel’ short_title_en: ‘Title’ admin: ‘yes’ uda: ‘required’ alphabetic_order: ‘0001 array: ‘no’ function: ‘no’ default_value: ‘’ oai_dc: ‘dc:title’ rugdb: ‘rugdb:title’ metis: ‘record/metadata/resultaten.titel’

More Related