On Fri, 20 Feb 2004, Jewett, Jim J wrote:
> But as long as editing on the PDA is an option (and I agree that it
> should be) then some type of editing is needed.
For me, annotations would be useless unless editable on the PDA. But it
wouldn't be hard to do something like this. Allow word-tapping to select
a word. Then pop up a multi-line field which the user can edit--plain
text only. If the user saves the text, save it to a metarecord, together
with the byte-counts of the word boundaries. Thereupon, the word (and we
can later easily allow for phrases if we want, just by changing the
selection method) is highlighted, and tapping on it brings up the editable
note.
Technical suggestions:
1. In a metarecord, we have a list of annotations on each page, listing
the start and end positions of each of the annotations and an index
pointing to the record in which the annotation itself is stored.
Nested annotations are prohibited. We allow for "empty annotations",
i.e., just highlighting.
2. Moreover, the metarecord for each paragraph stores an index to the
first annotation in the list that occurs in the paragraph.
3. While rendering a paragraph, we keep track of the next annotation.
When we hit it, we call StartAnchor() with a new anchor type
(we need to allow for "anchor types", but that may be useful for
things), unless the annotation is empty, in which case we just
highlight.
4. Selecting an existing annotation is handled via the anchor code,
except that there is a flag that instead of going to a page, we
go to an annotation.
5. The Cleaner has the ability to convert the annotation metarecords
into human- and machine-readable memos. The memos go in a user-
selectable category, and all have the first line
PluckerNote : URL : UID : n-m, and then list annotations #n through
#m in that record. We try to fit as many in a memo as can go, and
each annotation starts with: Annotation #n : startChar : endChar
: keyText. (We should save the keyText--i.e., the highlighted
text, in the metarecord.)
Moreover, the Cleaner (which should also get a name change) has
the ability to create appropriate metarecords from these memos.
Or something like that.
Alex
--
Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED]
Philosophy Department || online papers and home page:
Georgetown University || www.georgetown.edu/faculty/ap85
Washington, DC 20057 ||
U.S.A. ||
-----------------------------------------------------------------------------
"Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur."
- Paul of Worczyn (1424)
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev