# ============================================================================
#  Name     : BookmarkImportSample.txt
#  Part of  : Bookmark Engine - Bookmark Import Utility
#
#  Description:
#      Sample Bookmark Import file (input for BookmarkImport.exe).
#      
#  Version:
#
#  Copyright (C) 2003 Nokia Corporation.
#  This material, including documentation and any related 
#  computer programs, is protected by copyright controlled by 
#  Nokia Corporation. All rights are reserved. Copying, 
#  including reproducing, storing,  adapting or translating, any 
#  or all of this material requires the prior written consent of 
#  Nokia Corporation. This material also contains confidential 
#  information which may not be disclosed to others without the 
#  prior written consent of Nokia Corporation.
#
# ============================================================================
#
# Invocation
# ==========
#
# $> BookmarkImport.exe <EPOC path of inputfile>
#
# Syntax
# ======
#
# Each line defines a folder or an item. Use a comma-separated list of attributes:
# Type,Name,ParentFolderName,URL,AccessPoint,UserName,Password,ReadOnly,FactoryItem,ContextId[,Preferred]<\n>
#
# Type:             "Folder"      to create a folder; or
#                   "Item"        to create an item; or
#                   "Homepage"    to set Homapage (not the Start Page! currently unused); or
#                   "LastVisited" to set Last Visited Bookmark.
# Name:             Name of the new entry. Must be a valid and unique name.
# ParentFolderName: Name of parent folder (must exist); or leave empty for root folder.
# URL:              URL of the bookmark. Must be empty for folders, must be present for items.
# AccessPoint:      Access Point Id (from CommsDb); or leave empty to set AP to "Default"
# UserName:         Username of bookmark. May be empty. For folders it must be empty.
# Password:         Password of bookmark. May be empty. For folders it must be empty.
# ReadOnly:         Read only flag: 0 or empty for False, 1 for True.
# FactoryItem:      Factory item flag: 0 or empty for False, 1 for True.
# ContextId:        Context id (seamless link support). Set hexadecimal number or leave empty for 0x0.
# Preferred:        Item is preferred in its folder: 0 or empty for False, 1 for True. Optional attribute.
#
# - Use a little-endian Unicode text file (Unicode header must be FE,FF).
# - Everything is case-sensitive.
# - Lines beginning with '#' can be used to comment.
# - Empty lines (one \n only) are ignored.
# - Each line (including the last line and the comment lines) must be terminated with \n.
#
# Possible error causes
# =====================
#
#     0 KErrNone          Successful import.
#    -1 KErrNotFound      Parent folder not found.
#    -5 KErrNotSupported  Input file is not a little endian Unicode file.
#    -6 KErrArgument      Invalid bookmark data. Invalid command line arguments.
#    -9 KErrOverflow      Bookmark attribute too long.
#   -11 KErrAlreadyExists Bookmark name not unique.
#   -12 KErrPathNotFound  Input file is not found.
#   -20 KErrCorrupt       Input file is not Unicode. Syntax error in input file.
#   -28 KErrBadName       Bookmark name is invalid.
#
# Example data
# ============
#
#Folder,A Folder,,,,,,,,
#Folder,Test,,,,,,,,
#Item,WAP Stop Hu,,http://wap.stop.hu,,Basil the sheep,Basil's password,1,1,aaff
#Item,Eco,A Folder,http://wap.eco.hu,6,,,0,0,12ad
#
# Example data #2: (with Seamless Link folders)
# ======================================

Item,Browser Users,,http://waplabdc.nokia-boston.com/browser/users/index.asp,,,,,1,
Item,CSE Team Page,,http://waplabdc.nokia-boston.com/browser/users/cse/index.asp,,,,,1,
Item,TCG,,http://testsuite.nokia-boston.com,,,,,1,
Item,S60 Acceptance Test,,http://testsuite.nokia-boston.com/s60accept/qstart.asp,,,,,1,
Item,Google,,http://www.google.com,,,,,1,
Item,OSS Browser Report,,http://waplabdc.nokia-boston.com/browser/users/OSSBrowser/errorEmail/error.asp,,,,,1,

Folder,Test sites,,,,,,0,1,
Item,DDT,Test sites,http://ammo.factory.cellulardata.com:8000/ddt,,,,,1,
Item,DDT (no cookies),Test sites,http://ammo.factory.cellulardata.com:8000/ddtnc,,,,,1,,1
Item,Digdown,Test sites,http://digdown1.extra.wirelessfuture.com/ddtnc,,,,,1,
Item,DLS 2.0 S60,Test sites,http://trsrv42.wirelessfuture.com/content/s60/index.wml,,,,,1,
Item,DLS 2.0 IOP,Test sites,http://www.it.cellulardata.com/iop/dls20/index.wml,,,,,1,
Item,Wirelessfuture,Test sites,http://trsrv29.extra.wirelessfuture.com/drm/index.wml,,,,,1,
Item,Tre IOP XHTML,Test sites,http://rave.cellulardata.com/xhtml/index.xhtml,,,,,1,
Item,Tre IOP WML,Test sites,http://195.134.227.137/1.wml,,,,,1,
Item,Valimo,Test sites,http://kate.valimo.com,,,,,1,
Item,Scheme Handler,Test sites,http://213.163.38.134/test/SchemeHandler/SchemeHandler.wml,,,,,1,
Item,AngieSmokes,Test sites,http://s60testbuda.ccc.fi/test/AngieSmokes/AngieSmokes.wml,,,,,1,

Folder,Download Applications,,,,,,1,1,00000001
Folder,Download Images,,,,,,1,1,00000002
Folder,Download Tones,,,,,,1,1,00000003
Folder,Download Videos,,,,,,1,1,00000004
Folder,Download Skins,,,,,,1,1,00000007
Folder,Download Music,,,,,,1,1,00000008