| View previous topic :: View next topic |
| Author |
Message |
iamme Newbie
Joined: 11 May 2010 Posts: 7
|
Posted: Tue May 11, 2010 8:37 am Post subject: xdxf download links |
|
|
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 |
|
 |
sergeysn Site Admin

Joined: 23 Nov 2004 Posts: 942
|
Posted: Tue May 11, 2010 2:04 pm Post subject: Re: xdxf download links |
|
|
| 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 |
|
 |
iamme Newbie
Joined: 11 May 2010 Posts: 7
|
|
| Back to top |
|
 |
iamme Newbie
Joined: 11 May 2010 Posts: 7
|
Posted: Wed May 12, 2010 4:57 am Post subject: |
|
|
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 |
|
 |
sergeysn Site Admin

Joined: 23 Nov 2004 Posts: 942
|
|
| Back to top |
|
 |
sergeysn Site Admin

Joined: 23 Nov 2004 Posts: 942
|
Posted: Wed May 12, 2010 5:23 am Post subject: |
|
|
| 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 |
|
 |
iamme Newbie
Joined: 11 May 2010 Posts: 7
|
Posted: Wed May 12, 2010 9:42 am Post subject: |
|
|
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 |
|
 |
sergeysn Site Admin

Joined: 23 Nov 2004 Posts: 942
|
Posted: Wed May 12, 2010 2:07 pm Post subject: |
|
|
| 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 |
|
 |
iamme Newbie
Joined: 11 May 2010 Posts: 7
|
Posted: Tue May 25, 2010 5:51 am Post subject: |
|
|
-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 |
|
 |
sergeysn Site Admin

Joined: 23 Nov 2004 Posts: 942
|
Posted: Tue May 25, 2010 2:43 pm Post subject: |
|
|
1. tar bz2 is standard.
2. Each XDXF dictionary should have icon(s), and the repository can show one. |
|
| Back to top |
|
 |
|