SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Cph.pm Lightn. Talks 2010-10-26
E-books and App::Pod2Epub
Søren Lund (slu)
soren@lund.org
E-book readers
 Based on E-Ink technology
http://en.wikipedia.org/wiki/Electronic_paper
 Usually 5” or 6” screen size
http://www.the-ebook-reader.com/ebook-reader-comparison.html
 Ergonomics and build quality varies
 Speed and memory options are important
 Software (GUI) difference
 Some support few others many formats
http://en.wikipedia.org/wiki/Comparison_of_e-book_formats
BeBook Neo 6”
 Good build quality
and sleek looking
 Fast 532 Mhz
Freescale processor
 Wifi and Wacom
touchpanel (stylus)
 No sleve or cover
 Expensive
(DKK 2895,-)
E-book formats
 O'Reilly supports four primary formats
http://oreilly.com/
 And Pragmatic Programmers kinda agrees
http://pragprog.com/
 PDF (for your computer)
 mobi (for Kindle, etc)
 APK (for Android devices)
 ePub (for iPhone, iPad, Sony, etc)
The wellknown: PDF
 Tagged PDF's can be reflowed
http://broadcast.oreilly.com/2010/01/inside-the-e-book-wars-pdf-ref.html
 But not all PDF's are tagged
 Big (typically 2-4 times bigger than the other
formats)
 Good on your computer, nice for printing
 Borrow for free (8 days => DRM) on Ebib.dk
http://elibrary.ebib.dk/
For specific devices
 mobi
http://en.wikipedia.org/wiki/Mobipocket
 Various devices including the original Kindle
 Free reader for Windows can be run on Linux
using Wine.
 Borrow for free (28 days => DRM)
