Re: Searchable Reader-side URL Anchors ...

* Mirsad Todorovac wrote:
>For example, I refer to http://{...}/rfc1738.txt, second chapter, third
>paragraph - the cute way to do it would be to have browser immediatelly
>open desired chapter and paragraph; without forcing user to scroll and
>find it.
>
>Back then I proposed syntax for new type of URL with new type of anchor:
>
>	http://{...}/.../.../rfc1738.txt##Second%20Chapter
>
>... to distinguish it from #Second%20Chapter, which would in turn refer to
>a <A NAME="Second Chapter"> in HTML file (but in plaintext, as you have
>already spotted - there are no anchors).

"Second Chapter" would not be a valid HTML anchor identifier... However,
this is a problem of the media type, not of the URI. You can define what
fragment identifiers refer to in text/plain documents, this would only
require an RFC that updates the original text/plain registration, but I
doubt this would make sense. How would an application determine where
your fragment "#Second Chapter" is in that plain text file? How would
you define this in a generic way, even with your ## syntax?

>You must remember many situations when you were refered third chapter in
>larger page, but have been diverted your attention in first or second
>chapter and started to red that, forgetting what you came for in the first
>place?

What about the simple conclusion that it is a bad idea to publish larger
documents in text/plain?

Received on Wednesday, 20 February 2002 13:12:04 UTC