From: Christoph T. <u1...@hs...> - 2004-07-26 08:07:42
|
Hi, Hyper wrote: > So I'm glad to hear Cristoph have time to write it :-) > (And I will chack the code and beta test it :-) ) Now the time is come :) Here is it:=20 cdcat.sf.net/develop_version/CdCat-0.98pre_whereisit_xml_import.tar.gz Import works but some things nees to be fixed: =2D encoding (currently static encoding with ISO-8859-1) =2D win32 compile (qt3 -> qt2) =2D code clean ups (remove unused stuff) I had to replace all html-style coded german umlauts ({) into their ri= ght=20 char (=E4)... so cdcat create a tmp file and load the fixed file, after par= sing=20 file will removed.=20 I have added a new method in dbfile class:=20 Node * getMediaNode(int id); It was needed to find media from id. A example XML file (demo-export-3.5-freeware.xml, thx to Ralf) which was=20 exported from WhereIsIt 3.5 (version is important because older version=20 export wrong xml (empty tag names, no path, etc). The translation was also updated. > Just one advice/asking : Place this import feature a separate dialog box, > not bother the existing one. (As another menu point in upper > menu. eg: "Import from WhereIsIt" or something like this... Look at import dialog and tell me what you think.... greetings Christoph =2D-=20 Linux User Group Wernigerode http://www.lug-wr.de/ |