List of forums • View recent posts • View recent comments •
• Go to daisy.org
Problems creating a project from HTML file
Hi all.
My name is Andres felipe Pulgarín.
I'm new in this forums.
I am a producer of audio books for blind people in MP3 format, in both English and spanish. I'm from Colombia.
I'm starting to use OBI to make daisy books to offer. my project is called Andysoft. but I'm having a little difficulty with this software
I cannot create projects importing an HTML file. the HTML and wave files are ready to make the daisy book, but I cannot understand what's going onn.
when I open the html file in the menu create project from importing an XHTML file, I can see the fields where I can introduce information, such as the title, ID, etc. but then, when I press OK tu start doing the audio book, I get an error message that says: "import failure".
What I am doing rong? how do I have to create the HTML file?
If someone can help me with this, I'll apreciate it so mutch, because this is an important advance for my little organization.
ah, I forgot to say something. I had tried using different methods: I have being added all the initial HTML tags to the document, such as Head, body etc, but it doesn't worck. in some cases, Obi don't allow me to open the HTML file to go to the initial field. name, ID, etc.
also, I tried opening the HTML files of some daisy books, and it worcks well. I can see the structure in OBI. I tried to take a look of the source code of these HTML files, but I don't know, I think this codes are very complex for me to worck, it seems to be complicated.
Again, thanks for your help, and sorry for this long Message.
Andres felipe Pulgarin Foronda
Medellin Colombia

Re: Importing html files in Obi
Dear andysoft,
I suspect that you may be trying to import html file instead of xhtml file or the xhtml file may not be well formed.
It would be helpful if you can send us the complete error message or send us the file that you are trying to import.
Please send files at
obi.feedback@gmail.com
with regards
Avneesh
The HTML file
Hello.
So, it means that I have to make the document with an extension .xhtml? or what I have to do. and, another thing is, that the errors appear in the original language of the operating system, in this case it is spanish. I'll try to translate those errors and I'll send you the translated errors if necessary.
the errors are regarding the HTML document.
I tried organizing the text in different ways: first, I tried to make the document simple, without the initial HTML tags, but using the tags for heddings or in this case sections, and the tag span class for pages. but Obi don't allow me to open the document. an error appears.
then, I tried using sertain HTML tags, and I can open the HTML file and edit information, but I can't start the project because an error mesage is shown.
Again, just tell me how do I have to make the HTML or XHTML file. I'm using the Notetab lite editor, to creat HTML files.
Greettings, Andres
Perl script to build xhtml files
Here is a simple perl script we use here at ABWA in perth to make these. In this case we are making file for tape conversion so we want a section for each tape which we refer to as parts. This script takes three arguments. The title of the book the number of tapes and the path to write the file to. We have this script wrapped around an Apple GUI so there is no error checking in it. Free free to use it on change it as you see fit. Contact me if you want a copy.
Greg Kearney
Association for the Blind of Western Australia
gkearney@gmail.com
the XHTML format
Hello again.
Well, I'll consider this script to use.
But for now, I wanna know how do I create my HTML or XHTML file? what tags I have to use to create my project successfully? I need to make the first tests and make it public soon. so, please give me some instructions to create the HTML document to have it worcking with OBI, just to make my project.
remember that I used the Notetab Lite HTML editor to make the HTML file.
Best Regards, Andres
Re: xhtml import
hello again,
xhtml files do not necessarily have .xhtml extension, the difference is in document itself. Xhtml is basically well formed html.
You may visit following link to know more about it
http://www.w3schools.com/xhtml/DEFAULT.asp
Or you may use the script developed by Greg, I hope it will make work simpler.
With regards
Avneesh
Re: xhtml format
hello again,
I tried the Notetab Lite HTML editor (ver 6.12) mentioned by you. It supports xhtml.
I created a new document from file menu and selected html.tpl template and it created xhtml file.
For Obi, you mainly need to use heading tags, (h1 to h6) for sections and span tag for pages.
If you need more guidance, please contact us at obi.feedback@gmail.com.
with regards
Avneesh
XHTML Validation
On the subject of XHTML, I use a validator called CSE HTML Validator Lite. This a great tool for checking XHTML files before using them to create DAISY projects. It can also be used for creating content, but that is not it's main purpose
The Lite version is free to download and use. Here is a link to the website:
CSE HTML Validator
David Gordon RNIB