# ============================================================================
#  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,Nokia.mobi,,http://nokia.mobi/entry/van/main/5800d-1,,,,,1,
Item,Ovi by Nokia,,www.ovi.mobi,,,,,1,
Item,Facebook,,http://fb.link.nokia.com/mobib,,,,,1,
Item,MySpace,,http://mas.link.nokia.com/mobib,,,,,1,
Item,Youtube,,http://link.nokia.com/redir/youtube/b,,,,,1,

Folder,Download Sounds,,,,,,1,1,00000003
Item,Tone downloads,Download Sounds,http://nokia.mobi/entry/van/tones/5800d-1,,,,,1,

Folder,Download Images,,,,,,1,1,00000002
Item,Graphics downloads,Download Images,http://nokia.mobi/entry/van/graphics/5800d-1,,,,,1,

Folder,Download Videos,,,,,,1,1,00000004
Item,Video downloads,Download Videos,http://nokia.mobi/entry/van/video/5800d-1,,,,,1,

Folder,Download Skins,,,,,,1,1,00000007
Item,Theme downloads,Download Skins,http://nokia.mobi/entry/van/themes/5800d-1,,,,,1,

Folder,Download Games,,,,,,1,1,00000005
Item,Game downloads,Download Games,http://nokia.mobi/entry/van/games/5800d-1,,,,,1,

Folder,Download Applications,,,,,,1,1,00000001
Item,Application downloads,Download Applications,http://nokia.mobi/entry/van/apps/5800d-1,,,,,1,

Folder,Download Music,,,,,,1,1,00000008
Item,Music downloads,Download Music,http://nokia.mobi/entry/van/music/5800d-1,,,,,1,



