[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Doing More with HDML
Section 16 out of 67 total sections , Section 3 out of 7 sections in this chapter


Allowing users to bookmark your service

The UP.Browser supports bookmarks, which are similar to bookmarks in Netscape Navigator or "Favorites" in Internet Explorer. When the user bookmarks a card, the UP.Phone adds a bookmark to the user's bookmark list. The bookmark includes a title and a URL. To return directly to a bookmarked card, the user chooses the bookmark from the bookmark list.

HDML 3.0 provides the following options to configure bookmarking:

For example, the following deck contains two cards. Users can bookmark the first card. However, they can't bookmark the second card, because its MARKABLE=FALSE option overrides the MARKABLE=TRUE option specified for the deck. Figure 2-13 depicts the bookmarking interface provided by this deck.


IMPORTANT     You can't test bookmarking features using the UP.Phone Simulator in HTTP direct mode. You must use it in UP.Link mode. For more information on using the simulator in UP.Link mode, see the UP.SDK Tools and APIs Reference.

FIGURE  2-13.     Bookmarking a card


IMPORTANT     When you make a deck bookmarkable, it implicitly makes the deck public (sets the deck's PUBLIC option to TRUE), allowing any URL to directly request any card in the deck. If a deck contains cards that include sensitive information or that have side effects (such as conducting transactions), making it bookmarkable may be a security risk. For more information, see Using the MARKABLE option.


[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Doing More with HDML
Section 16 out of 67 total sections , Section 3 out of 7 sections in this chapter


Copyright © 1999, Unwired Planet, Inc. All rights reserved.