[greenstone-users] Date display question.

From Neal, Rick
DateFri, 13 Apr 2007 13:47:51 -0400
Subject [greenstone-users] Date display question.
In-Reply-To (8ace54810704100054s57596727mb375bf67824878be-mail-gmail-com)
Hello,
 
I have a problem with our Greenstone collection. 
 
A little history - We hired a company to take our school newspapers, process them, and them give them to us in a form that we could then put into Greenstone.  This worked fine (Ugly but fine).  Then came the time to put new editions into the collection.  The process of adding editions never worked.  The company decided not to support Greenstone (or at least our collection) any longer and told us that they do not have anyone on staff to do this type of work. 
 
The company had parted ways with the programmer who worked on this project and I have since been working with him but even he is unable to do something that we want.
 
This link is to our test collection.:  http://digitest.richmond.edu/gsdl/
 
What we want is for the dates to display across the top, not down the side.  As an example, we want to mimic the way this page displays the dates:
 
 
I 'think' this must happen due to something in the collect.cfg file.  I have tweaked and tweaked all to no avail.
 
Would someone mind looking at our collect.cfg (below) and maybe suggesting something to try? 
 
Thanks,
 
Rick   (a.k.a. Greenstone Rookie)
 
Rick Neal
Library Systems Manager
University of Richmond
 

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
 
 

#indexes       section:text
#section:Title
 
searchtype form plain
indexes Classification Title Byline Keywords Headline ispage Year Month Day Publication text
levels document section
 
plugin        GAPlug
plugin       NewsPlug -block_exp (\d+\.xml|pdf|dtd|jpg|db|csv)$
plugin        ArcPlug
plugin        RecPlug -block_exp (pages)$
#plugin        ZIPPlug
 
macrofiles    iarchives.dm
 
##classify      AZList -metadata Date -buttonname Browse
classify DateList -bymonth -nogroup
#classify       DateList
#classify      DateList -sort Number
#classify      AZCompactList -mingroup 1 -metadata Title -buttonname DateList -sort text
#classify      AZCompactList -mingroup 1 -metadata Title -sort text
#classify      AZCompactList -mingroup 1 -metadata Title -sort Title
 
format DocumentVList '<td>
{If}{[imagename],
 {If}{[parent(Top):Title],
   {If}{[ispage],
      <!-- page -->
   <img width=1 src="/gsdl/web/images/blank.gif" onLoad="setCover('[DocOID]','4619CB1B8D625544BF3764E6B346DA1F08DF712E-helena-richmond-edu','/gsdl/collect/gsarch/import','[imagename].jpg');">
     <a href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-mdewsnip%26%2364%3bcs%2ewaikato%2eac%2enz--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=d/&d=[DocOID]" onMouseOver="showCover('/gsdl/collect/gsarch/import/[imagename].jpg',false);">[icon][highlight][Title][/highlight]</a>,
      <!-- article -->
   <img width=1 src="/gsdl/web/images/blank.gif" onLoad="setCover('[DocOID]','4619CB1B8D625544BF3764E6B346DA1F08DF712E-helena-richmond-edu','/gsdl/collect/gsarch/import','[imagename].jpg');">
      <a target=pdf href="/gsdl/collect/gsarch/import/[imagename].pdf" onClick="shrink('article');" onMouseOver="showCover('/gsdl/collect/gsarch/import/[imagename].jpg',true);">[icon]&nbsp;[highlight][Title][/highlight]</a>
   },
  
  
  
  <!-- title -->
  <b>[icon][Title] ([Date])</b>
},
 {If}{[parent(Top):Title],
   {If}{[ispage],
      <!-- page -->
   <img width=1 src="/gsdl/web/images/blank.gif" onLoad="setCover('[DocOID]','4619CB1B8D625544BF3764E6B346DA1F08DF712E-helena-richmond-edu','/gsdl/collect/gsarch/index/assoc/[parent(Top):archivedir]','[thumblink]');">
     <a href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-mdewsnip%26%2364%3bcs%2ewaikato%2eac%2enz--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=d/&d=[DocOID]" onMouseOver="showCover('/gsdl/collect/gsarch/index/assoc/[parent(Top):archivedir]/[thumblink]',false);">[icon][highlight][Title][/highlight]</a>,
      <!-- article -->
   <img width=1 src="/gsdl/web/images/blank.gif" onLoad="setCover('[DocOID]','4619CB1B8D625544BF3764E6B346DA1F08DF712E-helena-richmond-edu','/gsdl/collect/gsarch/index/assoc/[parent(Top):archivedir]','[thumblink]');">
      <a target=pdf href="/gsdl/collect/gsarch/index/assoc/[parent(Top):archivedir]/[pdflink]" onClick="shrink('article');" onMouseOver="showCover('/gsdl/collect/gsarch/index/assoc/[parent(Top):archivedir]/[thumblink]',true);">[icon]&nbsp;[highlight][Title][/highlight]</a>
   },
   <!-- title -->
   <b>[icon][Title]([Date])</b>
 }
}
</td>
<td valign="center">
<small>
{If}{[imagename],
 {If}{[ispage],
   &nbsp;<a target=pdf href="/gsdl/collect/gsarch/import/[imagename].pdf" onClick="shrink('page');">full page PDF</a>
 },
 {If}{[ispage],
   &nbsp;<a target=pdf href="_httppdfh_&d=[DocOID]" onClick="shrink('page');">full page PDF</a>
 }
}
</small>
</td>'
 
format SearchVList '<td spacing=2 border=1>
{If}{[imagename],
 <a target=pdf href="/gsdl/collect/gsarch/import/[imagename].pdf#xml=/gsdlmod?a=pdfh&pdfxml=1&qbare=_cgiargqbare_&d=[DocOID]" onClick="shrink('article');"></a>&nbsp;</td><td><a target=pdf href="/gsdl/collect/gsarch/import/[imagename].pdf#xml=/gsdlmod?a=pdfh&pdfxml=1&qbare=_cgiargqbare_&d=[DocOID]" onClick="shrink('article');">[Title]</a><br/>&nbsp;&nbsp;<small>from: [link][parent(Top):Title]([parent(Top):Date])[/link]</small>,
 <!-- <a target=pdf href="/gsdl/collect/gsarch/index/assoc/[parent(Top):archivedir]/[pdflink]#xml=/gsdlmod?a=pdfh&pdfxml=1&qbare=_cgiargqbare_&d=[DocOID]" onClick="shrink('article');"><img src=/gsdl/collect/gsarch/index/assoc/[parent(Top):archivedir]/[thumblink] width="205"></a> -->&nbsp;</td><td><a target=pdf href="/gsdl/collect/gsarch/index/assoc/[parent(Top):archivedir]/[pdflink]#xml=/gsdlmod?a=pdfh&pdfxml=1&qbare=_cgiargqbare_&d=[DocOID]" onClick="shrink('article');">[Title]</a><br/>&nbsp;&nbsp;<small>from: [link][parent(Top):Title] ([parent(Top):Date])[/link]</small>
}
</td>'
 
format CL1 '<td valign=top>[link]{If}{[thistype],[icon]&nbsp;&nbsp;[Title],<font size=+1>[icon][Title]</font>}[/link]{If}{[Date], - [Date]}</td>'
 
#format DateList '<td valign=top>[link]{If}{[thistype],[icon]&nbsp;&nbsp;[Title],<font size=+1>[icon][Title]</font>}[/link]{If}{[Date], - [Date]}</td>'
 

format DocumentImages false
format DocumentTitles false
format DocumentButtons 'Highlight'
format DocumentArrowsBottom false
format DocumentUseHTML true
 
collectionmeta .section:text "full text"
collectionmeta .section:Title "article titles"
 
cgiarg          shortname=p argdefault=about
cgiarg          shortname=ct argdefault=1
cgiarg          shortname=c argdefault=bl
 
#supercollection cnp cnp3
 
receptionist /gsdl_bl/cgi-bin/iarchives?a=p&p=about&c=bl
 
OIDtype incremental
#no_text 1