# ============================================================================
#  Name     : BookmarkImport_013.txt
#  Part of  : Bookmark Engine - Bookmark Import Utility
#
#  Description:
#      Bookmark Import file (input for BookmarkImport.exe). Based on document DRS02338-EN-3.0
#      
#  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 or 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
#
# ======================================

Item,Ovi,,http://www.ovi.mobi,,,,,1,
Item,Nokia Maps,,www.nokia.mobi/navigation,,,,,1,
Item,Nokia Ngage,,www.n-gage.com,,,,,1,
Item,Nokia mobile,,http://ea.mobile.nokia.com/ea,,,,,1,
Item,Nokia Phone Support,,http://www.nseries.com/support,,,,,1,
Item,Facebook,,http://fb.link.nokia.com/mobib,,,,,1,
Item,YouTube,,http://www.youtube.com,,,,,1,
