Changeset 87:a0fbc9a42be8 in documentViewer


Ignore:
Timestamp:
Mar 19, 2010, 11:42:40 AM (14 years ago)
Author:
casties
Branch:
default
Message:

first version with new full-text infrastructure and slightly changed templates

Location:
zpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zpt/addDocumentViewer.zpt

    r47 r87  
    44                <p class="form-label">Id<input name="id"></p>
    55                <p class="form-optional">Title<input size="80" name="title"></p>
    6                 <p class="form-label">Image viewer url<input size="80" name="imageViewerUrl"></p>
    7                 <p class="form-optional">Text viewer url<input size="80" name="TextViewerUrl" value="testXSLT/getPage?"></p>
     6                <p class="form-label">Image scaler URL<input size="80" name="imageScalerUrl" value="http://digilib.mpiwg-berlin.mpg.de/digitallibrary/servlet/Scaler?"></p>
     7                <p class="form-optional">Text server name<input size="80" name="textServerName" value="mpdl-proto.mpiwg-berlin.mpg.de"></p>
    88               
    99                <p><input type="submit" value="add"></p>
  • zpt/changeDocumentViewer.zpt

    r67 r87  
    88                <p class="form-optional">Title</p>
    99        <p class="form-element"><input size="80" tal:attributes="value here/title" name="title"></p>
    10                 <p class="form-label">Image viewer URL</p>
    11         <p class="form-element"><input size="80" tal:attributes="value here/imageViewerUrl" name="imageViewerUrl"></p>
    12         <p class="form-text">Full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/zogilib?')</p>
    13         <p class="form-optional">digilib base URL</p>
    14         <p class="form-element"><input size="80" tal:attributes="value here/digilibBaseUrl" name="digilibBaseUrl"></p>
    15         <p class="form-text">This information can be automatically detected if the image viewer above is a Zogilib instance.<br/>
    16         You must clear this field when you change the image viewer URL above.</p>
    17         <p class="form-label">Text viewer URL</p>
    18         <p class="form-element"><input size="80" tal:attributes="value python:getattr(here,'textViewerUrl','')" name="textViewerUrl"></p>
    19         <p class="form-text">Should be a displayXML instance, full URL up to the '?' (e.g. 'http://echo.mpiwg-berlin.mpg.de/viewText?')</p>
    20        
     10        <p class="form-text">The image scaler URL and text server URL have to be configured in the <tt>zogilib</tt> and <tt>fulltextclient</tt>
     11        objects in the <tt>template</tt> folder.</p>
    2112        <p class="form-optional">Thumbnail rows</p>
    2213        <p class="form-element"><input size="3" tal:attributes="value here/thumbrows | default" name="thumbrows"></p>
Note: See TracChangeset for help on using the changeset viewer.