Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2012, 09:06 AM   #1
Ti-Ron
Connoisseur
Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 1023042
Join Date: Nov 2011
Device: Kobo Touch, iPad
PHP code library for watermarking an ePub

Hi everyone, hope your friday is going well!

I'm looking for some php code library for watermarking an epub when selling on our internet site. I asked to some programmers and they all told me they were able to do it (automaticly) on a pdf but not on an ePub.

Is anyone here can help me to get a script or code library to make it work automaticly when someone's buying an epub out of my internet site?

Thanks a lot for your help,
Have a good friday (TGIF!!!)

P.S. If I posted in the wrong section, please feel free to move my thread. I didn't know where's the place to post this. Thanks!
Ti-Ron is offline   Reply With Quote
Old 11-17-2012, 06:40 AM   #2
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,023
Karma: 1424487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
You might look at this discussion here:

http://www.mobileread.com/forums/showthread.php?t=75585
mrmikel is offline   Reply With Quote
 
Enthusiast
Old 11-17-2012, 03:04 PM   #3
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 594
Karma: 1281565
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
If by "watermark" you just mean "adding a XHTML page with some info about the customer", you can use my python library to add an ex libris, which accepts an XHTML page template, with string placeholders, and pass the customer-dependant information.

http://www.mobileread.com/forums/sho...d.php?t=180065

(There is also a Calibre plugin, using this library.)
AlPe is offline   Reply With Quote
Old 11-19-2012, 03:27 PM   #4
Ti-Ron
Connoisseur
Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.Ti-Ron ought to be getting tired of karma fortunes by now.
 
Posts: 80
Karma: 1023042
Join Date: Nov 2011
Device: Kobo Touch, iPad
WOW, a big thank you, AlPe, that is really nice!
Hope the programmer will find that usefull, this is really king from you!
Ti-Ron is offline   Reply With Quote
Old 11-19-2012, 03:34 PM   #5
AlPe
Digital Amanuensis
AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.AlPe ought to be getting tired of karma fortunes by now.
 
AlPe's Avatar
 
Posts: 594
Karma: 1281565
Join Date: Dec 2011
Location: Padova, Italy
Device: Kindle3, Odyssey, eDGe, A60, PRS-T1, iPad3, KoboGlo
You are welcome.

Just a warning: as your developer might notice, the OPF/NCX parsing is done with RegEx instead of a full DOM parser --- because, in the original project, I had to deal with some non-compliant EPUBs files. This means that the code might not work properly for your EPUBs. So far, it has worked on anything I tried, but there is no "formal" guarantee for that.
AlPe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Watermarking format sasq Kindle Developer's Corner 2 12-03-2012 10:05 AM
Code showing in mobi (from epub) BKh Conversion 4 07-23-2012 04:08 PM
HTML code in epub book Giselleco Kobo Reader 4 07-26-2011 01:33 PM


All times are GMT -4. The time now is 01:49 PM.


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