http://ebogsbibliotek.dk/
 APK – for Android (haven't got one)
http://en.wikipedia.org/wiki/APK_%28file_format%29
My favorite: ePub
 Free and open e-book standard
http://en.wikipedia.org/wiki/EPUB
 Reflowable and resizable text
 It's just a ZIP archive with .epub extension
 Contents is mainly (X)HTML
 Support for styling (CSS)
It's just a zip + (x)html
slu@rabota:~/Downloads$ unzip ­t Perl_Cookbook_Second_Edition.epub
Archive:  Perl_Cookbook_Second_Edition.epub
    testing: mimetype                 OK
    testing: META­INF/container.xml   OK
    testing: OEBPS/ch04s14.html       OK
    ...
    testing: OEBPS/tagoreillycom20090202oreillyimages251830.gif   OK
    ...
    testing: OEBPS/ch07s20.html       OK
    testing: OEBPS/ch10s07.html       OK
No errors detected in compressed data of Perl_Cookbook_Second_Edition.epub.
slu@rabota:~/Downloads$ 
Extracting text is simple
slu@rabota:~/Downloads$ unzip ­p Perl_Cookbook_Second_Edition.epub 
> OEBPS/ch10s07.html|head ­n3
<?xml version="1.0" encoding="UTF­8" standalone="no"?>
<!DOCTYPE html PUBLIC "­//W3C//DTD XHTML 1.1//EN" 
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>10.6. Detecting Return 
Context</title><link rel="stylesheet" href="core.css" type="text/css"/><meta 
name="generator" content="DocBook XSL Stylesheets V1.74.0"/></head><body><div 
class="sect1" title="10.6. Detecting Return Context"><div 
class="titlepage"><div><div><h1 class="title"><a id="perlckbk2­CHP­10­SECT­
6"/>10.6. Detecting Return Context</h1></div></div></div><div class="sect2" 
title="Problem"><div class="titlepage"><div><div><h2 class="title"><a 
id="perlckbk2­CHP­10­SECT­6.1"/>Problem</h2></div></div></div><p><a 
id="perlckbk2­CHP­10­ITERM­4546" class="indexterm"/> <a id="perlckbk2­CHP­10­
ITERM­4547" class="indexterm"/> <a id="perlckbk2­CHP­10­ITERM­4548" 
class="indexterm"/> <a id="perlckbk2­CHP­10­ITERM­4549" class="indexterm"/>You 
want to know in which context your function was
slu@rabota:~/Downloads$ 
Creating e-books
 Creating a ZIP archive is easy
 Generating HTML is easy
 From what source format?
 …
 Search on CPAN is even easier!
App::Pod2Epub
 Installing
cpan App::Pod2Epub
 Depends on
 Pod::Simple::XHTML (might need to install)
 EBook::EPUB
 XML::Writer
 Now you can write
pod2epub /usr/.../pod/perlfunc.pod ­o perlfunc.epub
Final thoughts
 Some documentation is split in several pods
(e.g. Moose::Cookbook)
 pod2epub only handles one at a time
 Need to look into EBook::EPUB
 CPAN is your friend
 Slides available at slideshare
http://www.slideshare.net/slu

Weitere ähnliche Inhalte

Was ist angesagt?

Tools to help you join the self publishing revolution
Tools to help you join the self publishing revolutionTools to help you join the self publishing revolution
Tools to help you join the self publishing revolutionsaturdayplace
 
DomDisc and the Domino data api
DomDisc and the Domino data apiDomDisc and the Domino data api
DomDisc and the Domino data apiJens Bruntt
 
Introduction to go lang
Introduction to go langIntroduction to go lang
Introduction to go langAmal Mohan N
 
1 introductin to HTML
1 introductin to HTML1 introductin to HTML
1 introductin to HTMLJaved Khan
 
What is html and how it uses/
What is html and how it uses/What is html and how it uses/
What is html and how it uses/abhishek9260
 
Presentation1
Presentation1Presentation1
Presentation1Twigsta
 
Converting to DAISY - ACHIEVE workshop
Converting to DAISY - ACHIEVE workshopConverting to DAISY - ACHIEVE workshop
Converting to DAISY - ACHIEVE workshopMoira Clunie
 
Express bulk order processing
Express bulk order processingExpress bulk order processing
Express bulk order processingPaytm
 
Developing for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformDeveloping for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformTaylor Singletary
 

Was ist angesagt? (15)

Tools to help you join the self publishing revolution
Tools to help you join the self publishing revolutionTools to help you join the self publishing revolution
Tools to help you join the self publishing revolution
 
DomDisc and the Domino data api
DomDisc and the Domino data apiDomDisc and the Domino data api
DomDisc and the Domino data api
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Introduction to go lang
Introduction to go langIntroduction to go lang
Introduction to go lang
 
1 introductin to HTML
1 introductin to HTML1 introductin to HTML
1 introductin to HTML
 
Xml & scripting
Xml & scriptingXml & scripting
Xml & scripting
 
Learn HTML and HTML5
Learn HTML and HTML5 Learn HTML and HTML5
Learn HTML and HTML5
 
What is html and how it uses/
What is html and how it uses/What is html and how it uses/
What is html and how it uses/
 
Presentation1
Presentation1Presentation1
Presentation1
 
What is html
What is html What is html
What is html
 
Converting to DAISY - ACHIEVE workshop
Converting to DAISY - ACHIEVE workshopConverting to DAISY - ACHIEVE workshop
Converting to DAISY - ACHIEVE workshop
 
Php
PhpPhp
Php
 
Express bulk order processing
Express bulk order processingExpress bulk order processing
Express bulk order processing
 
How cgi scripting works
How cgi scripting worksHow cgi scripting works
How cgi scripting works
 
Developing for LinkedIn's Application Platform
Developing for LinkedIn's Application PlatformDeveloping for LinkedIn's Application Platform
Developing for LinkedIn's Application Platform
 

Andere mochten auch

How developers write documentation
How developers write documentationHow developers write documentation
How developers write documentationSenthilkumar Gopal
 
Project Documentation | Common Room Networks Foundation | 2003 - 2008
Project Documentation | Common Room Networks Foundation | 2003 - 2008Project Documentation | Common Room Networks Foundation | 2003 - 2008
Project Documentation | Common Room Networks Foundation | 2003 - 2008Gustaff Harriman Iskandar
 
Documenting code yapceu2016
Documenting code yapceu2016Documenting code yapceu2016
Documenting code yapceu2016Søren Lund
 
Chapter 04 2014-15 Technical Writing
Chapter 04 2014-15  Technical WritingChapter 04 2014-15  Technical Writing
Chapter 04 2014-15 Technical WritingMagdi Saadawi
 
Building Collaborative Applications with Wikis
Building Collaborative Applications with WikisBuilding Collaborative Applications with Wikis
Building Collaborative Applications with WikisMeredith Farkas
 
Rendering XML Document
Rendering XML DocumentRendering XML Document
Rendering XML DocumentDudy Ali
 
To try use XSL for display group XML file movies
To try use XSL for display group XML file moviesTo try use XSL for display group XML file movies
To try use XSL for display group XML file moviesAey Unthika
 
Chapter 04 part 2 Tech. Writing 2014-2015
Chapter 04 part 2 Tech. Writing  2014-2015Chapter 04 part 2 Tech. Writing  2014-2015
Chapter 04 part 2 Tech. Writing 2014-2015Magdi Saadawi
 
Wonderful World of Wikis
Wonderful World of WikisWonderful World of Wikis
Wonderful World of WikisVicki Davis
 
Doxygen - Source Code Documentation Generator Tool
Doxygen -  Source Code Documentation Generator ToolDoxygen -  Source Code Documentation Generator Tool
Doxygen - Source Code Documentation Generator ToolGuo Albert
 
Thinking of Documentation as Code [YUIConf 2013]
Thinking of Documentation as Code [YUIConf 2013]Thinking of Documentation as Code [YUIConf 2013]
Thinking of Documentation as Code [YUIConf 2013]evangoer
 
Introducción a la gestión de sistemas de información en la empresa. Universit...
Introducción a la gestión de sistemas de información en la empresa. Universit...Introducción a la gestión de sistemas de información en la empresa. Universit...
Introducción a la gestión de sistemas de información en la empresa. Universit...Julio Iglesias Pascual
 
Docs as-code-missing.-manual
Docs as-code-missing.-manualDocs as-code-missing.-manual
Docs as-code-missing.-manualMargaret Eker
 
XSLT 2010-03-03
XSLT 2010-03-03XSLT 2010-03-03
XSLT 2010-03-03kmiyako
 

Andere mochten auch (20)

How developers write documentation
How developers write documentationHow developers write documentation
How developers write documentation
 
Project Documentation | Common Room Networks Foundation | 2003 - 2008
Project Documentation | Common Room Networks Foundation | 2003 - 2008Project Documentation | Common Room Networks Foundation | 2003 - 2008
Project Documentation | Common Room Networks Foundation | 2003 - 2008
 
Documenting code yapceu2016
Documenting code yapceu2016Documenting code yapceu2016
Documenting code yapceu2016
 
Chapter 04 2014-15 Technical Writing
Chapter 04 2014-15  Technical WritingChapter 04 2014-15  Technical Writing
Chapter 04 2014-15 Technical Writing
 
Wikis 2008
Wikis 2008Wikis 2008
Wikis 2008
 
Building Collaborative Applications with Wikis
Building Collaborative Applications with WikisBuilding Collaborative Applications with Wikis
Building Collaborative Applications with Wikis
 
Rendering XML Document
Rendering XML DocumentRendering XML Document
Rendering XML Document
 
code documentation
code documentationcode documentation
code documentation
 
To try use XSL for display group XML file movies
To try use XSL for display group XML file moviesTo try use XSL for display group XML file movies
To try use XSL for display group XML file movies
 
MSc dissertation np
MSc dissertation npMSc dissertation np
MSc dissertation np
 
Chapter 04 part 2 Tech. Writing 2014-2015
Chapter 04 part 2 Tech. Writing  2014-2015Chapter 04 part 2 Tech. Writing  2014-2015
Chapter 04 part 2 Tech. Writing 2014-2015
 
Code documentation
Code documentationCode documentation
Code documentation
 
Wonderful World of Wikis
Wonderful World of WikisWonderful World of Wikis
Wonderful World of Wikis
 
Doxygen - Source Code Documentation Generator Tool
Doxygen -  Source Code Documentation Generator ToolDoxygen -  Source Code Documentation Generator Tool
Doxygen - Source Code Documentation Generator Tool
 
XSLT. Basic.
XSLT. Basic.XSLT. Basic.
XSLT. Basic.
 
Thinking of Documentation as Code [YUIConf 2013]
Thinking of Documentation as Code [YUIConf 2013]Thinking of Documentation as Code [YUIConf 2013]
Thinking of Documentation as Code [YUIConf 2013]
 
Introducción a la gestión de sistemas de información en la empresa. Universit...
Introducción a la gestión de sistemas de información en la empresa. Universit...Introducción a la gestión de sistemas de información en la empresa. Universit...
Introducción a la gestión de sistemas de información en la empresa. Universit...
 
Docs as-code-missing.-manual
Docs as-code-missing.-manualDocs as-code-missing.-manual
Docs as-code-missing.-manual
 
Session 4
Session 4Session 4
Session 4
 
XSLT 2010-03-03
XSLT 2010-03-03XSLT 2010-03-03
XSLT 2010-03-03
 

Ähnlich wie E-books and App::Pod2Epub

ePubs-RollYourOwn(for_supercon2012)
ePubs-RollYourOwn(for_supercon2012)ePubs-RollYourOwn(for_supercon2012)
ePubs-RollYourOwn(for_supercon2012)windsordi
 
UNC Chapel Hill 2014 CTC Retreat - Creating epub e books
UNC Chapel Hill 2014 CTC Retreat - Creating epub e booksUNC Chapel Hill 2014 CTC Retreat - Creating epub e books
UNC Chapel Hill 2014 CTC Retreat - Creating epub e booksJonathan Pletzke
 
Bill Kasdorf - Apex Content Solutions - Agile processes, agile publications (...
Bill Kasdorf - Apex Content Solutions - Agile processes, agile publications (...Bill Kasdorf - Apex Content Solutions - Agile processes, agile publications (...
Bill Kasdorf - Apex Content Solutions - Agile processes, agile publications (...Erich van Rijn
 
DOC-20230427-WA0012..pptx
DOC-20230427-WA0012..pptxDOC-20230427-WA0012..pptx
DOC-20230427-WA0012..pptxkumarkaushal17
 
Getting started with go - Florin Patan - Codemotion Milan 2016
Getting started with go - Florin Patan - Codemotion Milan 2016Getting started with go - Florin Patan - Codemotion Milan 2016
Getting started with go - Florin Patan - Codemotion Milan 2016Codemotion
 
Some wonderful Linux softwares for daily use
Some wonderful Linux softwares for daily useSome wonderful Linux softwares for daily use
Some wonderful Linux softwares for daily usearun.arwachin
 
Rudolf Mumenthaler: eReaders and
Rudolf Mumenthaler: eReaders andRudolf Mumenthaler: eReaders and
Rudolf Mumenthaler: eReaders andRudolf Mumenthaler
 
AddisDev Meetup ii: Golang and Flow-based Programming
AddisDev Meetup ii: Golang and Flow-based ProgrammingAddisDev Meetup ii: Golang and Flow-based Programming
AddisDev Meetup ii: Golang and Flow-based ProgrammingSamuel Lampa
 
HTML5 Is the Future of Book Authorship
HTML5 Is the Future of Book AuthorshipHTML5 Is the Future of Book Authorship
HTML5 Is the Future of Book AuthorshipSanders Kleinfeld
 
F/LOSS in Norwegian libraries
F/LOSS in Norwegian librariesF/LOSS in Norwegian libraries
F/LOSS in Norwegian librariesLibriotech
 
PyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdfPyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdfEmbarcadero Technologies
 
Informatica exploradores
Informatica exploradoresInformatica exploradores
Informatica exploradoresdanilopez21
 
Introduction to Go
Introduction to GoIntroduction to Go
Introduction to GoSimon Hewitt
 

Ähnlich wie E-books and App::Pod2Epub (20)

ePubs-RollYourOwn(for_supercon2012)
ePubs-RollYourOwn(for_supercon2012)ePubs-RollYourOwn(for_supercon2012)
ePubs-RollYourOwn(for_supercon2012)
 
UNC Chapel Hill 2014 CTC Retreat - Creating epub e books
UNC Chapel Hill 2014 CTC Retreat - Creating epub e booksUNC Chapel Hill 2014 CTC Retreat - Creating epub e books
UNC Chapel Hill 2014 CTC Retreat - Creating epub e books
 
Bill Kasdorf - Apex Content Solutions - Agile processes, agile publications (...
Bill Kasdorf - Apex Content Solutions - Agile processes, agile publications (...Bill Kasdorf - Apex Content Solutions - Agile processes, agile publications (...
Bill Kasdorf - Apex Content Solutions - Agile processes, agile publications (...
 
DOC-20230427-WA0012..pptx
DOC-20230427-WA0012..pptxDOC-20230427-WA0012..pptx
DOC-20230427-WA0012..pptx
 
Oreilly
OreillyOreilly
Oreilly
 
Linux Intro
Linux   IntroLinux   Intro
Linux Intro
 
Getting started with go - Florin Patan - Codemotion Milan 2016
Getting started with go - Florin Patan - Codemotion Milan 2016Getting started with go - Florin Patan - Codemotion Milan 2016
Getting started with go - Florin Patan - Codemotion Milan 2016
 
Some wonderful Linux softwares for daily use
Some wonderful Linux softwares for daily useSome wonderful Linux softwares for daily use
Some wonderful Linux softwares for daily use
 
Epub IDPF update & futures-Garth Conboy
Epub IDPF update & futures-Garth ConboyEpub IDPF update & futures-Garth Conboy
Epub IDPF update & futures-Garth Conboy
 
Rudolf Mumenthaler: eReaders and
Rudolf Mumenthaler: eReaders andRudolf Mumenthaler: eReaders and
Rudolf Mumenthaler: eReaders and
 
Fedora24
Fedora24Fedora24
Fedora24
 
AddisDev Meetup ii: Golang and Flow-based Programming
AddisDev Meetup ii: Golang and Flow-based ProgrammingAddisDev Meetup ii: Golang and Flow-based Programming
AddisDev Meetup ii: Golang and Flow-based Programming
 
Beginning development in go
Beginning development in goBeginning development in go
Beginning development in go
 
HTML5 Is the Future of Book Authorship
HTML5 Is the Future of Book AuthorshipHTML5 Is the Future of Book Authorship
HTML5 Is the Future of Book Authorship
 
F/LOSS in Norwegian libraries
F/LOSS in Norwegian librariesF/LOSS in Norwegian libraries
F/LOSS in Norwegian libraries
 
PyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdfPyTorch for Delphi - Python Data Sciences Libraries.pdf
PyTorch for Delphi - Python Data Sciences Libraries.pdf
 
Ebooks1
Ebooks1Ebooks1
Ebooks1
 
Ebooks1
Ebooks1Ebooks1
Ebooks1
 
Informatica exploradores
Informatica exploradoresInformatica exploradores
Informatica exploradores
 
Introduction to Go
Introduction to GoIntroduction to Go
Introduction to Go
 

Mehr von Søren Lund

Perl and Amazon Web Services
Perl and Amazon Web ServicesPerl and Amazon Web Services
Perl and Amazon Web ServicesSøren Lund
 
Documenting Code - Patterns and Anti-patterns - NLPW 2016
Documenting Code - Patterns and Anti-patterns - NLPW 2016Documenting Code - Patterns and Anti-patterns - NLPW 2016
Documenting Code - Patterns and Anti-patterns - NLPW 2016Søren Lund
 
Beyond Unit Testing
Beyond Unit TestingBeyond Unit Testing
Beyond Unit TestingSøren Lund
 
Playing with Hadoop (NPW2013)
Playing with Hadoop (NPW2013)Playing with Hadoop (NPW2013)
Playing with Hadoop (NPW2013)Søren Lund
 
Playing with Hadoop 2013-10-31
Playing with Hadoop 2013-10-31Playing with Hadoop 2013-10-31
Playing with Hadoop 2013-10-31Søren Lund
 
Apache JMeter Introduction
Apache JMeter IntroductionApache JMeter Introduction
Apache JMeter IntroductionSøren Lund
 
Basic testing with selenium
Basic testing with seleniumBasic testing with selenium
Basic testing with seleniumSøren Lund
 

Mehr von Søren Lund (7)

Perl and Amazon Web Services
Perl and Amazon Web ServicesPerl and Amazon Web Services
Perl and Amazon Web Services
 
Documenting Code - Patterns and Anti-patterns - NLPW 2016
Documenting Code - Patterns and Anti-patterns - NLPW 2016Documenting Code - Patterns and Anti-patterns - NLPW 2016
Documenting Code - Patterns and Anti-patterns - NLPW 2016
 
Beyond Unit Testing
Beyond Unit TestingBeyond Unit Testing
Beyond Unit Testing
 
Playing with Hadoop (NPW2013)
Playing with Hadoop (NPW2013)Playing with Hadoop (NPW2013)
Playing with Hadoop (NPW2013)
 
Playing with Hadoop 2013-10-31
Playing with Hadoop 2013-10-31Playing with Hadoop 2013-10-31
Playing with Hadoop 2013-10-31
 
Apache JMeter Introduction
Apache JMeter IntroductionApache JMeter Introduction
Apache JMeter Introduction
 
Basic testing with selenium
Basic testing with seleniumBasic testing with selenium
Basic testing with selenium
 

Kürzlich hochgeladen

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Kürzlich hochgeladen (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

E-books and App::Pod2Epub

  • 1. Cph.pm Lightn. Talks 2010-10-26 E-books and App::Pod2Epub Søren Lund (slu) soren@lund.org
  • 2. E-book readers  Based on E-Ink technology http://en.wikipedia.org/wiki/Electronic_paper  Usually 5” or 6” screen size http://www.the-ebook-reader.com/ebook-reader-comparison.html  Ergonomics and build quality varies  Speed and memory options are important  Software (GUI) difference  Some support few others many formats http://en.wikipedia.org/wiki/Comparison_of_e-book_formats
  • 3. BeBook Neo 6”  Good build quality and sleek looking  Fast 532 Mhz Freescale processor  Wifi and Wacom touchpanel (stylus)  No sleve or cover  Expensive (DKK 2895,-)
  • 4. E-book formats  O'Reilly supports four primary formats http://oreilly.com/  And Pragmatic Programmers kinda agrees http://pragprog.com/  PDF (for your computer)  mobi (for Kindle, etc)  APK (for Android devices)  ePub (for iPhone, iPad, Sony, etc)
  • 5. The wellknown: PDF  Tagged PDF's can be reflowed http://broadcast.oreilly.com/2010/01/inside-the-e-book-wars-pdf-ref.html  But not all PDF's are tagged  Big (typically 2-4 times bigger than the other formats)  Good on your computer, nice for printing  Borrow for free (8 days => DRM) on Ebib.dk http://elibrary.ebib.dk/
  • 6. For specific devices  mobi http://en.wikipedia.org/wiki/Mobipocket  Various devices including the original Kindle  Free reader for Windows can be run on Linux using Wine.  Borrow for free (28 days => DRM) http://ebogsbibliotek.dk/  APK – for Android (haven't got one) http://en.wikipedia.org/wiki/APK_%28file_format%29
  • 7. My favorite: ePub  Free and open e-book standard http://en.wikipedia.org/wiki/EPUB  Reflowable and resizable text  It's just a ZIP archive with .epub extension  Contents is mainly (X)HTML  Support for styling (CSS)
  • 8. It's just a zip + (x)html slu@rabota:~/Downloads$ unzip ­t Perl_Cookbook_Second_Edition.epub Archive:  Perl_Cookbook_Second_Edition.epub     testing: mimetype                 OK     testing: META­INF/container.xml   OK     testing: OEBPS/ch04s14.html       OK     ...     testing: OEBPS/tagoreillycom20090202oreillyimages251830.gif   OK     ...     testing: OEBPS/ch07s20.html       OK     testing: OEBPS/ch10s07.html       OK No errors detected in compressed data of Perl_Cookbook_Second_Edition.epub. slu@rabota:~/Downloads$ 
  • 9. Extracting text is simple slu@rabota:~/Downloads$ unzip ­p Perl_Cookbook_Second_Edition.epub  > OEBPS/ch10s07.html|head ­n3 <?xml version="1.0" encoding="UTF­8" standalone="no"?> <!DOCTYPE html PUBLIC "­//W3C//DTD XHTML 1.1//EN"  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><title>10.6. Detecting Return  Context</title><link rel="stylesheet" href="core.css" type="text/css"/><meta  name="generator" content="DocBook XSL Stylesheets V1.74.0"/></head><body><div  class="sect1" title="10.6. Detecting Return Context"><div  class="titlepage"><div><div><h1 class="title"><a id="perlckbk2­CHP­10­SECT­ 6"/>10.6. Detecting Return Context</h1></div></div></div><div class="sect2"  title="Problem"><div class="titlepage"><div><div><h2 class="title"><a  id="perlckbk2­CHP­10­SECT­6.1"/>Problem</h2></div></div></div><p><a  id="perlckbk2­CHP­10­ITERM­4546" class="indexterm"/> <a id="perlckbk2­CHP­10­ ITERM­4547" class="indexterm"/> <a id="perlckbk2­CHP­10­ITERM­4548"  class="indexterm"/> <a id="perlckbk2­CHP­10­ITERM­4549" class="indexterm"/>You  want to know in which context your function was slu@rabota:~/Downloads$ 
  • 10. Creating e-books  Creating a ZIP archive is easy  Generating HTML is easy  From what source format?  …  Search on CPAN is even easier!
  • 11. App::Pod2Epub  Installing cpan App::Pod2Epub  Depends on  Pod::Simple::XHTML (might need to install)  EBook::EPUB  XML::Writer  Now you can write pod2epub /usr/.../pod/perlfunc.pod ­o perlfunc.epub
  • 12. Final thoughts  Some documentation is split in several pods (e.g. Moose::Cookbook)  pod2epub only handles one at a time  Need to look into EBook::EPUB  CPAN is your friend  Slides available at slideshare http://www.slideshare.net/slu