code-google-com / arora

Automatically exported from code.google.com/p/arora
0 stars 0 forks source link

K-Meleon bookmark file not imported correctly if it contains folders #954

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you have a webpage rendering issue (aka bug in QtWebKit) it should be filed 
on bugs.webkit.org.  If you are unsure you can file it here and we will let you 
know.

PROBLEM: Cannot import flat html bookmarks file from K-Meleon 
(Netscape-compatible bookmarks) if it contains any folders.

What steps will reproduce the problem?

1. Begin with flat html Netscape-type bookmarks file from K-Meleon version 1.54
2. Filter file to 7 bit ascii to remove UTF8 and other encoding
3. convert with htmltoxbel.exe, place converted file in c:/Users/ 
.../AppData/Local/Arora
4. start arora, click bookmarks

What is the expected output?

=> Expect to see usable bookmarks

What do you see instead? 

=> No bookmarks are shown.  bookmarks.xbel may be truncated.

What version of the product are you using? On what operating system?

=> arora 0.10.0 
=> Windows 7

Please provide any additional information below.

Original bookmarks file WITH folders (does not work when imported):

<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- Generated By KMeleon -->
<!-- This is an automatically generated file.
It will be read and overwritten.
Do Not Edit! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks for Anonymous</TITLE>
<H1>Bookmarks for Anonymous</H1>

<DL><p>
 <DT><H3 ID="NC:PersonalToolbarFolder" PERSONAL_TOOLBAR_FOLDER="true" ADD_DATE="904169824">Personal Toolbar Folder</H3>
  <DL><p>
   <DT><A HREF="http://www.ixquick.com/" ADD_DATE="887931591" LAST_VISIT="1333292934" LAST_MODIFIED="0">IxQ</A>
   <DT><A HREF="https://startpage.com/do/mypage.pl?prf=7f35b7af6e6a8c0644c31577c44f861a" ADD_DATE="1140743342" LAST_VISIT="1334730952" LAST_MODIFIED="0">SP</A>
   <DT><A HREF="http://duckduckgo.com/" ADD_DATE="1319682207" LAST_VISIT="1331067549" LAST_MODIFIED="0">DDG</A>
   <DT><A HREF="http://www.reference.thelinks.com/" ADD_DATE="904065979" LAST_VISIT="1322527925" LAST_MODIFIED="0">Ref</A>
   <DT><A HREF="http://murga-linux.com/puppy/" ADD_DATE="1315860710" LAST_VISIT="1320907686" LAST_MODIFIED="0">Puppy Linux Discussion Forum</A>
  </DL><p>
 <DT><H3 ADD_DATE="838171945">Various Bookmarks</H3>
  <DL><p>
   <DT><A HREF="http://www.aclu.org/" ADD_DATE="883927161" LAST_VISIT="0" LAST_MODIFIED="0">ACLU: American Civil Liberties Union</A>
   <DT><A HREF="http://citynight.com/camera" ADD_DATE="869163750" LAST_VISIT="0" LAST_MODIFIED="0">Alameda, California - Live Telerobotic Camera</A>
  </DL><p>
 <DT><A HREF="http://www.koreaherald.co.kr/SITE/data/html_dir/2002/08/02/200208020014.asp" ADD_DATE="1028784969" LAST_VISIT="0" LAST_MODIFIED="0">Korean modern literature classics in English translation</A>
 <DT><A HREF="http://zodiac.mine.nu/comic.htm" ADD_DATE="1028865419" LAST_VISIT="0" LAST_MODIFIED="0">Comic: Strings of Fate</A>
 <DT><A HREF="http://www.indymedia.ie/article/101429" ADD_DATE="1334614370" LAST_VISIT="0" LAST_MODIFIED="0">Internet Freedom Fighters Build a Shadow Web - Indymedia Ireland</A>
 <DT><A HREF="http://www.neurope.eu/article/internet-freedom-will-be-priority-ireland-s-osce-leadership" ADD_DATE="1334614462" LAST_VISIT="0" LAST_MODIFIED="0">Internet freedom will be priority of Ireland___s OSCE leadership | New Europe</A>
</DL><p>

-----

Original bookmarks file WITHOUT folders (works when imported):

<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- Generated By KMeleon -->
<!-- This is an automatically generated file.
It will be read and overwritten.
Do Not Edit! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks for Anonymous</TITLE>
<H1>Bookmarks for Anonymous</H1>

   <DT><A HREF="http://www.aclu.org/" ADD_DATE="883927161" LAST_VISIT="0" LAST_MODIFIED="0">ACLU: American Civil Liberties Union</A>
   <DT><A HREF="http://citynight.com/camera" ADD_DATE="869163750" LAST_VISIT="0" LAST_MODIFIED="0">Alameda, California - Live Telerobotic Camera</A>
  </DL><p>
 <DT><A HREF="http://www.koreaherald.co.kr/SITE/data/html_dir/2002/08/02/200208020014.asp" ADD_DATE="1028784969" LAST_VISIT="0" LAST_MODIFIED="0">Korean modern literature classics in English translation</A>
 <DT><A HREF="http://zodiac.mine.nu/comic.htm" ADD_DATE="1028865419" LAST_VISIT="0" LAST_MODIFIED="0">Comic: Strings of Fate</A>
 <DT><A HREF="http://www.indymedia.ie/article/101429" ADD_DATE="1334614370" LAST_VISIT="0" LAST_MODIFIED="0">Internet Freedom Fighters Build a Shadow Web - Indymedia Ireland</A>
 <DT><A HREF="http://www.neurope.eu/article/internet-freedom-will-be-priority-ireland-s-osce-leadership" ADD_DATE="1334614462" LAST_VISIT="0" LAST_MODIFIED="0">Internet freedom will be priority of Ireland___s OSCE leadership | New Europe</A>
</DL><p>

-----

Both are drastically shortened versions of my original bookmark file.

Original issue reported on code.google.com by heev...@gmail.com on 19 Apr 2012 at 4:41