SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Mais de 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
 

Mais de 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
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
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
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 

Último (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
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
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

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