Re: Conversion of Favorite (MSIE) to Bookmark (Netscape-Linux)



Hi John,

The following is my testing result:

Win98   in    hda1
RH 6.2  in    hda5

All MSIE favorites were kept under a main directory "My Favorites" in Win98
Favorites which had many sub-directories

#  mount  -t  vfat  /dev/hda1  /mnt/win98

Used  mc (midnight commander) copying the whole directory "My Favorites" to
RH 6.2  /tmp-1/

fav2htm1 was also kept in  /tmp-1

[root@localhost /tmp-1]#  ./fav2html  "/tmp-1/My Favorites"/
<dt><h3>/tmp-1/My Favorites/</h3><dd><dl><p>
<dt><a href=http://www.trc-canada.com/>TorontoResearch-3w.trc.canada</a>
<dt><a href=http://www.netradio.net/>NetRadio Network Home Page</a>
<dt><a href=http://www.real.com/>Welcome to RealMedia !</a>ÿ
.................
.........
went through without problem

[root@localhost /tmp-1]#  ./fav2html  "/tmp-1/My Favorites"  >My
Favorites.html
Invalid conversion in printf: "%C" at ./fav2html  line 17.

I found line 17 as follow:

printf "<dt><a href=$url[0]>$title</a>\n";
}

Kindly advise how to rectify it.

Thanks in advance.

Stephen






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]