On Nov 29, 2007, at 2:58 PM, Riley, Jenn wrote:
> We'll want to be able to construct a link that references the
> correct page within a PDF file for a given <div> in the
> <structMap>. The HTML link is easy: <http://kb.adobe.com/
> selfservice/viewContent.do?externalId=317300&sliceId=2>. I'm
> wondering what the best way to do this in METS is, though. ftpr/
> area, with BEGIN and END attributes seems reasonable, but what to
> include for BETYPE? Nothing from the list in the Schema fits:
>
> I think I need <area> because I'm pointing to a position within a
> single file. Are there other options I'm not considering?
>
If it was me, I'd probably skip using <area> altogether for the PDF.
Since you can construct a URL that points to a particular
page, just put all of the necessary URLS into individual <file>
elements, and then reference those from the
appropriate <div> elements using an <fptr>.
This may seem a bit cheating, but practically speaking, there isn't a
mechanism to identify a range of content
within a PDF document; all you have available is a way to open to a
particular location/page within the entire
document. Since PDF doesn't have any means for you to address a
range of content within it, using multiple
<file> elements to point to different locations in the same file and
<fptr>s within the <structMap> seems the
least complicated compromise solution.
> Along the same lines, is the following the best way to refer to a
> specific section of a TEI file, where milestone1 and milestone2
> refer to elements in the TEI with id attributes having those
> values, respectively? This came up on a different list yesterday
> and this was my first pass at the problem, but something's nagging
> at me that this isn't the best solution:
>
> <mets:fptr>
> <mets:area FILEID="teiFile" BETYPE="IDREF" BEGIN="milestone1"
> END="milesone2"/>
> </mets:fptr>
>
Assuming you want to reference the text beginning at the milestone1
element and ending at the milestone2
element, the above is exactly how I would encode it. If the section
of content you want to reference in the TEI
file is enclosed within a single tag, you could also use an <area>
element with just BEGIN and BETYPE attributes,
and use the BEGIN attribute to include the XML ID attribute value for
the tag enclosing the content. If you want
to be extra thorough, you could thrown in as an END attribute the XML
ID attribute value for the tag immediately
following the referenced content in the TEI file.
Jerome McDonough, Asst. Professor
Graduate School of Library & Information Science
University of Illinois, Urbana-Champaign
501 E. Daniel Street, Room 202
Champaign, IL 61820
(217) 244-5916
[log in to unmask]
|