Changeset 6813


Ignore:
Timestamp:
2004-02-17T10:12:11+13:00 (20 years ago)
Author:
mdewsnip
Message:

Additions for the GsdlCollageApplet: a classifier that displays a collage of the images in a collection. By Katrina Edgar (kde2).

Location:
trunk/gsdl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/exportcol.pl

    r6788 r6813  
    273273    my $win32sdir = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "windows", "Win32s");
    274274    my $phindjar = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "java", "Phind.jar");
     275    my $gsdlcollageappletjar = &util::filename_cat ($ENV{'GSDLHOME'}, "bin", "java", "GsdlCollageApplet.jar");
    275276
    276277    if ((!-d $imagesdir) || (!-d $macrosdir) || (!-d $mappingsdir) || (!-e $maincfg) ||
    277278    (!-e $serverexe) || (!-e $gssetupexe) || (!-e $setupexe) || (!-d $net32dir) ||
    278     (!-d $net16dir) || (!-d $netscapedir) || (!-d $win32sdir) || (!-e $phindjar)) {
     279    (!-d $net16dir) || (!-d $netscapedir) || (!-d $win32sdir) || (!-e $phindjar) ||
     280    (!-e $gsdlcollageappletjar)) {
    279281    &gsprintf($out, "{exportcol.fail}");
    280282    &gsprintf($out, "{exportcol.non_exist_files}\n");
     
    291293    print $out "  $win32sdir\n";
    292294    print $out "  $phindjar\n";
     295    print $out "  $gsdlcollageappletjar\n";
    293296    die "\n";
    294297    }
     
    306309    &util::cp_r ($win32sdir, $topdir);
    307310    &util::cp ($phindjar, $binjavadir);
     311    &util::cp ($gsdlcollageappletjar, $binjavadir);
    308312
    309313    # now change the home.dm macro file to a simple version
  • trunk/gsdl/macros/about.dm

    r6542 r6813  
    5353# set from within server
    5454_textsubcollections_ {}
     55
     56_aboutCollage_ {}
     57_classifier_ {}
     58_collageempty_ {There is no collage classifier defined for this collection!}
     59_collageapplet_ {
     60
     61 <p>
     62 <center>
     63
     64 <applet CODEBASE="_httpprefix_/bin/java" code="org.nzdl.gsdl.GsdlCollageApplet.GsdlCollageApplet.class"
     65         archive="GsdlCollageApplet.jar" width="445" height="250">
     66 
     67     <param name="gwcgi" value="_gwcgi_">
     68         <param name="collection" value="_cgiargc_">
     69         <param name="classifier" value="CL_classifier_.1">
     70       
     71         <param name="hrefMustHave" value="cl=CL_classifier_.1">
     72         <param name="imageMustNotHave" value="hl=%x=%gt=%gc=%.pr">
     73
     74     <param name="imageType" value=".jpg%.png"> 
     75     <param name="verbosity" value="5">
     76     <param name="maxDepth" value="3">
     77     <param name="refreshDelay" value="1500">
     78     <param name="isJava2" value="auto">
     79
     80 </applet>
     81
     82 </center>
     83 <p>
     84}
  • trunk/gsdl/macros/base.dm

    r6723 r6813  
    7474_searchwidth_ {_widthtsrchx_}
    7575_Titlewidth_ {_widthttitlx_}
     76_Collagewidth_ {_widthtcollx_}
    7677_Descriptionwidth_ {_widthtdescx_}
    7778_Listwidth_ {_widthtlistx_}
     
    415416_imageLanguage_ {_gsimage_(_httpbrowseLanguage_,_httpicontlangof_,_httpicontlangon_,language,_textimageLanguage_)}
    416417_imageAcronym_ {_gsimage_(_httpbrowseAcronym_,_httpicontacroof_,_httpicontacroon_,acronym,_textimageAcronym_)}
     418_imageCollage_ {_gsimage_(_httpbrowseCollage_,_httpicontcollof_,_httpicontcollon_,collage,_textimageCollage_)}
    417419_imagePhrase_ {_gsimage_(_httpbrowsePhrase_,_httpicontphrseof_,_httpicontphrseon_,phrase,_textimagePhrase_)}
    418420_imageArtist_ {_gsimage_(_httpbrowseArtist_,_httpicontartstof_,_httpicontartston_,artist,_textimageArtist_)}
     
    656658_icontabTitlegreen_[v=1] {_texticontabtitlegreen_}
    657659
     660_icontabCollagegreen_ {<img
     661src="_httpicontcollgr_" width=_widthtcollx_ border=0>}
     662_icontabCollagegreen_[v=1] {_texticontabCollagegreen_}
     663
    658664_icontabDescriptiongreen_ {<img
    659665src="_httpicontdescgr_" width=_widthtdescx_ border=0>}
  • trunk/gsdl/macros/document.dm

    r5622 r6813  
    1010_pagetitle_ {}
    1111_phindclassifier_ {}
     12_collageclassifier_ {}
    1213
    1314#######################################################################
     
    2021<p>
    2122_phindclassifier_
     23_collageclassifier_
    2224</center>
    2325}
     
    3436_textOrganizationpage_ {_texticonhorg_}
    3537_textBrowsepage_ {_texticonhbrwse_}
     38_textCollagepage_ {_texticonhcoll_}
    3639_textPeoplepage_ {_texticonhpeople_}
    3740_textLanguagepage_ {_texticonhlanguage_}
     
    118121}
    119122
     123_collageapplet_ {
     124 <applet CODEBASE="_httpprefix_/bin/java" code="org.nzdl.gsdl.GsdlCollageApplet.GsdlCollageApplet.class"
     125         archive="GsdlCollageApplet.jar" width="645" height="780">
     126 
     127 
     128     <param name="gwcgi" value="_gwcgi_">
     129         <param name="collection" value="_cgiargc_">
     130         <param name="classifier" value="_cgiargcl_.1">
     131       
     132         <param name="hrefMustHave" value="cl=_cgiargcl_.1">
     133         <param name="imageMustNotHave" value="hl=%x=%gt=%gc=%.pr">
     134
     135     <param name="imageType" value=".jpg%.png"> 
     136     <param name="verbosity" value="5">
     137     <param name="maxDepth" value="3">
     138     <param name="refreshDelay" value="1500">
     139     <param name="isJava2" value="auto">
     140
     141 </applet>
     142}
     143
    120144
    121145#######################################################################
     
    129153height="_heighthtitle_">}
    130154_iconTitlepage_ [v=1] {<h2>_texticonhtitle_</h2>}
     155
     156_iconCollagepage_ {<img src="_httpiconhcoll_" width="_widthhcoll_"
     157height="_heighthcoll_">}
     158_iconCollagepage_ [v=1] {<h2>_texticonhcoll_</h2>}
    131159
    132160_iconDescriptionpage_ {<img src="_httpiconhdescription_" width="_widthhdesc_"
Note: See TracChangeset for help on using the changeset viewer.