Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 02-23-2014, 09:28 AM   #1
The_Who
Junior Member
The_Who began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2014
Device: Kindle 3
HTML to mobi pocket dictionary conversion

Goal:
to build:
1) a mobi pocket dictionary containing text and images
2) a GoldenDict compatible dictionary containing text and images

starting situation:

The starting file to create the dictionary is in html format.
In the starting file "MedicalDic " and the tags "<P><SMALL><B>" are preciding each headword.

The explanation for the headword follows in the next line.

As an example for the structure I added two entries ("aberrant" and "Abduzensparese"). The second entry contains an image.

Code:
<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>
<BODY bgcolor="white">

<P><SMALL><B>MedicalDic aberrant</B></SMALL></P>

<P>(lat. aberrare abweichen): abweichend; z.·B. aberrantes Gef&auml;&szlig;.</P>

<P><SMALL><B>MedicalDic Abduzensparese</B></SMALL></P>

<P>(&#xf0dd;; <FONT COLOR="#0000ff">Parese*) </FONT>f: (engl.) abducens nerve palsy; Form der <FONT COLOR="#0000ff">Augenmuskell&auml;hmung* </FONT>inf.
Sch&auml;digung des N. abducens (VI. Hirnnerv) mit L&auml;hmung des M. rectus lateralis, der
das Auge horizontal nach au&szlig;en bewegt; bei der A. bleibt das betr. Auge beim Blick
nach au&szlig;en medial stehen od. weicht nach innen ab (s. Abb.). Klin.: ungekreuzte
Doppelbilder, die um so weiter auseinandertreten, je st&auml;rker der Pat. zur Seite
schaut; Urs.: Gef&auml;&szlig;ver&auml;nderungen (z.·B. Hirnstamminfarkte, Isch&auml;mie des N.
abducens bei Diabetes mellitus, Hypertonie, Aneurysma), Tumoren der
Sch&auml;delbasis (s. Behr-Syndrom II, Gradenigo-Syndrom, Garcin-Syndrom),
retrobulb&auml;re Tumoren (s. Fissura-orbitalis-superior-Syndrom), Entz. (basale
Meningitis, Multiple Sklerose, Borreliose), para- od. postinfekti&ouml;s (z.·B. Diphtherie,
<FONT COLOR="#0000ff">Fisher*-</FONT>Syndrom), Kavernosusthrombose, Carotis-Sinus-cavernosus-Fistel,
<FONT COLOR="#0000ff">Tolosa*-</FONT>Hunt-Syndrom, Kompl. nach Liquorpunktion, Shunt-Anlage od. anderen
neurochir. Eingriffen, i.·R. einer <FONT COLOR="#0000ff">Myasthenia* </FONT>gravis pseudoparalytica od.
<FONT COLOR="#0000ff">Ophthalmoplegia* </FONT>chronica progressiva.</P>

<P><CENTER><IMG SRC="images/414202-00.jpg" WIDTH="141.00" HEIGHT="140.00" BORDER=0 ALT=" images/414202-00.jpg 391x388 (pixels)"></CENTER></P>

<P><B><a name="t2">Abduzenzparese:</a> <a name="t3">oben:</a> Geradeausblick; linkes Auge fixiert, leichte
Einw&auml;rtsstellung des rechten Auges; Mitte: Blickwendung nach links
ungest&ouml;rt; unten: Blickwendung nach rechts, fehlende Abduktion des rechten
Auges [362]</B></P>

</BODY></HTML>
Question: What is the best course of action, to convert this to mobipocket?

I found to ways to build a mobi file.
1) using the tab2opf script described here.
2) using this dsl2mobi script

I think the first way does not support images (correct me if I'm wrong) so I plan this conversion route:
html -> DSL -> OPF -> MOBI

Do you agree with this route or is there an easier way?

The hardest part is the "html -> DSL" conversion. I think html to XDXF would be much easier, but I did not found a way to convert XDXF to DSL (only DSL to XDXF).
The_Who is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion from HTML to Mobi leonardowolter Conversion 0 05-04-2012 03:08 PM
Problem with HTML to MOBI Conversion markwaltermd Conversion 5 04-06-2012 03:04 PM
Problem with html -> Mobi conversion - html tags visible. khromov Calibre 9 08-06-2011 11:25 AM
HTML to Mobi conversion fails gilbert1111 Calibre 5 01-14-2011 10:23 AM
conversion html -> mobi read on kindle manonoc Kindle Developer's Corner 4 11-24-2010 11:01 AM


All times are GMT -4. The time now is 03:40 PM.


MobileRead.com is a privately owned, operated and funded community.