New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

How to convert *.xdxf format to a GoldenDict format?

All about dictionaries

Re: How to convert *.xdxf format to a GoldenDict format?

Postby chulai » Fri Apr 06, 2012 2:28 pm

XDXF dictionaries work perfectly ok for me:

xdxf support.JPG
xdxf support.JPG (97.43 KiB) Viewed 18109 times


xdxf support2.JPG
xdxf support2.JPG (67.64 KiB) Viewed 18109 times


There is a bug though. GoldenDict does not scan XDXF files if they are located in a subfolder of the folder selected in Dictionaries > Sources > Files. Even if you select Recursive checkbox for that folder. So the workaround for now is to browse to the exact folder where the *.xdxf files are and select that in Dictionaries > Sources > Files.

Hope that helps.

Edit: There is no such bug. I have retested and it works correctly.
Last edited by chulai on Sat Apr 07, 2012 4:26 pm, edited 1 time in total.
chulai
 
Posts: 464
Joined: Sat Jan 08, 2011 10:11 pm

Re: How to convert *.xdxf format to a GoldenDict format?

Postby Abs62 » Fri Apr 06, 2012 3:13 pm

Hm. GoldenDict use the same search algoritm for all types of dictionaries.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: How to convert *.xdxf format to a GoldenDict format?

Postby Alec » Fri Apr 06, 2012 3:21 pm

I've been using XDXF dictionaries with the latest Github build for some time, without any problems, on Windows 7 (both 32- and 64-bit versions) and on XP.

Perhaps the problem is confined to Unix/Linux.
Alec
 
Posts: 57
Joined: Thu Apr 15, 2010 2:28 pm

Re: How to convert *.xdxf format to a GoldenDict format?

Postby doctorcolossus » Sat Apr 07, 2012 2:25 am

Hmm, interesting. Well thanks for confirming that, guys. It's good to know that it is theoretically working.

I'd settled on using XDXF for a conversion project after reading that GoldenDict now supported it and I'd just been knee-deep in scripting to that end before I finally got round to compiling from github.

It's my first time trying to load the XDXF format in any program, so maybe I'm doing something really obvious wrong. So far I'm just trying to load example dictionaries from the XDXF SourceForge. I'll try to follow up with further details soon.
doctorcolossus
 
Posts: 5
Joined: Fri Apr 06, 2012 5:50 am

Re: How to convert *.xdxf format to a GoldenDict format?

Postby chulai » Sat Apr 07, 2012 4:23 pm

Abs62 wrote:Hm. GoldenDict use the same search algoritm for all types of dictionaries.


Yes, you are right. I had to remove the xdxf folder and readd it for GD to be able to found and index the dictionary. Strange! But I can confirm that XDXF works with the last repository version in Ubuntu 11.10, Win7 and OS X 10.6.8 even if they are located in a subfolder.
chulai
 
Posts: 464
Joined: Sat Jan 08, 2011 10:11 pm

Re: How to convert *.xdxf format to a GoldenDict format?

Postby doctorcolossus » Sat Apr 07, 2012 9:21 pm

In my folder I've got the test XDXF dictionary in all possible ways I could think of -- as a bzipped tar, as a straight dict.xdxf, and in its own folder (yeah, I know you guys sad recursive scan isn't working, but I'm just tryin' since non-recursive scan doesn't work for me):
Image
I add this folder in GoldenDict's settings:
Image
Clicking "Rescan now" either briefly shows a "Please wait" dialog or else does nothing.
Checking or unchecking 'Recursive' has no effect.
No dictionaries are loaded: :roll:
Image
As I said, I built the latest GoldenDict from source a couple of days ago:
Image
Before that, I had also tried with the Ubuntu repositories version.
I'm running Ubuntu 11.04.

Any ideas what I'm doing wrong?
doctorcolossus
 
Posts: 5
Joined: Fri Apr 06, 2012 5:50 am

Re: How to convert *.xdxf format to a GoldenDict format?

Postby ikm » Sun Apr 08, 2012 1:30 am

Your 'About' screenshot doesn't really look too new. Please get the latest source from github.
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

Re: How to convert *.xdxf format to a GoldenDict format?

Postby doctorcolossus » Sun Apr 08, 2012 2:05 am

Really? :shock: So what version is the latest?

I just cloned again from git://github.com/goldendict/goldendict.git and am recompiling, but g++ is outputting lines with -DPROGRAM_VERSION=\"1.0.1+git\" so I'm thinking I have the same thing again... :| Am I supposed to clone from some developmental branch instead of master?
doctorcolossus
 
Posts: 5
Joined: Fri Apr 06, 2012 5:50 am

Re: How to convert *.xdxf format to a GoldenDict format?

Postby doctorcolossus » Sun Apr 08, 2012 2:15 am

OK, wait a sec... Yeah, you're right. I must've done something wrong before, because now I have version b0e009d. :?

Now XDXF dictionaries are working for me. Thanks! :D
doctorcolossus
 
Posts: 5
Joined: Fri Apr 06, 2012 5:50 am

Previous

Return to Dictionaries

Who is online

Users browsing this forum: No registered users and 13 guests

cron