open source for publishing

30
Open Source for Publishing IDPF Digital Book May 28, 2014 Sanders Kleinfeld O’Reilly Media, Inc.

Upload: sanders-kleinfeld

Post on 06-May-2015

1.806 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Open Source for Publishing

Open Source for Publishing

IDPF Digital Book May 28, 2014

Sanders Kleinfeld O’Reilly Media, Inc.

Page 2: Open Source for Publishing

What is “Open Source”?

Page 3: Open Source for Publishing

The Open Source Definition

(via open source initiative; http://opensource.org/osd)

Page 4: Open Source for Publishing

Gross Simplification:*

* Sorry Eric Raymond & Richard Stallman!

Open Source = FREE!

Page 5: Open Source for Publishing

Gross Simplification (cont’d)

“Free” as in “Freedom”

(“Penguin flying with a suitcase” by Moini: http://openclipart.org/detail/135385/migrating-penguin-by-moini)

Page 6: Open Source for Publishing

Gross Simplification (cont’d)

“Free” as in “Beer”

(“A mug full of cold beer” by nicubunu: http://openclipart.org/detail/14854/beer-mug-by-nicubunu)

Page 7: Open Source for Publishing

Three Myths About Open Source

Page 8: Open Source for Publishing

Myth #1: “Open-source code is

bad for business”

Page 9: Open Source for Publishing

Reality: Public Collaboration

Helps Everyone Make/Save

(“little cartoon guy carrying big bag of money with dollar sign” by johnny_automatic: http://openclipart.org/detail/1030/bag-of-money-by-johnny_automatic)

Page 10: Open Source for Publishing

Case Study #1

The O’Reilly Media Toolchain

Page 11: Open Source for Publishing

Eschew the proprietary Word<->InDesign roundtrip

infinite loop of ! Conversion!

Back-Conversion!

Edit! Typeset! Export!

?

?

Page 12: Open Source for Publishing

Instead, build a SINGLE SOURCE workflow based on OPEN SOURCE!

Edit! Typeset with CSS!

Open-source HTMLBook project!

*

* PDF generated from HTML+CSS with AntennaHouse Formatter (http://www.antennahouse.com)

Page 13: Open Source for Publishing

Introducing HTMLBook

(github.com/oreillymedia/htmlbook)

Page 14: Open Source for Publishing

Open-Source Benefits:

•  No vendor lock-in

•  No dependency on commercial software-release cycles

•  Let others in the general public help you improve your codebase

•  Build community collaboration around the same aims

Page 15: Open Source for Publishing

Myth #2: “I have to open-source ALL MY

CODE?!”

Page 16: Open Source for Publishing

Reality: Open-source only what furthers your business goals, and helps the industry!

Page 17: Open Source for Publishing

Case Study #2

O’Reilly Atlas

Page 18: Open Source for Publishing

(atlas.oreilly.com)

Page 19: Open Source for Publishing

Atlas API: Trigger automated EPUB/Mobi/PDF builds

http://atlasdocs.oreilly.com

Page 20: Open Source for Publishing

Atlas API rubygem (github.com/oreillymedia/atlas-api)

Page 21: Open Source for Publishing

Other open-sourced Atlas components:

•  HTMLBook project (https://github.com/oreillymedia/HTMLBook)

•  Markdown to HTMLBook (https://github.com/oreillymedia/htmlbook.js)

•  AsciiDoc to HTMLBook (via AsciiDoctor) (https://github.com/oreillymedia/asciidoctor-htmlbook/)

•  Backbone.js wrapper for GitLab API: (https://github.com/oreillymedia/backbone-gitlab)

Page 22: Open Source for Publishing

Myth #3: “Open Source is just

about software”

Page 23: Open Source for Publishing

Reality: Open Source is about

BOOK CONTENT, too!

Page 24: Open Source for Publishing

(fair use, via http://ecx.images-amazon.com/images/I/41B6T0ZP7VL.jpg)

(or, just buy it at http://www.amazon.com/Steal-This-Book-Abbie-Hoffman/dp/

156858217X/)

Page 25: Open Source for Publishing

Case Study #3

The Nature of Code by Daniel Shiffman

Page 26: Open Source for Publishing

What if you promise to put your textbook online for free…?

(natureofcode.com)

Page 27: Open Source for Publishing

…And also post the manuscript source files on GitHub so anyone

can “share and remix”?

(https://github.com/shiffman/The-Nature-of-Code/)

Page 28: Open Source for Publishing

You receive pledges of >$30,000…

https://www.kickstarter.com/projects/shiffman/the-nature-of-code-book-project

Page 29: Open Source for Publishing

…And receive hundreds of submissions from people who

want to help enhance your book

https://github.com/shiffman/The-Nature-of-Code/issues

Page 30: Open Source for Publishing

Contact Me! Email: [email protected]

Twitter: @sandersk