04-09-2009, 10:52 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2009
Device: Kindle & PRS-505
|
Building an EPUB Spotlight importer for MacOS X
Hi. I'm the main developer of Books for Mac OS X:
I'm currently rebuilding the platform for Books 4, which will be based around EPUB documents for storing content and metadata about the items in your collection. Recently, I began writing a Spotlight plugin for this project and I had a few questions that need clearing up before I release any public code. (Don't worry - I'll be looking for testers real soon.) First of all, on the Mac, the system uses Universal Type Identifiers (UTIs) to keep track of the types of various files: Is there an official UTI for EPUB documents? I searched and didn't find anything. If there isn't one, would any object to me assigning org.idpf.epub to EPUB documents on OS X? I ask because I'd like this plugin to be compatible with other products like Calibre and not step on anyone's toes.Finally, the current version of the plugin indexes XHTML-based EPUB files without any problems. Are there any non-XHTML EPUB files in circulation that I should also support and test against. Is anyone doing anything with PDF-based EPUB? This probably sounds silly, but I thought that I should ask. Thanks in advance! Last edited by cjkarr; 04-09-2009 at 10:54 AM. Reason: Added link. |
04-09-2009, 10:54 AM | #2 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
PDF is NOT ePub... so I don't understand your question. BOb |
|
Advert | |
|
04-09-2009, 10:58 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2009
Device: Kindle & PRS-505
|
PDF & EPUB
I should have been a bit clearer in my writing.
While this Spotlight plugin mainly targets EPUB documents, it's actually a more general OCF reader: To be more precise in my question, are there any other OCF documents floating around that do not use XHTML? Thanks for prompting the clarification. |
04-09-2009, 11:22 AM | #4 | |
The Grand Mouse 高貴的老鼠
Posts: 72,189
Karma: 308792702
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
I've certainly found it inconvenient that there's no standard UTI for Mobipocket files on Mac OS X. In the end, I exported one based on my own domain name from my Quick Look plugin |
|
04-09-2009, 11:42 AM | #5 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2009
Device: Kindle & PRS-505
|
Quote:
|
|
Advert | |
|
04-09-2009, 11:52 AM | #6 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
EPUB supports DTBook markup as well as XHTML, but I'm not aware of anyone actually using DTBook
|
04-09-2009, 11:57 AM | #7 |
Junior Member
Posts: 5
Karma: 10
Join Date: Apr 2009
Device: Kindle & PRS-505
|
Thanks
|
04-09-2009, 11:58 AM | #8 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
04-16-2009, 03:54 AM | #9 |
Enthusiast
Posts: 33
Karma: 264
Join Date: Mar 2009
Device: Sony PRS-505, Amazon Kindle2, Palm, iPhone
|
i donno if i really understand what ur question is about
but me is often using PDFs in some ePub-Books e.g. for the copyright-page or for some ads in the end of a book so... donno if it's useful to u greetz |
Tags |
epub, mac, spotlight, standards |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-600 New Note Importer | gbargoud | Sony Reader | 0 | 06-20-2010 11:21 AM |
PRS-600 Note Importer | gbargoud | Sony Reader Dev Corner | 13 | 05-16-2010 10:29 AM |
The Indie Spotlight | William Campbell | Writers' Corner | 2 | 04-16-2010 08:06 AM |
ePub QuickLook and Spotlight plugins for Mac OS X | cjkarr | ePub | 0 | 04-16-2009 07:48 AM |
Another Sony Reader importer | AprilHare | Introduce Yourself | 1 | 04-05-2008 07:27 AM |