SlideShare a Scribd company logo
1 of 10
Download to read offline
EmeraldView
     A PHP frontend for Greenstone



Yitzchak Schaffer <yitzchak.schaffer@gmx.com>
What in the name of high-school
football??!
http://localhost/gsdl?e=q-000-00-
off-demo--00-2----0--0direct-10-
TX--4----Sec---0-1l--10-en-50---20-
about-boy--00-3-1-00-0-0-01-1-
0utfZz-8-
00&a=d&c=demo&srp=0&srn=2
&cl=search
&d=HASH011ef1906c82786b6722
8
Now where am those templates...
Directory of c:greenstone-2.83macros

about.dm
amharic.dm                  dateqry.dm             greek.dm        latvian.dm
amharic2.dm                 deposit.dm             gsdl.dm         latvian2.dm
arabic.dm                   docs.dm                gti.dm          malayalam.dm
arabic2.dm                  document.dm            gujarati.dm     malayalam2.dm
armenian.dm                 dutch.dm               gujarati2.dm    maori.dm
armenian2.dm                dynamicclassifier.dm   hebrew.dm       marathi.dm
authen.dm                   english.dm             help.dm         marathi2.dm
base.dm                     english2.dm            hindi.dm        mongolian.dm
bengali.dm                  exported_home.dm       home.dm         mongolian2.dm
browse.dm                   extlink.dm             html.dm         nav_css.dm
bsummary.dm                 extra.dm               hungarian.dm    nav_ns4.dm
bulgarian.dm                farsi.dm               hungarian2.dm   nepali.dm
catalan.dm                  farsi2.dm              indo.dm         nzdlhome.dm
catalan2.dm                 finnish.dm             indo2.dm        polish.dm
chinese-trad.dm             french.dm              italian.dm      port-br.dm
chinese-trad2.dm            french2.dm             italian2.dm     port-br2.dm
chinese.dm                  gaelic.dm              japanese.dm     port-pt.dm
chinese2.dm                 galician.dm            japanese2.dm    pref.dm
collect.dm                  galician2.dm           kannada.dm      pushto.dm
croatian.dm                 georgian.dm            kannada2.dm     query.dm
czech.dm                    georgian2.dm           kazakh.dm       romanian.dm
czech2.dm                   german.dm              kazakh2.dm      romanian2.dm
dari.dm                     german2.dm             kirghiz.dm      russian.dm
                            gli.dm                 languages.dm    ...
about.dm... hmm...
...

#######################################################################
# about page content
#######################################################################

_pagetitle_ {_collectionname_}

