XDXF - The Extensible (XML) Dictionary Exchange Format Forum Index XDXF - The Extensible (XML) Dictionary Exchange Format
User and Developer Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

xdxf download links

 
Post new topic   Reply to topic    XDXF - The Extensible (XML) Dictionary Exchange Format Forum Index -> Repository
View previous topic :: View next topic  
Author Message
iamme
Newbie


Joined: 11 May 2010
Posts: 7

PostPosted: Tue May 11, 2010 8:37 am    Post subject: xdxf download links Reply with quote

Hi, I'm working on a program which suppurts xdxf. The issue is about installation XDXF. I'd like user to be able to easyly install xdxf, and for this purpose the program needs to know download links.

AIs there any XML which stores downloads links or something similar?

thank you.
Back to top
View user's profile Send private message
sergeysn
Site Admin


Joined: 23 Nov 2004
Posts: 942

PostPosted: Tue May 11, 2010 2:04 pm    Post subject: Re: xdxf download links Reply with quote

The dictionaries are stored on the SourceForge mirrors. And they keep changing the mirrors and the URLs. Currently the best way is to parse SourceForge's download page. I was thinking about hosting all the XDXF files locally at Revdanica, but the hosting would be rather expansive.
Back to top
View user's profile Send private message Visit poster's website
iamme
Newbie


Joined: 11 May 2010
Posts: 7

PostPosted: Wed May 12, 2010 4:54 am    Post subject: Reply with quote

thank you for reply,
do you mean this page http://xdxf.revdanica.com/down/ to parse?
Back to top
View user's profile Send private message
iamme
Newbie


Joined: 11 May 2010
Posts: 7

PostPosted: Wed May 12, 2010 4:57 am    Post subject: Reply with quote

and another thing I have to ask:

is this the only place to download xdxf dictionaries? Or there may be a case when user already has xdxf downloaded from somewhere, and it is not compressed or compressed another way. Or he has xdxf file without icons files...or other variants?
Back to top
View user's profile Send private message
sergeysn
Site Admin


Joined: 23 Nov 2004
Posts: 942

PostPosted: Wed May 12, 2010 5:21 am    Post subject: Reply with quote

iamme wrote:
thank you for reply,
do you mean this page http://xdxf.revdanica.com/down/ to parse?

No, you don't have to parse the repository, you can use it's XML version:
http://xdxf.revdanica.com/down/repo_xml.php
I meant to parse SF's download page: https://sourceforge.net/projects/xdxf/files/
Back to top
View user's profile Send private message Visit poster's website
sergeysn
Site Admin


Joined: 23 Nov 2004
Posts: 942

PostPosted: Wed May 12, 2010 5:23 am    Post subject: Reply with quote

iamme wrote:
...is this the only place to download xdxf dictionaries?
No. XDXF is an open standard. Anyone can create his own archives.
Also there are might be different versions released on different dates.
Back to top
View user's profile Send private message Visit poster's website
iamme
Newbie


Joined: 11 May 2010
Posts: 7

PostPosted: Wed May 12, 2010 9:42 am    Post subject: Reply with quote

thanks again.

but I have one more question, let's take a part of the content of

http://xdxf.revdanica.com/down/repo_xml.php XML.


<mirror>http://ovh.dl.sourceforge.net/sourceforge/xdxf/</mirror>
<mirror>http://mesh.dl.sourceforge.net/sourceforge/xdxf/</mirror>
<mirror>http://ufpr.dl.sourceforge.net/sourceforge/xdxf/</mirror>
<mirror>http://umn.dl.sourceforge.net/sourceforge/xdxf/</mirror>
<mirror>http://kent.dl.sourceforge.net/sourceforge/xdxf/</mirror>
<mirror>http://nchc.dl.sourceforge.net/sourceforge/xdxf/</mirror>
<mirror>http://keihanna.dl.sourceforge.net/sourceforge/xdxf/</mirror>
<dict>
<icon>http://xdxf.revdanica.com/down/buf/comn_sdict05_afrikaans-english/icon16.png</icon>
<long_name>Afrikaans-English dictionary</long_name>
<down_link>comn_sdict05_afrikaans-english.tar.bz2</down_link>
<arc_bytes_qntt>47497</arc_bytes_qntt>
<bytes_qntt>186005</bytes_qntt>
<articles_qntt>4198</articles_qntt>
<lang_fr>afr</lang_fr>
<lang_to>eng</lang_to>
<submitter>Common XDXF</submitter>
<submition_date>2006-04-23 23:31:49</submition_date>
<info>Copyright: Converted by swaj under GNU Public License; Version: 1.1</info>
</dict>
<dict>

I have <down_link> and many mirrors. How to build a full download link from that? I tried to concatenate the links but that didn't work. file not found.
Back to top
View user's profile Send private message
sergeysn
Site Admin


Joined: 23 Nov 2004
Posts: 942

PostPosted: Wed May 12, 2010 2:07 pm    Post subject: Reply with quote

As I said "they keep changing the mirrors and the URLs", so you would have to parse their pages to figure out where are the files now, and it will work for a while until they change it again.
Back to top
View user's profile Send private message Visit poster's website
iamme
Newbie


Joined: 11 May 2010
Posts: 7

PostPosted: Tue May 25, 2010 5:51 am    Post subject: Reply with quote

-And why are the dictionaries packed twice: tar and bz2? Is is a feature only for this repository or a standard?

-I can see an icon near ech XDXF file. Is it a standard? Or, again, do icons appear only in this repository?
Back to top
View user's profile Send private message
sergeysn
Site Admin


Joined: 23 Nov 2004
Posts: 942

PostPosted: Tue May 25, 2010 2:43 pm    Post subject: Reply with quote

1. tar bz2 is standard.

2. Each XDXF dictionary should have icon(s), and the repository can show one.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    XDXF - The Extensible (XML) Dictionary Exchange Format Forum Index -> Repository All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
SourceForge.net Logo