03-06-2024, 02:39 AM | #256 |
Guru
Posts: 906
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
@fourcrosses There are scripts on this forum that convert kobo-dictionaries to other formats. So first pull them through those and then through mine. My script accepts a lot of formats, so that shouldn't give you a problem.
|
03-06-2024, 03:06 AM | #257 |
Guru
Posts: 906
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
@retiarylime However, in the stardict tarball that's floating around the internet there is a Merriam-Webster's Advanced Learner's Dictionary from 2010, whilst your mobi-file states a copyright from 2008.
It's reconstructed and uploaded to pCloud. |
Advert | |
|
03-06-2024, 04:55 PM | #258 |
Junior Member
Posts: 3
Karma: 886
Join Date: Oct 2023
Device: Pocketbook Era (PB700)
|
Hi,
I tried to convert a dictionary (spanish->german) in xdxf-Format into the dic-format for Pocketbooks. But the Pocketbook Era doesn't recognize the .dic file, i created. But others, from the cloud here worked well (sadly there is nor spanish to german) The xdxf-File is created with this script (https://github.com/p4cx/pocketbook_dic) from dict.cc for spanish to german. perhaps, someone can help me? |
03-07-2024, 04:19 AM | #259 |
Guru
Posts: 906
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
@kaylon55 That's not my script, so I don't know whether the resulted xdxf-file is correct.
Tags that seem out of place are: - deftext-tags: Never seen them before. Why don't you remove all <deftext> and </deftext> and see whether it works? - Also the xdxf-tag contains format="logical", whilst I only seen format="visual". - There are <title>- and <full_title>-block that I haven't seen before. - The <lexicon>-tags are new. - <k>-block isn't wrapped in a <head>-block. Other things: - The language from and to are reversed. It's a German to Spanish dictionary, not the other way around. - Line endings are CR/LF ( Carriage return/line feed: Windows) instead of LF(Linux). - A lot of &-symbols in the keys: My script typically trows errors for that. What I would do is rerun the xdxf-file through my script. So I did. The result is on the pCloud. Does it work? Last edited by Markismus; 03-07-2024 at 09:24 AM. |
03-08-2024, 07:36 AM | #260 | |
Junior Member
Posts: 3
Karma: 886
Join Date: Feb 2024
Device: KINDLE PPW10, PB TOUCH HD3
|
Quote:
|
|
Advert | |
|
03-13-2024, 03:48 AM | #261 |
Junior Member
Posts: 3
Karma: 886
Join Date: Oct 2023
Device: Pocketbook Era (PB700)
|
|
03-16-2024, 10:08 AM | #262 | |
Addict
Posts: 371
Karma: 557596
Join Date: May 2016
Location: Spain... is pain.. :-(
Device: Sony prs-t1, Boyue Likebook Plus (T80s), Boyue Likebook Mimas
|
Quote:
|
|
03-24-2024, 02:44 AM | #263 |
Junior Member
Posts: 7
Karma: 959229
Join Date: Aug 2015
Device: Kobo Forma
|
Hi there,
I'm trying to convert an Apple dictionary to PocketBook format. I completed the conversion successfully, but the output has no formatting. Apple relies on CSS classes for all formatting, rather than HTML tags. pyglossary outputs the CSS file in a separate file, but I couldn't feed it into PocketBookDic. The end result is a file that includes the HTML code in the definitions, but lacks all the CSS styles that would display bold, italics, etc. How can I get an output that includes all the formatting from the source? |
03-24-2024, 05:26 AM | #264 |
Guru
Posts: 906
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
The easy way is to use Koreader. When you generate a Koreader optimized Stardict dictionary a css-file is generated. You can add the css-lines from your file to it.
The long way is to embed all styling in the html again. Effectively to repeat all styling in every tag that it affects. Looks like a lot of work, more so because the converter to binary pocketbook format rips most formatting out of the dictionary again. You could of course remove all styling that's ripped from the css-file. Anything that's not italics or bold would be my first choice. IIRC, there are a few posts in the beginning of this thread that discuss all styling that is retained. So use Koreader and copy-paste or reduce the css-file and add style="...."; strings to all affected blocks with search-replace either in an editor but preferably with code, so that you can reuse the work for another dictionary. Hopefully there are solutions on the web that do the embedding css into html style-strings for you. |
04-06-2024, 07:34 AM | #265 |
Junior Member
Posts: 2
Karma: 10
Join Date: Apr 2024
Device: Pocketbook
|
I've been tinkering with the provided tools, but it seems I am lacking knowledge to use them correctly.
Is it possible to change these finnish-english dictionaries (Stardict) to Pocketbook .dic format? |
04-09-2024, 03:54 AM | #266 |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2024
Device: Pocketbook verse pro
|
Hi there! I have a chromebook so probably wont be able to convert things myself, would you mind converting this Dune dictionary it for me? Id really really really appreciate it
https://jakemcc.gumroad.com/l/dune-dictionary It is in .mobi format. It’s free but i’ll send a donation as soon as i figure out how it actually works lol. |
04-21-2024, 09:19 AM | #267 | |
Guru
Posts: 906
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
Quote:
Code:
$isEscapeHTMLCharacters = 1; The files are uploaded to pCloud. |
|
04-21-2024, 09:26 AM | #268 |
Guru
Posts: 906
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
@Pinkflipphone It seems to contain 160 words. So maybe something went wrong. Not looking at this again, though: I don't really see the reason for a dictionary to Dune.
|
04-23-2024, 10:51 AM | #269 |
Junior Member
Posts: 2
Karma: 10
Join Date: Apr 2024
Device: Pocketbook
|
Wow! It works like a charm! Thank you! I had lost my hope after trying for hours.
|
06-17-2024, 06:59 AM | #270 |
Junior Member
Posts: 8
Karma: 10
Join Date: Aug 2021
Device: Kobo Forma
|
Ah. So after doing some tinkering myself. It is currently impossible to get the Van Dale 2024 updated dictionary in Koreader format (using the perl instructions provided earlier) or to see what actually has changed versus the 2019 one. I'll leave it at that then, thanks for your help anyway. It might be some new encryption or something but that'd be my speculation not my knowledge so don't quote me on that.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pocketbook dictionary | logan | PocketBook | 322 | 03-05-2024 09:48 AM |
Dictionary coversion from .mobi to pocketbook format? | doctorat | PocketBook | 16 | 07-01-2020 05:34 PM |
Webster's 1913 Dictionary in Pocketbook Format | luqmaninbmore | PocketBook | 8 | 05-27-2020 10:41 AM |
SW>EN Dictionary for Pocketbook | tttrine | PocketBook | 3 | 06-09-2015 06:01 AM |