_content_ {
_optnavigationbar_

<div class="document">
_If_("_cgiargqt_" ne "1",
    _If_("_cgiargu_" ne "1",_aboutqueryform_)
   )
_If_(_Global:collectionextra_,<p>_textabout_)
_textsubcollections_

<div class="section">
<h3>_help:textsimplehelpheading_</h3>
_help:simplehelp_
</div>

...
How about this...

http://emeraldview/demo/view/
development-in-practice-toward/5/2
?search[]=boy
... and this
...

<div id="main-content">

<?php echo $language_select ?>

<ul class="breadcrumbs">
 <li><a href="<?php echo url::base() ?>"><?php echo L10n::_('Home') ?></a> &gt;</li>
 <li>
  <?php echo $collection_display_name ?>
 </li>
</ul>

<?php if ($collection->getClassifiers()): ?>

<div id="about-browse-container">

 <h2><?php echo L10n::_('Browse') ?></h2>

...

<?php if ($collection_description): ?>
 <div id="about-description">
  <h2><?php echo L10n::_('About this collection') ?></h2>
  <p><?php echo $collection_description ?></p>
 </div>
<?php endif; ?>

...
Now what?

   Test with real collections
   Collection feeds
   Web 2.0
   Web-based configuration
   Embedded metadata




What do you think?
http://yitznewton.org/emeraldview/
yitzchak.schaffer@gmx.com

More Related Content

Similar to EmeraldView lightning talk at code4lib 2010

DDD on example of Symfony (SfCampUA14)
DDD on example of Symfony (SfCampUA14)DDD on example of Symfony (SfCampUA14)
DDD on example of Symfony (SfCampUA14)
Oleg Zinchenko
 
R57php 1231677414471772-2
R57php 1231677414471772-2R57php 1231677414471772-2
R57php 1231677414471772-2
ady36
 
Effective codereview | Dave Liddament | CODEiD
Effective codereview | Dave Liddament | CODEiDEffective codereview | Dave Liddament | CODEiD
Effective codereview | Dave Liddament | CODEiD
CODEiD PHP Community
 
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret SauceBeijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
Jesse Vincent
 

Similar to EmeraldView lightning talk at code4lib 2010 (17)

Juggling
JugglingJuggling
Juggling
 
DDD on example of Symfony (SfCampUA14)
DDD on example of Symfony (SfCampUA14)DDD on example of Symfony (SfCampUA14)
DDD on example of Symfony (SfCampUA14)
 
Översättning av django-program
Översättning av django-programÖversättning av django-program
Översättning av django-program
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
R57php 1231677414471772-2
R57php 1231677414471772-2R57php 1231677414471772-2
R57php 1231677414471772-2
 
PHP 5 Sucks. PHP 5 Rocks.
PHP 5 Sucks. PHP 5 Rocks.PHP 5 Sucks. PHP 5 Rocks.
PHP 5 Sucks. PHP 5 Rocks.
 
WebCamp: Developer Day: DDD in PHP on example of Symfony - Олег Зинченко
WebCamp: Developer Day: DDD in PHP on example of Symfony - Олег ЗинченкоWebCamp: Developer Day: DDD in PHP on example of Symfony - Олег Зинченко
WebCamp: Developer Day: DDD in PHP on example of Symfony - Олег Зинченко
 
Death of a Themer - Frontend United - 14 April 2013
Death of a Themer - Frontend United - 14 April 2013Death of a Themer - Frontend United - 14 April 2013
Death of a Themer - Frontend United - 14 April 2013
 
Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3Prototyping w/HTML5 and CSS3
Prototyping w/HTML5 and CSS3
 
Practical intro to PhpSpec
Practical intro to PhpSpecPractical intro to PhpSpec
Practical intro to PhpSpec
 
Juggling
JugglingJuggling
Juggling
 
Effective codereview | Dave Liddament | CODEiD
Effective codereview | Dave Liddament | CODEiDEffective codereview | Dave Liddament | CODEiD
Effective codereview | Dave Liddament | CODEiD
 
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret SauceBeijing Perl Workshop 2008 Hiveminder Secret Sauce
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
 
Monitoring web application behaviour with cucumber-nagios
Monitoring web application behaviour with cucumber-nagiosMonitoring web application behaviour with cucumber-nagios
Monitoring web application behaviour with cucumber-nagios
 
Hiveminder - Everything but the Secret Sauce
Hiveminder - Everything but the Secret SauceHiveminder - Everything but the Secret Sauce
Hiveminder - Everything but the Secret Sauce
 
Virus competition
Virus competitionVirus competition
Virus competition
 
Malcon2017
Malcon2017Malcon2017
Malcon2017
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

EmeraldView lightning talk at code4lib 2010

  • 1. EmeraldView A PHP frontend for Greenstone Yitzchak Schaffer <yitzchak.schaffer@gmx.com>
  • 2.
  • 3. What in the name of high-school football??! http://localhost/gsdl?e=q-000-00- off-demo--00-2----0--0direct-10- TX--4----Sec---0-1l--10-en-50---20- about-boy--00-3-1-00-0-0-01-1- 0utfZz-8- 00&a=d&c=demo&srp=0&srn=2 &cl=search &d=HASH011ef1906c82786b6722 8
  • 4.
  • 5. Now where am those templates... Directory of c:greenstone-2.83macros about.dm amharic.dm dateqry.dm greek.dm latvian.dm amharic2.dm deposit.dm gsdl.dm latvian2.dm arabic.dm docs.dm gti.dm malayalam.dm arabic2.dm document.dm gujarati.dm malayalam2.dm armenian.dm dutch.dm gujarati2.dm maori.dm armenian2.dm dynamicclassifier.dm hebrew.dm marathi.dm authen.dm english.dm help.dm marathi2.dm base.dm english2.dm hindi.dm mongolian.dm bengali.dm exported_home.dm home.dm mongolian2.dm browse.dm extlink.dm html.dm nav_css.dm bsummary.dm extra.dm hungarian.dm nav_ns4.dm bulgarian.dm farsi.dm hungarian2.dm nepali.dm catalan.dm farsi2.dm indo.dm nzdlhome.dm catalan2.dm finnish.dm indo2.dm polish.dm chinese-trad.dm french.dm italian.dm port-br.dm chinese-trad2.dm french2.dm italian2.dm port-br2.dm chinese.dm gaelic.dm japanese.dm port-pt.dm chinese2.dm galician.dm japanese2.dm pref.dm collect.dm galician2.dm kannada.dm pushto.dm croatian.dm georgian.dm kannada2.dm query.dm czech.dm georgian2.dm kazakh.dm romanian.dm czech2.dm german.dm kazakh2.dm romanian2.dm dari.dm german2.dm kirghiz.dm russian.dm gli.dm languages.dm ...
  • 6. about.dm... hmm... ... ####################################################################### # about page content ####################################################################### _pagetitle_ {_collectionname_} _content_ { _optnavigationbar_ <div class="document"> _If_("_cgiargqt_" ne "1", _If_("_cgiargu_" ne "1",_aboutqueryform_) ) _If_(_Global:collectionextra_,<p>_textabout_) _textsubcollections_ <div class="section"> <h3>_help:textsimplehelpheading_</h3> _help:simplehelp_ </div> ...
  • 7.
  • 9. ... and this ... <div id="main-content"> <?php echo $language_select ?> <ul class="breadcrumbs"> <li><a href="<?php echo url::base() ?>"><?php echo L10n::_('Home') ?></a> &gt;</li> <li> <?php echo $collection_display_name ?> </li> </ul> <?php if ($collection->getClassifiers()): ?> <div id="about-browse-container"> <h2><?php echo L10n::_('Browse') ?></h2> ... <?php if ($collection_description): ?> <div id="about-description"> <h2><?php echo L10n::_('About this collection') ?></h2> <p><?php echo $collection_description ?></p> </div> <?php endif; ?> ...
  • 10. Now what? Test with real collections Collection feeds Web 2.0 Web-based configuration Embedded metadata What do you think? http://yitznewton.org/emeraldview/ yitzchak.schaffer@gmx.com