Show
Ignore:
Timestamp:
22.04.2009 14:46:38 (10 years ago)
Author:
kjdon
Message:

added OIDtype and OIDmetadata options to PagedImagePLugin to get persistent OIDs across platforms.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • collections/documented-examples/trunk/pagedimg-e/etc/collect.cfg

    r19169 r19196  
    1010# and hierarchical. So include two PagedImagePlugin plugins and modify the  
    1111# process_exp. 
    12 plugin      PagedImagePlugin -create_screenview true -minimumsize 100 -documenttype hierarchy -process_exp xml.*\.item$ 
    13 plugin      PagedImagePlugin -create_screenview true -minimumsize 100 -documenttype paged  
     12plugin      PagedImagePlugin -create_screenview true -minimumsize 100 -documenttype hierarchy -process_exp xml.*\.item$ -OIDtype assigned -OIDmetadata ItemOID 
     13plugin      PagedImagePlugin -create_screenview true -minimumsize 100 -documenttype paged  -OIDtype assigned -OIDmetadata ItemOID 
    1414plugin      MetadataXMLPlugin 
    1515plugin      ArchivesInfPlugin 
     
    9090 and Newspaper Pages, which contains the page images. 
    9191<p>Paged documents can be presented with a hierarchical table of contents  
    92 (e.g. <a href='?a=d&amp;c=_cgiargc_&amp;d=HASHecd552ed3c2d5f1f6a620f.2.2&p=text'>this one</a>),  
     92(e.g. <a href='?a=d&amp;c=_cgiargc_&amp;d=23\_\_1.2.1&p=text'>this one</a>),  
    9393or with next and previous page arrows, and a goto page box  
    94 (e.g. <a href='?a=d&amp;c=_cgiargc_&amp;d=HASH01f4f2a92e501cdfa5d243bb.2&p=preview'>this one</a>).  
     94(e.g. <a href='?a=d&amp;c=_cgiargc_&amp;d=10\_1\_2&p=preview'>this one</a>).  
    9595This is specified by the <tt>-documenttype (hierarchy|paged)</tt> option to PagedImagePlugin.  
    9696The next and previous arrows suit the linear sequence documents, while the table of contents  
     
    100100differently from the text-based item files. We can achieve this by adding two  
    101101PagedImagePlugin plugins to the collection, and configuring them differently.  
    102 <p><tt>plugin PagedImagePlugin -screenview -minimumsize 100 -documenttype hierarchy -process_exp xml.*\.item$<br/> 
    103 plugin  PagedImagePlugin -screenview -minimumsize 100 -documenttype paged </tt> 
     102<p><tt>plugin PagedImagePlugin -documenttype hierarchy -process_exp xml.*\.item$ <br/> 
     103plugin  PagedImagePlugin -documenttype paged </tt> 
    104104 
    105105<p>XML based newpapers have been grouped into a folder called <tt>xml</tt>.