Changeset 7352 for trunk


Ignore:
Timestamp:
2004-05-20T09:24:38+12:00 (20 years ago)
Author:
kjdon
Message:

added a bit more to the description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/PagedImgPlug.pm

    r7337 r7352  
    2828# processes sequences of images, with optional OCR text
    2929#
    30 # This plugin takes .item files, which contain metadata and lists of image
     30# This plugin takes *.item files, which contain metadata and lists of image
    3131# files, and produces a document containing sections, one for each page.
    32 #
    33 # The format of the .item file is as follows:
     32# The files should be named something.item, then you can have more than one
     33# book in a directory. You will need to create these files, one for each
     34# document/book.
     35#
     36# The format of the xxx.item file is as follows:
    3437# The first lines contain any metadata for the whole document
    3538# <metadata-name>metadata-value
     
    3841# <Date>19230102
    3942# Then comes a list of pages, one page per line, each line has the format
     43#
    4044# pagenum:imagefile:textfile:r
     45#
    4146# page num and imagefile are required. pagenum is used for the Title
    4247# of the section, and in the display is shown as page <pagenum>.
     
    6368#
    6469# format DocumentText "<center><table width=_pagewidth_><tr><td>[srcicon]</td></tr></table></center>"
     70#
     71# To have it create thumbnail size images, use the '-thumbnail' option.
     72# To have it create medium size images for display, use the '-screenview'
     73# option. As usual, running
     74# 'perl -S pluginfo.pl PagedImgPlug' will list all the options.
     75
     76# If you want the resulting documents to be presented with a table of
     77# contents, use '-documenttype hierarchy', otherwise they will have
     78# next and previous arrows, and a goto page X box.
    6579
    6680# If you have used -screenview, you can also use [screenicon] in the format
     
    7185#
    7286# Additional metadata can be added into the .item files, alternatively you can
    73 # use normal metadata.xml files, with the name of the .item file as the
     87# use normal metadata.xml files, with the name of the xxx.item file as the
    7488# FileName.
    7589
Note: See TracChangeset for help on using the changeset viewer.