Internet Draft R. Gellens Document: draft-ietf-acap-book-01.txt QUALCOMM Expires: 18 June 1999 18 December 1998 ACAP Bookmarks Dataset Class Status of this Memo: This document is an Internet Draft. Internet Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet Drafts. Internet Drafts are draft documents valid for a maximum of six months. Internet Drafts may be updated, replaced, or obsoleted by other documents at any time. It is not appropriate to use Internet Drafts as reference material or to cite them other than as a "working draft" or "work in progress." To learn the current status of any Internet Draft, please check the "1id-abstracts.txt" listing contained in the Internet Drafts shadow directories on ftp.is.co.za (Africa), nic.nordu.net (Europe), munnari.oz.au (Pacific Rim), ftp.ietf.org (US East Coast), or ftp.isi.edu (US West Coast). A version of this draft document is intended for submission to the RFC editor as a Proposed Standard for the Internet Community. Discussion and suggestions for improvement are requested. Public comments can be sent to the IETF ACAP mailing list, . To subscribe, send a message containing SUBSCRIBE to . Private comments should be sent to the author. Copyright Notice Copyright (C) The Internet Society 1998. All Rights Reserved. Gellens Expires June 1999 [Page 1] Internet Draft ACAP Bookmarks Dataset Class December 1998 Table of Contents 1. Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Conventions Used in this Document . . . . . . . . . . . . . . 2 3. ACAP Bookmarks Dataset Class . . . . . . . . . . . . . . . . 2 3.1. ACAP Bookmarks Dataset Class Prefix . . . . . . . . . . . 3 3.2. ACAP Bookmarks Dataset Hierarchy . . . . . . . . . . . . 3 4. Recommended ACAP Bookmarks Dataset Attributes . . . . . . . . 3 4.1. Basic Attributes . . . . . . . . . . . . . . . . . . . . 3 4.2. Specific Attributes . . . . . . . . . . . . . . . . . . . 5 5. Common ABNF . . . . . . . . . . . . . . . . . . . . . . . . 5 6. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . 6 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 6 8. Security Considerations . . . . . . . . . . . . . . . . . . . 6 9. Author's Address . . . . . . . . . . . . . . . . . . . . . . 6 10. Full Copyright Statement . . . . . . . . . . . . . . . . . . -1 1. Abstract Storing URLs [URL] for later access has become common in Internet applications (for example, web browsers, FTP clients); these saved URLs have become known as bookmarks. It would be desirable to access one's bookmarks from multiple clients and multiple machines. The Application Configuration Access Protocol [ACAP] provides an ideal mechanism for storage of bookmarks, providing for ease of coordination and synchronization of bookmarks between diverse applications and systems, as well as for hierarchy, inheritance, and sharing. This specification defines a standard ACAP dataset class for bookmarks. 2. Conventions Used in this Document The key words "MUST", "MUST NOT", "SHOULD", "SHOULD NOT", and "MAY" in this document are to be interpreted as defined in "Key words for use in RFCs to Indicate Requirement Levels" [KEYWORDS]. 3. ACAP Bookmarks Dataset Class The ACAP Bookmarks dataset class defines a set of attributes for each bookmark, and provides for bookmark inheritance and hierarchy. 3.1. ACAP Bookmarks Dataset Class Prefix Gellens Expires June 1999 [Page 2] Internet Draft ACAP Bookmarks Dataset Class December 1998 Datasets whose names begin with "/bookmarks" are assumed to contain bookmark entries as defined in this specification. 3.2. ACAP Bookmarks Dataset Hierarchy Each user may have a hierarchical set of bookmarks. Nested or hierarchical bookmarks (that is, bookmark folders) SHOULD be represented using the ACAP Hierarchy. Any entry in a bookmarks dataset can be a hierarchy node by setting the "subdataset" attribute. Inheritance is likely to be useful both for inheriting sets of site or group default bookmarks as well as for inheriting user-specific bookmarks when using different machines. 4. Recommended ACAP Bookmarks Dataset Attributes A Bookmarks dataset entry MUST have an "entry" attribute. All other attributes are OPTIONAL. Attributes are specified using Augmented Backus-Naur Form [ABNF]. All attributes are single-valued and textual unless otherwise stated. The ABNF defines the content of the attribute values prior to their encoding as an ACAP string. Clients MUST conform to the syntax when generating these attributes, but MUST NOT assume that the attribute values will conform to this syntax on access. Servers MUST NOT enforce the syntax. 4.1. Basic Attributes These attributes are defined in ACAP [ACAP] and have meaning in all dataset classes. The section describes how they are used in a bookmarks dataset. entry The "entry" attribute is used to hold a unique name for the bookmark. The name MUST be unique, but is not expected to be descriptive, and may not be suitable for display to users. It is client-defined. subdataset The "subdataset" attribute indicates there is another bookmark dataset underneath this entry. Gellens Expires June 1999 [Page 3] Internet Draft ACAP Bookmarks Dataset Class December 1998 4.2. Specific Attributes These attributes are specific to the Bookmarks dataset class. bookmarks.Date.Added This contains the date and time of the original creation of this entry. The value is expressed in UTC with a timezone offset, indicating the user's local time. book-date = datetime ;specified in Common ABNF bookmarks.Description This contains the user-assigned description of the entry, as a series of CRLF-separated lines. book-description = *line ;specified in Common ABNF bookmarks.Last.Modified This contains the date and time of the most recent modification of the entry. Modification includes any user-initiated action (such as editing the description) but not automatic actions (such as updating the "Last.Visited" attribute). The value is expressed in UTC, with a timezone offset indicating the user's local time. book-modtime = datetime ;specified in Common ABNF bookmarks.Last.Visited This contains the date and time of the most recent access of the location represented by the entry's URL. The value is expressed in UTC, with a timezone offset indicating the user's local time. book-visit = datetime ;specified in Common ABNF bookmarks.Name This specifies a descriptive name for the entry. It does not need to be unique. book-name = 1*(VCHAR / SP) bookmarks.Type This contains a token describing the type of the entry. The Separator type indicates the entry is separator for display purposes. The Folder type is used for a container or folder (used with ACAP subdatasets). The Alias type is used for an alias entry, in which case the URL is an ACAP URL to an entry in an ACAP Bookmarks dataset. The Link type is used to refer to any type of object, for example, a web page or a file. book-type = "separator" / "link" / "alias" / "folder" Gellens Expires June 1999 [Page 4] Internet Draft ACAP Bookmarks Dataset Class December 1998 bookmarks.URL This contains the URL of the object referred to by this entry. For Link type entries, this can be any type of URL. For Alias type entries, this is an ACAP URL. ACAP URLs are specified in [ACAP]. book-url = url ;defined in [URL] 5. Common ABNF The following [ABNF] rules are used above. datetime = year month day hour minute second timezone ;UTC and offset to local time day = 2DIGIT hour = 2DIGIT line = *(VCHAR / SP) CRLF minute = 2DIGIT month = 2DIGIT second = 2DIGIT timezone = ("+" / "-") 4DIGIT year = 4DIGIT 6. Examples entry a23gzk bookmarks.Date.Added 19840101000001+0800 bookmarks.Description Where I get my worms bookmarks.Last.Modified 19971114071202+0800 bookmarks.Last.Visited 19980311173545+0800 bookmarks.Name Fred's Bait and Tackle bookmarks.Type link bookmarks.URL http://www.fredsbaitandtackle.com/ entry xyzzy bookmarks.Date.Added 19770612140004+0500 bookmarks.Description This really cool site I stumbled on when looking for something else. It has detailed and easy to follow instructions on how to crush beer cans bookmarks.Last.Modified 19971231235902+0800 Gellens Expires June 1999 [Page 5] Internet Draft ACAP Bookmarks Dataset Class December 1998 bookmarks.Last.Visited 19980311173510+0800 bookmarks.Name Yip Yap's Helpful HowTo Page bookmarks.Type link bookmarks.URL http://stud.cheesy.edu/~jru/ 7. References [ABNF] Crocker, Overell, "Augmented BNF for Syntax Specifications: ABNF", RFC 2234, Internet Mail Consortium, Demon Internet Ltd., November 1997. [ACAP] Newman, Myers, "ACAP -- Application Configuration Access Protocol", RFC 2244, Innosoft, Netscape, November 1997. [KEYWORDS] Bradner, "Key words for use in RFCs to Indicate Requirement Levels", RFC 2119, Harvard University, March 1997. [URL] Berners-Lee, Masinter, McCahill, "Uniform Resource Locators (URL)", RFC 1738, CERN, Xerox Corporation, University of Minnesota, December 1994. [UTF8] Yergeau, F. "UTF-8, a transformation format of ISO 10646", RFC 2279, Alis Technologies, January 1998. 8. Security Considerations As with ACAP datasets in general, it is important that access controls are set correctly on Bookmarks datasets. Attributes may contain personal information which should not be disclosed except by explicit owner request. 9. Author's Address Randall Gellens +1 619 651 5115 QUALCOMM Incorporated Randy@Qualcomm.Com 6455 Lusk Blvd. San Diego, CA 92121-2779 U.S.A. 10. Full Copyright Statement Copyright (C) The Internet Society 1998. All Rights Reserved. Gellens Expires June 1999 [Page 6] Internet Draft ACAP Bookmarks Dataset Class December 1998 This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English. The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns. This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Gellens Expires June 1999 [Page 7]