#   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 #     N a m e           :   B o o k m a r k I m p o r t S a m p l e . t x t 
 
 #     P a r t   o f     :   B o o k m a r k   E n g i n e   -   B o o k m a r k   I m p o r t   U t i l i t y 
 
 # 
 
 #     D e s c r i p t i o n : 
 
 #             S a m p l e   B o o k m a r k   I m p o r t   f i l e   ( i n p u t   f o r   B o o k m a r k I m p o r t . e x e ) . 
 
 #             
 
 #     V e r s i o n : 
 
 # 
 
 #     C o p y r i g h t   ( C )   2 0 0 3   N o k i a   C o r p o r a t i o n . 
 
 #     T h i s   m a t e r i a l ,   i n c l u d i n g   d o c u m e n t a t i o n   a n d   a n y   r e l a t e d   
 
 #     c o m p u t e r   p r o g r a m s ,   i s   p r o t e c t e d   b y   c o p y r i g h t   c o n t r o l l e d   b y   
 
 #     N o k i a   C o r p o r a t i o n .   A l l   r i g h t s   a r e   r e s e r v e d .   C o p y i n g ,   
 
 #     i n c l u d i n g   r e p r o d u c i n g ,   s t o r i n g ,     a d a p t i n g   o r   t r a n s l a t i n g ,   a n y   
 
 #     o r   a l l   o f   t h i s   m a t e r i a l   r e q u i r e s   t h e   p r i o r   w r i t t e n   c o n s e n t   o f   
 
 #     N o k i a   C o r p o r a t i o n .   T h i s   m a t e r i a l   a l s o   c o n t a i n s   c o n f i d e n t i a l   
 
 #     i n f o r m a t i o n   w h i c h   m a y   n o t   b e   d i s c l o s e d   t o   o t h e r s   w i t h o u t   t h e   
 
 #     p r i o r   w r i t t e n   c o n s e n t   o f   N o k i a   C o r p o r a t i o n . 
 
 # 
 
 #   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 # 
 
 #   I n v o c a t i o n 
 
 #   = = = = = = = = = = 
 
 # 
 
 #   $ >   B o o k m a r k I m p o r t . e x e   < E P O C   p a t h   o f   i n p u t f i l e > 
 
 # 
 
 #   S y n t a x 
 
 #   = = = = = = 
 
 # 
 
 #   E a c h   l i n e   d e f i n e s   a   f o l d e r   o r   a n   i t e m .   U s e   a   c o m m a - s e p a r a t e d   l i s t   o f   a t t r i b u t e s : 
 
 #   T y p e , N a m e , P a r e n t F o l d e r N a m e , U R L , A c c e s s P o i n t , U s e r N a m e , P a s s w o r d , R e a d O n l y , F a c t o r y I t e m , C o n t e x t I d [ , P r e f e r r e d ] < \ n > 
 
 # 
 
 #   T y p e :                           " F o l d e r "             t o   c r e a t e   a   f o l d e r ;   o r 
 
 #                                       " I t e m "                 t o   c r e a t e   a n   i t e m ;   o r 
 
 #                                       " H o m e p a g e "         t o   s e t   H o m a p a g e   ( n o t   t h e   S t a r t   P a g e !   c u r r e n t l y   u n u s e d ) ;   o r 
 
 #                                       " L a s t V i s i t e d "   t o   s e t   L a s t   V i s i t e d   B o o k m a r k . 
 
 #   N a m e :                           N a m e   o f   t h e   n e w   e n t r y .   M u s t   b e   a   v a l i d   a n d   u n i q u e   n a m e . 
 
 #   P a r e n t F o l d e r N a m e :   N a m e   o f   p a r e n t   f o l d e r   ( m u s t   e x i s t ) ;   o r   l e a v e   e m p t y   f o r   r o o t   f o l d e r . 
 
 #   U R L :                             U R L   o f   t h e   b o o k m a r k .   M u s t   b e   e m p t y   f o r   f o l d e r s ,   m u s t   b e   p r e s e n t   f o r   i t e m s . 
 
 #   A c c e s s P o i n t :             A c c e s s   P o i n t   I d   ( f r o m   C o m m s D b ) ;   o r   l e a v e   e m p t y   t o   s e t   A P   t o   " D e f a u l t " 
 
 #   U s e r N a m e :                   U s e r n a m e   o f   b o o k m a r k .   M a y   b e   e m p t y .   F o r   f o l d e r s   i t   m u s t   b e   e m p t y . 
 
 #   P a s s w o r d :                   P a s s w o r d   o f   b o o k m a r k .   M a y   b e   e m p t y .   F o r   f o l d e r s   i t   m u s t   b e   e m p t y . 
 
 #   R e a d O n l y :                   R e a d   o n l y   f l a g :   0   o r   e m p t y   f o r   F a l s e ,   1   f o r   T r u e . 
 
 #   F a c t o r y I t e m :             F a c t o r y   i t e m   f l a g :   0   o r   e m p t y   f o r   F a l s e ,   1   f o r   T r u e . 
 
 #   C o n t e x t I d :                 C o n t e x t   i d   ( s e a m l e s s   l i n k   s u p p o r t ) .   S e t   h e x a d e c i m a l   n u m b e r   o r   l e a v e   e m p t y   f o r   0 x 0 . 
 
 #   P r e f e r r e d :                 I t e m   i s   p r e f e r r e d   i n   i t s   f o l d e r :   0   o r   e m p t y   f o r   F a l s e ,   1   f o r   T r u e .   O p t i o n a l   a t t r i b u t e . 
 
 # 
 
 #   -   U s e   a   l i t t l e - e n d i a n   U n i c o d e   t e x t   f i l e   ( U n i c o d e   h e a d e r   m u s t   b e   F E , F F ) . 
 
 #   -   E v e r y t h i n g   i s   c a s e - s e n s i t i v e . 
 
 #   -   L i n e s   b e g i n n i n g   w i t h   ' # '   c a n   b e   u s e d   t o   c o m m e n t . 
 
 #   -   E m p t y   l i n e s   ( o n e   \ n   o n l y )   a r e   i g n o r e d . 
 
 #   -   E a c h   l i n e   ( i n c l u d i n g   t h e   l a s t   l i n e   a n d   t h e   c o m m e n t   l i n e s )   m u s t   b e   t e r m i n a t e d   w i t h   \ n . 
 
 # 
 
 #   P o s s i b l e   e r r o r   c a u s e s 
 
 #   = = = = = = = = = = = = = = = = = = = = = 
 
 # 
 
 #           0   K E r r N o n e                     S u c c e s s f u l   i m p o r t . 
 
 #         - 1   K E r r N o t F o u n d             P a r e n t   f o l d e r   n o t   f o u n d . 
 
 #         - 5   K E r r N o t S u p p o r t e d     I n p u t   f i l e   i s   n o t   a   l i t t l e   e n d i a n   U n i c o d e   f i l e . 
 
 #         - 6   K E r r A r g u m e n t             I n v a l i d   b o o k m a r k   d a t a .   I n v a l i d   c o m m a n d   l i n e   a r g u m e n t s . 
 
 #         - 9   K E r r O v e r f l o w             B o o k m a r k   a t t r i b u t e   t o o   l o n g . 
 
 #       - 1 1   K E r r A l r e a d y E x i s t s   B o o k m a r k   n a m e   n o t   u n i q u e . 
 
 #       - 1 2   K E r r P a t h N o t F o u n d     I n p u t   f i l e   i s   n o t   f o u n d . 
 
 #       - 2 0   K E r r C o r r u p t               I n p u t   f i l e   i s   n o t   U n i c o d e .   S y n t a x   e r r o r   i n   i n p u t   f i l e . 
 
 #       - 2 8   K E r r B a d N a m e               B o o k m a r k   n a m e   i s   i n v a l i d . 
 
 # 
 
 #   E x a m p l e   d a t a 
 
 #   = = = = = = = = = = = = 
 
 # 
 
 # F o l d e r , A   F o l d e r , , , , , , , , 
 
 # F o l d e r , T e s t , , , , , , , , 
 
 # I t e m , W A P   S t o p   H u , , h t t p : / / w a p . s t o p . h u , , B a s i l   t h e   s h e e p , B a s i l ' s   p a s s w o r d , 1 , 1 , a a f f 
 
 # I t e m , E c o , A   F o l d e r , h t t p : / / w a p . e c o . h u , 6 , , , 0 , 0 , 1 2 a d 
 
 # 
 
 #   E x a m p l e   d a t a   # 2 :   ( w i t h   S e a m l e s s   L i n k   f o l d e r s ) 
 
 #   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 F o l d e r , D o w n l o a d   A p p l i c a t i o n s , , , , , , 1 , 1 , 0 0 0 0 0 0 0 1 , 1 
 
 F o l d e r , D o w n l o a d   I m a g e s , , , , , , 1 , 1 , 0 0 0 0 0 0 0 2 , 1 
 
 F o l d e r , D o w n l o a d   S o u n d s , , , , , , 1 , 1 , 0 0 0 0 0 0 0 3 , 1 
 
 F o l d e r , D o w n l o a d   V i d e o s , , , , , , 1 , 1 , 0 0 0 0 0 0 0 4 , 1 
 
 F o l d e r , D o w n l o a d   S k i n s , , , , , , 1 , 1 , 0 0 0 0 0 0 0 7 , 1 
 
 F o l d e r , D o w n l o a d   M u s i c , , , , , , 1 , 1 , 0 0 0 0 0 0 0 8 , 1 
 
 I t e m , C S E , , h t t p : / / w a p l a b d c . n o k i a - b o s t o n . c o m / b r o w s e r / u s e r s / c s e / i n d e x . a s p , , , , , 1 , , 
 
 I t e m , T R S , , h t t p : / / t r s r v 4 2 . w i r e l e s s f u t u r e . c o m / c o n t e n t / s 6 0 / i n d e x . w m l , , , , , 1 , , 
 
 I t e m , I O P   -   R O A P , , h t t p : / / 1 9 5 . 1 3 4 . 2 3 1 . 8 3 : 8 0 8 0 / n e w - s e r v e r , , , , , 1 , , 
 
 I t e m , O M A   2 . 0 , , h t t p : / / w a p l a b d c . n o k i a - b o s t o n . c o m / b r o w s e r / u s e r s / O M A D L O T A 2 0 / d e f a u l t . h t m l , , , , , 1 , , 
 
 I t e m , V i d e o   p l u g i n , , h t t p : / / t e s t s u i t e . n o k i a - b o s t o n . c o m / c o n t e n t / S 6 0 N G _ v i d e o _ p l u g i n / d e f a u l t . h t m l , , , , , 1 , , 
 
 I t e m , N F T , , h t t p : / / w a p l a b d c . n o k i a - b o s t o n . c o m / b r o w s e r / u s e r s / n f t / i n d e x . h t m l , , , , , 1 , , 
 
 I t e m , X H T M L   - I O P , , h t t p : / / r a v e . c e l l u l a r d a t a . c o m / x h t m l / i n d e x . x h t m l , , , , , 1 , , 
 
 I t e m , T C G , , h t t p : / / t e s t s u i t e . n o k i a - b o s t o n . c o m , , , , , 1 , , 
 
 I t e m , B r o w s e r   u s e r s , , h t t p / / w a p l a b d c . n o k i a - b o s t o n . c o m / b r o w s e r / u s e r s / i n d e x . a s p , , , , , 1 , , 
 
 I t e m , W i d g e t s , , h t t p : / / w i d g e t s . n o k i a - b o s t o n . c o m , , , , , 1 , , 
 
 I t e m , S 6 0   A c c e p t a n c e   T e s t , , h t t p : / / t e s t s u i t e . n o k i a - b o s t o n . c o m / s 6 0 a c c e p t / q s t a r t . a s p , , , , , 1 , , 
 
 I t e m , U s e r   a g e n t , , h t t p : / / t e s t s u i t e . n o k i a - b o s t o n . c o m / c o n t e n t / w m l _ u a / w m l h e a d e r . a s p , , , , , 1 , , 
 
 I t e m , G o o g l e , , h t t p : / / w w w . g o o g l e . c o m , , , , , 1 , , 
 
 I t e m , E c o , , h t t p : / / w a p . e c o . h u , , , , , 1 , , 
 
 I t e m , S t o p ! , , h t t p : / / w a p . s t o p . h u , , , , , 1 , , 
 
 I t e m , R e p o r t   B r o w s e r   B u g s , , h t t p : / / w a p l a b d c . n o k i a - b o s t o n . c o m / b r o w s e r / u s e r s / K i m o n o / e r r o r E m a i l / e r r o r . a s p , , , , , 1 , , 
 
 I t e m , O S S   B r o w s e r   R e p o r t , , h t t p : / / w a p l a b d c . n o k i a - b o s t o n . c o m / b r o w s e r / u s e r s / O S S B r o w s e r / e r r o r E m a i l / e r r o r . a s p , , , , , 1 , , 
 
 I t e m , G e o c a c h i n g . h u , , h t t p : / / g e o c a c h i n g . h u / w a p , , , , , 1 , , 
 
 
 
 F o l d e r , T e s t   s i t e s , , , , , , 0 , 1 , , 
 
 I t e m , D D T , T e s t   s i t e s , h t t p : / / a m m o . f a c t o r y . c e l l u l a r d a t a . c o m : 8 0 0 0 / d d t , , , , , 1 , , 
 
 I t e m , D D T   ( n o   c o o k i e s ) , T e s t   s i t e s , h t t p : / / a m m o . f a c t o r y . c e l l u l a r d a t a . c o m : 8 0 0 0 / d d t n c , , , , , 1 , , 1 , 
 
 I t e m , D i g d o w n , T e s t   s i t e s , h t t p : / / d i g d o w n 1 . e x t r a . w i r e l e s s f u t u r e . c o m / d d t n c , , , , , 1 , , 
 
 I t e m , D L S   2 . 0   S 6 0 , T e s t   s i t e s , h t t p : / / t r s r v 4 2 . w i r e l e s s f u t u r e . c o m / c o n t e n t / s 6 0 / i n d e x . w m l , , , , , 1 , , 
 
 I t e m , D L S   2 . 0   I O P , T e s t   s i t e s , h t t p : / / w w w . i t . c e l l u l a r d a t a . c o m / i o p / d l s 2 0 / i n d e x . w m l , , , , , 1 , , 
 
 I t e m , W i r e l e s s f u t u r e , T e s t   s i t e s , h t t p : / / t r s r v 2 9 . e x t r a . w i r e l e s s f u t u r e . c o m / d r m / i n d e x . w m l , , , , , 1 , , 
 
 I t e m , T r e   I O P   X H T M L , T e s t   s i t e s , h t t p : / / r a v e . c e l l u l a r d a t a . c o m / x h t m l / i n d e x . x h t m l , , , , , 1 , , 
 
 I t e m , T r e   I O P   W M L , T e s t   s i t e s , h t t p : / / 1 9 5 . 1 3 4 . 2 2 7 . 1 3 7 / 1 . w m l , , , , , 1 , , 
 
 I t e m , V a l i m o , T e s t   s i t e s , h t t p : / / k a t e . v a l i m o . c o m , , , , , 1 , , 
 
 I t e m , S c h e m e   H a n d l e r , T e s t   s i t e s , h t t p : / / 2 1 3 . 1 6 3 . 3 8 . 1 3 4 / t e s t / S c h e m e H a n d l e r / S c h e m e H a n d l e r . w m l , , , , , 1 , , 
 
 I t e m , A n g i e S m o k e s , T e s t   s i t e s , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / A n g i e S m o k e s / A n g i e S m o k e s . w m l , , , , , 1 , , 
 
 
 
 F o l d e r , s i s , , , , , , 0 , 1 , , 
 
 I t e m , f i l e b r o w s e r , , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / s i s / F i l e B r o w s e r / F i l e B r o w s e . S I S , , , , , 1 , , 
 
 
 
 F o l d e r , F u n c T e s t B u d a , , , , , , 0 , 1 , , 
 
 I t e m , P i c t u r e T e s t , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / P i c t u r e T e s t / I m a g e T e s t . h t m , , , , , 1 , , 
 
 I t e m , D D T M i r r o r , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i : 8 0 8 0 / d d t n c / , , , , , 1 , , 
 
 I t e m , T C G , F u n c T e s t B u d a , h t t p : / / t e s t s u i t e . n o k i a - b o s t o n . c o m , , , , , 1 , , 
 
 I t e m , 2 . 3 . 4 , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / s n a p s h o t s / b r o w s e r u i / w r a p . w m l , , , , , 1 , , 
 
 I t e m , 2 . 3 . 5 , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / s n a p s h o t s / b r o w s e r u i / f o n t s i z e . x h t m l , , , , , 1 , , 
 
 I t e m , 2 . 3 . 7 , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / s n a p s h o t s / b r o w s e r u i / t e l e p h o n y . x h t m l , , , , , 1 , , 
 
 I t e m , N a v i g a t i o n , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / s n a p s h o t s / b r o w s e r u i / 1 9 . w m l c , , , , , 1 , , 
 
 I t e m , I n p u t E l e m e n t , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / s n a p s h o t s / b r o w s e r u i / I n p u t E l e m e n t s _ 1 _ 3 . w m l , , , , , 1 , , 
 
 I t e m , A u t h e n t i c a t i o n , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / A u t h e n t i c a t i o n / A l l / i n d e x . h t m l , , , , , 1 , , 
 
 I t e m , D u m m y P a g e , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / s a s c s a b i . h t m l , , , , , 1 , , 
 
 I t e m , D R M , F u n c T e s t B u d a , h t t p : / / 1 9 5 . 1 3 4 . 2 3 1 . 9 3 / c o n t e n t / s e c c f / i n d e x . w m l , , , , , 1 , , 
 
 I t e m , U A , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / U s e r A g e n t / u a . p h p , , , , , 1 , , 
 
 I t e m , a u t o n a m i n g 0 , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / B M N a m i n g / t e s t 0 . h t m , , , , , 1 , , 
 
 I t e m , a u t o n a m i n g 5 , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / B M N a m i n g / t e s t 5 . h t m , , , , , 1 , , 
 
 I t e m , a u t o n a m i n g 4 , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / B M N a m i n g / t e s t 4 . h t m , , , , , 1 , , 
 
 I t e m , s e c , F u n c T e s t B u d a , h t t p s : / / w e b m a i l . o u l u . f i , , , , , 1 , , 
 
 I t e m , l t r , F u n c T e s t B u d a , h t t p : / / w w w . p e n g u i n . o r g . i l / e s s a y s / t e c h _ e v a n g _ b u g s . h t m l , , , , , 1 , , 
 
 I t e m , C O D   r e l - U R L , F u n c T e s t B u d a , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / c o d / r e l u r l . c o d , , , , , 1 , , 
 
 I t e m , M B D , , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / m d b / i n d e x . h t m , , , , , 1 , , 
 
 I t e m , A n g i e r r o r , , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / s n a p s h o t s / b r o w s e r u i / e r r o r / A n g i e r r o r . h t m l , , , , , 1 , , 
 
 
 
 F o l d e r , S m o k e , , , , , , 0 , 1 , , 
 
 I t e m , M a i n , S m o k e , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / , , d o k i a , t e s z t , , 1 , , 
 
 I t e m , S m o k e l i n k s , S m o k e , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / s m o k e l i n k s . h t m l , , d o k i a , t e s z t , , 1 , , 
 
 I t e m , R e p o s t , S m o k e , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / P o s t G e t / r e p o s t c o n f . x h t m l , , , , , 1 , , 
 
 I t e m , u n s e c , S m o k e , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / A u t h e n t i c a t i o n / i n d e x . h t m l , , , , , 1 , , 
 
 I t e m , j s e c m a , S m o k e , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / j s e c m a / a l e r t . h t m l , , , , , 1 , , 
 
 I t e m , c o o k i e , S m o k e , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / t e s t / c o o k i e / d e l c o o k i e / m a i n . p h p , , , , , 1 , , 
 
 I t e m , d m A l i z e e g i f , S m o k e , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / d m / A l i z e e 2 . g i f , , , , , 1 , , 
 
 I t e m , d m b a l a t o n , S m o k e , h t t p : / / s 6 0 t e s t b u d a . c c c . f i / d m / b a l a t o n . j p g , , , , , 1 , , 
 
 