« ZurückWeiter »
Mice was beginning to get very tired of sitting by her sister on the bank, and of having nothing to do: once or twice she had peeped into the book ler sister was reading, but it had no pictures or conversations in it, "anc what is the use of a book," thought Alice, "without pictures or :onversation?"So she was considering in her own mind (as well as she :outd, for the hot day made her feel very sleepy and stupid), whether the Pleasure of making a daisy-chain would be worth the trouble of getting jp and picking the daisies, when suddenly a White Rabbit with pink eyes ran close by her.There was nothing so very remarkable in that; nor did Mice think it so very much out of the way to hear the Rabbit say to itself, 'Oh dear! Oh dear! I shall be late!" (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice st
Alice was beginning to get very tired of sitting by her
sister on the bank, and of having nothing to do: once or twice she had peeped into the book her sister was reading, but it had no pictures or conversations in it, 'and what is the use of a book," thought Alice, "without pictures or conversation?"So she was considering in her own mind (as well as she could, for the hot day made her feel very sleepy and stupid), whether the pleasure of making a daisy-chain would be worth the trouble of getting up and picking the daisies, when suddenly a White Rabbit with pink eyes ran close by her.There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, "Oh dear! Oh dear! I shall be late!" (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoatpocket, and looked at it, and then hurried on, Alice st
TECHNIQUES FOR INVOKING SYSTEM
COMMANDS FROM WITHIN A MARK-UP
FIELD OF THE INVENTION
The present invention relates to mark-up language documents, and more particularly to techniques for invoking system commands from within a mark-up language document.
BACKGROUND OF THE INVENTION
When viewed through an application program, such as a web browser or a reading device (discussed herein), links are 35 commonly depicted as underlined text having a blue or red color. In the mark-up language document itself, the link is designated by a link attribute and corresponding language to indicate the resource to which it refers. The link attributes generally include, for example, the following: href (URL for 40 linked resource); id (SGML ID attribute); rel (forward link types); rev (reverse link types); and title (advisory title string). Examples of links within a mark-up language document include:
1) <A HREF="http://msn.com">
2) <A HREF="ftp://msn.com">
4) <A HREF="mailto:email@example.com">
Because of their versatility, mark-up languages are now used in a number of applications. One such application is for authoring web-page content. Another such application that is rapidly gaining recognition is for so-called "electronic 60 books" or "e-books." E-books are electronic publications (such as books, journals, magazines, etc.) that can be viewed using computer-based display devices. Application programs running on these reading devices display the e-book content. Examples of such reading devices include the 65 "ROCKET EBOOK" by NuvoMedia, Inc. and the "SOFTBOOK READER" by Softbook Press, Inc. Alternatively,
these devices may be traditional computing devices such as personal computers.
E-books are provided in a mark-up language format. As a result, e-book pages may be formatted and linked using the commands available in the mark-up language. For example, e-books may be formatted in a general format in accordance with an Open eBook standard. This standard is set forth in Open eBook Publication Structure 1.0, which can be found at www.openebook.org and Open eBook Forum, 302 A West 12th Street, #304. New York, N.Y 10014. This publication is incorporated herein by reference in its entirety.
One aspect of e-books is that it may be desirable to perform various system commands while viewing an e-book. Consider, for example, a user viewing an e-book from a personal computing environment. The user may wish to adjust the font settings. Present systems are limiting in that the user must take several steps to invoke system commands and operations. To adjust font settings, the user must exit the window for the e-book viewing program, call up the specific commands from the operating system to adjust the font, and then return to the e-book. This may be particularly disruptive where the user is in the middle of reading an e-book. It is therefore desirable to have a system where system commands may be more conveniently accessed and performed without interrupting the user's activity.
SUMMARY OF THE INVENTION
The present invention solves many of the aforementioned problems by providing a method of invoking pre-defined system commands directly from a mark-up language document. Links referencing a pre-defined system command to be invoked may be embedded within the document. The specific system command may be identified in the link by an alias, such as, for example, a numeric code. When a user selects the link, the system will analyze the contents of the link. If the link includes an instruction to invoke a system command, the system will extract the corresponding alias, refer to a look-up table to identify the appropriate system command to which the alias refers, and execute the identified system command. The look-up table correlates each alias with a pre-defined system command.
By using the invoking techniques of the present invention, system commands may be invoked directly from within a mark-up language document. Further, since only those system commands identified in the look-up table can be