Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Import xml #7

Open
ghost opened this issue Jan 5, 2016 · 5 comments
Open

Import xml #7

ghost opened this issue Jan 5, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 5, 2016

Hi,
thanks for the great app. After downloading the app I tried to import my vocab from dict.cc.
I was kind of complex. here is a guide you may add it to the help or wiki :)

° substitute spechial chars "&", "<", ">"
°. table 5 colums

<vocable><first_meaning><value>
language1
</value></first_meaning><second_meaning><value>
language2
</value></second_meaning></vocable>

° paste it in an editor (textpad, notepad++)

<?xml version='1.0' encoding='UTF-16' standalone='yes' ?>
<units>
  <unit>
    <title>###YOUR UNITNAME###</title>
        <vocables>
###past table###
    </vocables>
  </unit>
</units>

° save it as myvocabfile.xml encoding UTF-8 and without BOM
° Import it in the app

it was very confusing to save the file as utf-8 while the xml-tag says "I'm UTF-16" :D
What about an Import feature from Dict.cc to skip this mess ?
Have a nice day

@rubengees
Copy link
Owner

Thank you for this guide!
What do you mean by "Import 5 tables"?
I already thought about implementing an import function, but they don't allow you to do that. (At least the last time I checked)

@ghost
Copy link
Author

ghost commented Jan 6, 2016

Hi,
I made with an excel table with 5 colums.
In fact I working on a Javatool to automate all these steps.
i'll upload it if it's useable.
I'm not used to app-development so if you like you can add it to the app.
Ok that's sad dictcc is a cool dictionary. But an open Api would be nice.
On Jan 6, 2016 12:47, "Ruben Gees" [email protected] wrote:

Thank you for this guide!
What do you mean by "Import 5 tables"?
I already thought about implementing an import function, but they don't
allow you to do that. (At least the last time I checked)


Reply to this email directly or view it on GitHub
#7 (comment)
.

@rubengees
Copy link
Owner

Cool! I will have a look if they allow that now.

@ghost
Copy link
Author

ghost commented Jan 12, 2016

https://github.com/c456fa2/dict2vc
take a look, if you miss any functionality just ask.

@rubengees
Copy link
Owner

I finally get on with the project, but I decided to rewrite most of the code.
It may take some time until I get to this.
But thank you very much for this contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant