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:
MARKABLE.
If you set this option to TRUE, the phone allows the user to mark any card in the deck by default. Individual cards can override this option.
The default for the deck MARKABLE option is FALSE.
MARKABLE.
This option overrides the deck's MARKABLE option. If it is TRUE, the user can bookmark the card. If it is FALSE, the user can't bookmark the card.
TITLE, which provides a default bookmark name.
If you don't specify a title, the phone uses the card's first line of display text as the default title for the bookmark. When the user bookmarks the card, he or she can edit the bookmark name.
BOOKMARK, which specifies the URL that is added to the bookmark list.
If you don't specify this option, the phone uses the card's URL. Set this option only if you want the marked URL to be different from the card's actual URL.
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.
FIGURE 2-13. Bookmarking a card
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.