mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Added online toggle
This commit is contained in:
parent
868b057e02
commit
65fbc6d034
33 changed files with 110 additions and 1804 deletions
BIN
.DS_Store
vendored
BIN
.DS_Store
vendored
Binary file not shown.
BIN
TDO-Chapters1-3/.DS_Store
vendored
BIN
TDO-Chapters1-3/.DS_Store
vendored
Binary file not shown.
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0">
|
||||
<rootfiles>
|
||||
<rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>
|
||||
</rootfiles>
|
||||
</container>
|
BIN
TDO-Chapters1-3/OEBPS/.DS_Store
vendored
BIN
TDO-Chapters1-3/OEBPS/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,39 +0,0 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="bookid">
|
||||
<metadata>
|
||||
<dc:identifier xmlns:dc="http://purl.org/dc/elements/1.1/" id="bookid">_id437600</dc:identifier>
|
||||
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">The Discipline of Organizing</dc:title>
|
||||
<dc:language xmlns:dc="http://purl.org/dc/elements/1.1/">en</dc:language>
|
||||
<meta name="cover" content="cover-image"/>
|
||||
</metadata>
|
||||
<manifest>
|
||||
<item id="ncxtoc" media-type="application/x-dtbncx+xml" href="toc.ncx"/>
|
||||
<item media-type="text/css" id="css" href="core.css"/>
|
||||
<item id="cover" href="cover.html" media-type="application/xhtml+xml"/>
|
||||
<item id="epub.embedded.font.1" href="UbuntuMono-B.ttf" media-type="font/truetype"/>
|
||||
<item id="epub.embedded.font.2" href="UbuntuMono-BI.ttf" media-type="font/truetype"/>
|
||||
<item id="epub.embedded.font.3" href="UbuntuMono-R.ttf" media-type="font/truetype"/>
|
||||
<item id="epub.embedded.font.4" href="UbuntuMono-RI.ttf" media-type="font/truetype"/>
|
||||
<item id="epub.embedded.font.5" href="FreeSerif.otf" media-type="font/opentype"/>
|
||||
<item id="epub.embedded.font.6" href="FreeSansBold.otf" media-type="font/opentype"/>
|
||||
<item id="id437600" href="index.html" media-type="application/xhtml+xml"/>
|
||||
<item id="cover-image" href="images/cover.png.jpg" media-type="image/jpeg"/>
|
||||
<item id="id424866" href="ch01.html" media-type="application/xhtml+xml"/>
|
||||
<item id="id426029" href="images/OrgSystemChapter1.png" media-type="image/png"/>
|
||||
<item id="id424326" href="ch02.html" media-type="application/xhtml+xml"/>
|
||||
<item id="id429739" href="images/Activities.png" media-type="image/png"/>
|
||||
<item id="id427741" href="ch03.html" media-type="application/xhtml+xml"/>
|
||||
<item id="id380631" href="copyright.html" media-type="application/xhtml+xml"/>
|
||||
</manifest>
|
||||
<spine toc="ncxtoc">
|
||||
<itemref idref="cover" linear="yes"/>
|
||||
<itemref idref="id437600"/>
|
||||
<itemref idref="id424866"/>
|
||||
<itemref idref="id424326"/>
|
||||
<itemref idref="id427741"/>
|
||||
<itemref idref="id380631"/>
|
||||
</spine>
|
||||
<guide>
|
||||
<reference href="cover.html" type="cover" title="Cover"/>
|
||||
</guide>
|
||||
</package>
|
|
@ -1,3 +0,0 @@
|
|||
<?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/><link rel="stylesheet" href="core.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"/></head><body><div class="colophon"><h1 class="title"><a id="copyright_page_orm"/></h1><div><h1 class="title"><a id="id437600"/>The Discipline of Organizing</h1></div><div class="editor"><h4>Editor</h4><h3 class="editor"><span class="firstname">Robert J. </span> <span class="surname">Glushko</span></h3></div><div class="timestamp"><p>2012-10-31T03:17:32Z</p></div><p/></div></body></html>
|
|
@ -1,964 +0,0 @@
|
|||
@charset "UTF-8";
|
||||
|
||||
/* O'Reilly Media, 2012; version 2.6 */
|
||||
|
||||
/* reset */
|
||||
|
||||
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
|
||||
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del,
|
||||
dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub,
|
||||
sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form,
|
||||
label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-size: 100%;
|
||||
vertical-align: baseline;
|
||||
background: transparent; }
|
||||
|
||||
/* end reset */
|
||||
|
||||
@page {
|
||||
margin: 5px !important;
|
||||
}
|
||||
|
||||
/* p margin */
|
||||
|
||||
p {
|
||||
margin: 8px 0 0;
|
||||
}
|
||||
|
||||
/* inlines; code and monospace in the code section below */
|
||||
|
||||
span.bolditalic {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
strong, span.bold {
|
||||
font-weight: bold;
|
||||
font-family: serif;
|
||||
}
|
||||
|
||||
a.ulink, a.xref, a.email {
|
||||
text-decoration: none;
|
||||
color: #8e0012;
|
||||
}
|
||||
|
||||
sup { /* bug in webkit? */
|
||||
font-size: x-small;
|
||||
vertical-align: super;
|
||||
}
|
||||
|
||||
sub {
|
||||
font-size: smaller;
|
||||
vertical-align: sub;
|
||||
}
|
||||
|
||||
span.lineannotation {
|
||||
font-style: italic;
|
||||
color: red;
|
||||
font-family: serif;
|
||||
}
|
||||
|
||||
span.underline { text-decoration: underline; }
|
||||
|
||||
span.strikethrough { text-decoration: line-through; }
|
||||
|
||||
span.smallcaps { font-variant: small-caps; }
|
||||
|
||||
span.cursor { background: #000; color: #FFF; } /* for Learning GNU Emacs, 3e */
|
||||
|
||||
span.smaller { font-size: 75%; }
|
||||
|
||||
/* added for special formatting in Regular Expressions Cookbook, 1e (9780596802783.EBOOK) */
|
||||
|
||||
.boxedtext, .keycap {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #000;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
span.gray50 {
|
||||
color: #7F7F7F; /* 50 % gray */
|
||||
}
|
||||
|
||||
/* added for special formatting in Bioinformatics Programming Using Python, 1e (9781449378677.EBOOK) */
|
||||
|
||||
.gray-background, .reverse-video {
|
||||
background: #2E2E2E;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
/* added for special formatting in Working with Microsoft Visual Studio 2005, 1e (9780735649958.EBOOK) */
|
||||
|
||||
.light-gray-background {
|
||||
background: #A0A0A0;
|
||||
}
|
||||
|
||||
/* preserve whitespace in non-pre elements */
|
||||
/* Used for special formatting in Using SQLite (9781449394042.EBOOK), which needs verbatim space preserved in a <dt> element, which cannot contain a pre */
|
||||
/* See EBK-2920 */
|
||||
|
||||
.preserve-whitespace { white-space: pre-wrap; }
|
||||
|
||||
/* headings */
|
||||
|
||||
h1 {
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
margin-top: 20px !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
color: #8e0012;
|
||||
margin: 15px 0 8px 0 !important;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
margin: 10px 0 8px 0 !important;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: bold;
|
||||
font-weight: 1em;
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
color: #555;
|
||||
margin: 9px 0 !important;
|
||||
}
|
||||
|
||||
/* Appropriate heading hyphenation suppression for different ereaders */
|
||||
h1, h2, h3, h4 {
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
adobe-hyphenate: none;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
div.titlepage {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
div.chapter > div.titlepage:first-child h1.title,
|
||||
div.preface > div.titlepage:first-child h1.title,
|
||||
div.appendix > div.titlepage:first-child h1.title { /* larger chapter title */
|
||||
font-size: 2em;
|
||||
line-height: 1;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
/* images */
|
||||
|
||||
img {
|
||||
max-width: 95%;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.figure {
|
||||
margin: 10px 0 !important;
|
||||
text-align: center;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #000;
|
||||
background-color: transparent;
|
||||
padding: 5px !important;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
div.figure p.title, div.informalfigure div.caption {
|
||||
font-size: 90%;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-family: "Free Serif", serif;
|
||||
color: #000;
|
||||
padding: 5px !important;
|
||||
page-break-before: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
div.informalfigure {
|
||||
text-align: center;
|
||||
padding: 5px 0 !important;
|
||||
}
|
||||
|
||||
/* sidebars */
|
||||
|
||||
div.sidebar {
|
||||
margin: 10px 0 !important;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #000;
|
||||
background-color: transparent;
|
||||
font-size: 90%;
|
||||
padding: 10px 8px !important;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
div.sidebar p.title {
|
||||
font: bold 1em;
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
text-align: center;
|
||||
margin: 4px 0 6px 0 !important;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
div.sidebar ol {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
div.sidebar div.tip, div.sidebar div.note, div.sidebar div.warning,
|
||||
div.sidebar div.caution, div.sidebar div.important {
|
||||
margin: 10px 12.5% !important;
|
||||
font-size: 90%;
|
||||
padding: 10px 5px !important;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
div.sidebar div.tip, div.sidebar div.note {
|
||||
background-color: #f1f6fc;
|
||||
border: none;
|
||||
}
|
||||
|
||||
div.sidebar div.warning, div.sidebar div.caution {
|
||||
background-color: #fce5e8;
|
||||
}
|
||||
|
||||
div.sidebar div.important {
|
||||
background-color: #FBEC5D;
|
||||
}
|
||||
|
||||
div.sidebar div.figure {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* code */
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
font-family: "Ubuntu Mono", monospace;
|
||||
margin: 10px 0 10px 20px;
|
||||
font-size: 85%;
|
||||
display: block;
|
||||
-webkit-hyphens: none;
|
||||
hyphens: none;
|
||||
adobe-hyphenate: none;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: "Ubuntu Mono", monospace;
|
||||
}
|
||||
|
||||
code strong em, code em strong, pre em strong, pre strong em,
|
||||
strong code em code, em code strong code, span.bolditalic code { /* yes, all of these variations are needed */
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
font-family: "Ubuntu Mono BoldItal", monospace;
|
||||
}
|
||||
|
||||
code em, em code, pre em, em.replaceable {
|
||||
font-family: "Ubuntu Mono Ital", monospace;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
code strong, strong code, pre strong, strong.userinput {
|
||||
font-family: "Ubuntu Mono Bold", monospace;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.example {
|
||||
margin: 10px 0 15px 0 !important;
|
||||
}
|
||||
|
||||
div.example p.title {
|
||||
font-style: italic;
|
||||
font-weight: normal;
|
||||
font-family: "Free Serif", serif;
|
||||
margin: 10px 0 5px 0 !important;
|
||||
}
|
||||
|
||||
li pre.example {
|
||||
padding: 10px 0 !important;
|
||||
}
|
||||
|
||||
div.example-contents pre.programlisting, div.example-contents pre.screen { margin: 0; }
|
||||
|
||||
|
||||
/* title and copyright page */
|
||||
|
||||
div.book div.titlepage h1.title {
|
||||
font-size: 3em;
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
margin: 50px 0 10px 0 !important;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.book div.titlepage h2.subtitle {
|
||||
text-align: center;
|
||||
color: #000;
|
||||
margin: 0 !important;
|
||||
font-style: italic;
|
||||
font-family: serif;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
div.book div.titlepage div.author h3 {
|
||||
font-size: 2em;
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
color: #8e0012;
|
||||
margin: 50px 0 !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.book div.titlepage div.publishername {
|
||||
margin-top: 60%;
|
||||
margin-bottom: 20px;
|
||||
text-align: center;
|
||||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
div.book div.titlepage div.locations p {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.book div.titlepage div.locations p.cities {
|
||||
font-size: 80%;
|
||||
text-align: center;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
div.preface[title="Dedication"] > div.titlepage h1.title {
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.5em;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
div.preface[title="Dedication"] p {
|
||||
font-style: italic;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.colophon h1.title {
|
||||
font-size: 1.3em;
|
||||
margin: 0 !important;
|
||||
font-family: "Free serif", serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
div.colophon h2.subtitle {
|
||||
margin: 0 !important;
|
||||
color: #000;
|
||||
font-family: "Free serif", serif;
|
||||
font-size: 1em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
div.colophon div.author h3.author {
|
||||
font-size: 1.1em;
|
||||
font-family: "Free serif", serif;
|
||||
margin: 10px 0 0 !important;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
div.colophon div.editor h4, div.colophon div.editor h3.editor {
|
||||
color: #000;
|
||||
font-size: 0.8em;
|
||||
margin: 15px 0 0 !important;
|
||||
font-family: "Free serif", serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
div.colophon div.editor h3.editor {
|
||||
font-size: 0.8em;
|
||||
margin: 0 !important;
|
||||
font-family: "Free serif", serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
div.colophon div.publisher {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
div.colophon div.publisher p,
|
||||
div.colophon div.publisher span.publishername {
|
||||
margin: 0;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
div.legalnotice p, div.timestamp p {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
div.timestamp p {
|
||||
margin-top: 10pt;
|
||||
}
|
||||
|
||||
div.colophon[title="About the Author"] h1.title, div.colophon[title="Colophon"] h1.title {
|
||||
font-size: 1.5em;
|
||||
margin: 0 !important;
|
||||
font-family: "Free Sans", sans-serif;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* epigraphs, blockquotes, attributions */
|
||||
|
||||
div.attribution {
|
||||
margin: 5px 0 0 50px !important;
|
||||
}
|
||||
|
||||
h3.author span.orgname { display: none } /* to work around bug */
|
||||
|
||||
div.epigraph {
|
||||
margin: 10px 0 10px 20px !important;
|
||||
page-break-inside: avoid;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
blockquote, div.blockquote {
|
||||
margin: 10px 0 10px 5px !important;
|
||||
page-break-inside: avoid;
|
||||
font-size: 95%;
|
||||
}
|
||||
|
||||
blockquote p, div.blockquote p {
|
||||
font-style: italic;
|
||||
font-family: "Free Serif", serif;
|
||||
}
|
||||
|
||||
blockquote div.attribution {
|
||||
margin: 5px 0 0 30px !important;
|
||||
text-align: right;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
blockquote div.attribution p {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
p.right {
|
||||
text-align: right;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* footnotes */
|
||||
|
||||
div.footnote {
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
/* refentries */
|
||||
|
||||
div.refnamediv h2, div.refnamediv h3, div.refsynopsisdiv h2 {
|
||||
font-size: 1.1em;
|
||||
color: #000;
|
||||
margin-top: 15px !important;
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
|
||||
div.refentry div.refsect1 h2 {
|
||||
font-size: 1.1em;
|
||||
color: #000;
|
||||
margin-top: 15px !important;
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
|
||||
div.refsect2 h3 {
|
||||
font-size: 1em;
|
||||
color: #000;
|
||||
margin-top: 10px !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
div.refnamediv p {
|
||||
margin-left: 15px !important;
|
||||
}
|
||||
|
||||
/* lists */
|
||||
|
||||
dt {
|
||||
padding-top: 10px !important;
|
||||
padding-bottom: 0 !important;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-left: 1.5em !important;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
margin-top: 8px !important;
|
||||
margin-bottom: 8px !important;
|
||||
margin-left: 20px !important;
|
||||
padding-left: 25px !important;
|
||||
}
|
||||
|
||||
ol ol {
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
|
||||
ol ol ol {
|
||||
list-style-type: lower-roman;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: square;
|
||||
margin-top: 8px !important;
|
||||
margin-bottom: 8px !important;
|
||||
margin-left: 5px !important;
|
||||
padding-left: 20px !important;
|
||||
}
|
||||
|
||||
ul ul {
|
||||
list-style-type: none;
|
||||
padding-left: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
ul ul li p:before {
|
||||
content: "\2014 \0020";
|
||||
}
|
||||
|
||||
ul ul ul li p:before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
ul ul ul {
|
||||
list-style-type: square;
|
||||
margin-left: 20px !important;
|
||||
padding-left: 30px !important;
|
||||
}
|
||||
|
||||
div.orderedlistalpha {
|
||||
list-style-type: upper-alpha;
|
||||
}
|
||||
|
||||
table.simplelist {
|
||||
margin-left: 20px !important;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
table.simplelist td {
|
||||
border: none;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
table.simplelist tr {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
table.simplelist tr:nth-of-type(even) {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
div.calloutlist p:first-child {
|
||||
margin-top: -25px !important;
|
||||
}
|
||||
|
||||
div.calloutlist dd {
|
||||
padding-left: 40px !important;
|
||||
}
|
||||
|
||||
div.calloutlist img {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a.co img {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* admonitions */
|
||||
|
||||
div.tip, div.note, div.warning, div.caution, div.important {
|
||||
margin: 10px 0 !important;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
font-size: 90%;
|
||||
padding: 10px 8px 20px 8px !important;
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
div.tip, div.note {
|
||||
border: 1px solid #6cafd0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
div.warning, div.caution {
|
||||
border: 1px solid #8e0012;
|
||||
background-color: #fce5e8;
|
||||
}
|
||||
|
||||
div.important {
|
||||
background-color: #FFF68F;
|
||||
border: 1px solid #615E3F;
|
||||
}
|
||||
|
||||
div.tip h3, div.note h3, div.warning h3, div.caution h3, div.important h3 {
|
||||
font: bold 90%;
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
text-align: center;
|
||||
margin: 4px 0 6px !important;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
|
||||
div.table, table {
|
||||
margin: 10px auto !important;
|
||||
max-width: 95%;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
div.table, div.informaltable {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
tr {
|
||||
border-bottom: 1px solid #c3c3c3;
|
||||
}
|
||||
|
||||
tr th {
|
||||
border-bottom: #9d9d9d 2px solid !important;
|
||||
border-top: #9d9d9d 2px solid !important;
|
||||
}
|
||||
|
||||
tr:nth-of-type(even) {
|
||||
background-color: #f1f6fc;
|
||||
}
|
||||
|
||||
th {
|
||||
font-family: "Free Sans Bold", sans-serif;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
td, th {
|
||||
padding: 0.3em;
|
||||
text-align: left;
|
||||
vertical-align: baseline;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
div.informaltable table {
|
||||
margin: 10px auto !important;
|
||||
}
|
||||
|
||||
div.informaltable table tr {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
div.informaltable table tr:nth-of-type(even) {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
div.informaltable td, div.informaltable th {
|
||||
border: #9d9d9d 1px solid;
|
||||
}
|
||||
|
||||
div.table p.title {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-family: "Free Serif", serif;
|
||||
margin: 20px 0 0 0 !important;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table code {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
/* Equations */
|
||||
|
||||
div.equation p.title {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-family: "Free Serif", serif;
|
||||
margin: 20px 0 10px 0 !important;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
div.equation-contents {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
/* inline images and math images used fallbacks from MathML */
|
||||
|
||||
span.inlinemediaobject { /* for iBooks, which overrides height and width on img, per the specs */
|
||||
height: 0.85em;
|
||||
display: inline-block;
|
||||
margin-bottom: 0.2em;
|
||||
}
|
||||
|
||||
span.inlinemediaobject img {
|
||||
margin: 0;
|
||||
height: 0.85em;
|
||||
}
|
||||
|
||||
div.informalequation {
|
||||
margin: 20px 0 20px 20px;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
div.informalequation img {
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
/* syntax highlighting and coloring text in general */
|
||||
|
||||
/* legacy stuff */
|
||||
code.boolean, .navy {
|
||||
color: rgb(0,0,128); /* navy */
|
||||
}
|
||||
code.character, .olive {
|
||||
color: rgb(128,128,0); /* olive */
|
||||
}
|
||||
code.comment, .blue {
|
||||
color: rgb(0,0,255); /* blue */
|
||||
}
|
||||
code.conditional, .limegreen {
|
||||
color: rgb(50,205,50); /* limegreen */
|
||||
}
|
||||
code.constant, .darkorange {
|
||||
color: rgb(255,140,0); /* darkorange */
|
||||
}
|
||||
code.debug, .darkred {
|
||||
color: rgb(139,0,0); /* darkred */
|
||||
}
|
||||
code.define, .darkgoldenrod, .gold {
|
||||
color: rgb(184,134,11); /* darkgoldenrod */
|
||||
}
|
||||
code.delimiter, .dimgray {
|
||||
color: rgb(105,105,105); /* dimgray */
|
||||
}
|
||||
code.error, .red {
|
||||
color: rgb(255,0,0); /* red */
|
||||
}
|
||||
code.exception, .salmon {
|
||||
color: rgb(250,128,11); /* salmon */
|
||||
}
|
||||
code.float, .steelblue {
|
||||
color: rgb(70,130,180); /* steelblue */
|
||||
}
|
||||
code.function, .green {
|
||||
color: rgb(0,128,0); /* green */
|
||||
}
|
||||
code.identifier, .royalblue {
|
||||
color: rgb(65,105,225); /* royalblue */
|
||||
}
|
||||
code.ignore, .gray {
|
||||
color: rgb(128,128,128); /* gray */
|
||||
}
|
||||
code.include, .purple {
|
||||
color: rgb(128,0,128); /* purple */
|
||||
}
|
||||
code.keyword, .sienna {
|
||||
color: rgb(160,82,45); /* sienna */
|
||||
}
|
||||
code.label, .deeppink {
|
||||
color: rgb(255,20,147); /* deeppink */
|
||||
}
|
||||
code.macro, .orangered {
|
||||
color: rgb(255,69,0); /* orangered */
|
||||
}
|
||||
code.number, .brown {
|
||||
color: rgb(165,42,42); /* brown */
|
||||
}
|
||||
code.operator, .black {
|
||||
color: #000; /* black */
|
||||
}
|
||||
code.preCondit, .teal {
|
||||
color: rgb(0,128,128); /* teal */
|
||||
}
|
||||
code.preProc, .fuschia {
|
||||
color: rgb(255,0,255); /* fuschia */
|
||||
}
|
||||
code.repeat, .indigo {
|
||||
color: rgb(75,0,130); /* indigo */
|
||||
}
|
||||
code.special, .saddlebrown {
|
||||
color: rgb(139,69,19); /* saddlebrown */
|
||||
}
|
||||
code.specialchar, .magenta {
|
||||
color: rgb(255,0,255); /* magenta */
|
||||
}
|
||||
code.specialcomment, .seagreen {
|
||||
color: rgb(46,139,87); /* seagreen */
|
||||
}
|
||||
code.statement, .forestgreen {
|
||||
color: rgb(34,139,34); /* forestgreen */
|
||||
}
|
||||
code.storageclass, .plum {
|
||||
color: rgb(221,160,221); /* plum */
|
||||
}
|
||||
code.string, .darkred {
|
||||
color: rgb(139,0,0); /* darkred */
|
||||
}
|
||||
code.structure, .chocolate {
|
||||
color: rgb(210,106,30); /* chocolate */
|
||||
}
|
||||
code.tag, .darkcyan {
|
||||
color: rgb(0,139,139); /* darkcyan */
|
||||
}
|
||||
code.todo, .black {
|
||||
color: #000; /* black */
|
||||
}
|
||||
code.type, .mediumslateblue {
|
||||
color: rgb(123,104,238); /* mediumslateblue */
|
||||
}
|
||||
code.typedef, .darkgreen {
|
||||
color: rgb(0,100,0); /* darkgreen */
|
||||
}
|
||||
code.underlined {
|
||||
text-decoration: underline; /* guess what */
|
||||
}
|
||||
|
||||
/* Pygments with manni theme */
|
||||
pre code.hll { background-color: #ffffcc }
|
||||
pre code.c { color: #0099FF; font-style: italic } /* Comment */
|
||||
pre code.err { color: #AA0000 } /* Error */
|
||||
pre code.k { color: #006699; font-weight: bold } /* Keyword */
|
||||
pre code.o { color: #555555 } /* Operator */
|
||||
pre code.cm { color: #35586C; font-style: italic } /* Comment.Multiline */
|
||||
pre code.cp { color: #009999 } /* Comment.Preproc */
|
||||
pre code.c1 { color: #35586C; font-style: italic } /* Comment.Single */
|
||||
pre code.cs { color: #35586C; font-weight: bold; font-style: italic } /* Comment.Special */
|
||||
pre code.gd { background-color: #FFCCCC } /* Generic.Deleted */
|
||||
pre code.ge { font-style: italic } /* Generic.Emph */
|
||||
pre code.gr { color: #FF0000 } /* Generic.Error */
|
||||
pre code.gh { color: #003300; font-weight: bold } /* Generic.Heading */
|
||||
pre code.gi { background-color: #CCFFCC } /* Generic.Inserted */
|
||||
pre code.go { color: #AAAAAA } /* Generic.Output */
|
||||
pre code.gp { color: #000099; font-weight: bold } /* Generic.Prompt */
|
||||
pre code.gs { font-weight: bold } /* Generic.Strong */
|
||||
pre code.gu { color: #003300; font-weight: bold } /* Generic.Subheading */
|
||||
pre code.gt { color: #99CC66 } /* Generic.Traceback */
|
||||
pre code.kc { color: #006699; font-weight: bold } /* Keyword.Constant */
|
||||
pre code.kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
|
||||
pre code.kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
|
||||
pre code.kp { color: #006699 } /* Keyword.Pseudo */
|
||||
pre code.kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
|
||||
pre code.kt { color: #007788; font-weight: bold } /* Keyword.Type */
|
||||
pre code.m { color: #FF6600 } /* Literal.Number */
|
||||
pre code.s { color: #CC3300 } /* Literal.String */
|
||||
pre code.na { color: #330099 } /* Name.Attribute */
|
||||
pre code.nb { color: #336666 } /* Name.Builtin */
|
||||
pre code.nc { color: #00AA88; font-weight: bold } /* Name.Class */
|
||||
pre code.no { color: #336600 } /* Name.Constant */
|
||||
pre code.nd { color: #9999FF } /* Name.Decorator */
|
||||
pre code.ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
pre code.ne { color: #CC0000; font-weight: bold } /* Name.Exception */
|
||||
pre code.nf { color: #CC00FF } /* Name.Function */
|
||||
pre code.nl { color: #9999FF } /* Name.Label */
|
||||
pre code.nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
|
||||
pre code.nt { color: #330099; font-weight: bold } /* Name.Tag */
|
||||
pre code.nv { color: #003333 } /* Name.Variable */
|
||||
pre code.ow { color: #000000; font-weight: bold } /* Operator.Word */
|
||||
pre code.w { color: #bbbbbb } /* Text.Whitespace */
|
||||
pre code.mf { color: #FF6600 } /* Literal.Number.Float */
|
||||
pre code.mh { color: #FF6600 } /* Literal.Number.Hex */
|
||||
pre code.mi { color: #FF6600 } /* Literal.Number.Integer */
|
||||
pre code.mo { color: #FF6600 } /* Literal.Number.Oct */
|
||||
pre code.sb { color: #CC3300 } /* Literal.String.Backtick */
|
||||
pre code.sc { color: #CC3300 } /* Literal.String.Char */
|
||||
pre code.sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
|
||||
pre code.s2 { color: #CC3300 } /* Literal.String.Double */
|
||||
pre code.se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
|
||||
pre code.sh { color: #CC3300 } /* Literal.String.Heredoc */
|
||||
pre code.si { color: #AA0000 } /* Literal.String.Interpol */
|
||||
pre code.sx { color: #CC3300 } /* Literal.String.Other */
|
||||
pre code.sr { color: #33AAAA } /* Literal.String.Regex */
|
||||
pre code.s1 { color: #CC3300 } /* Literal.String.Single */
|
||||
pre code.ss { color: #FFCC33 } /* Literal.String.Symbol */
|
||||
pre code.bp { color: #336666 } /* Name.Builtin.Pseudo */
|
||||
pre code.vc { color: #003333 } /* Name.Variable.Class */
|
||||
pre code.vg { color: #003333 } /* Name.Variable.Global */
|
||||
pre code.vi { color: #003333 } /* Name.Variable.Instance */
|
||||
pre code.il { color: #FF6600 } /* Literal.Number.Integer.Long */
|
||||
|
||||
/* Sanders's additions to manni */
|
||||
pre code.g { color: #005500 } /* Generic */
|
||||
pre code.l { color: #CC6600 } /* Literal */
|
||||
pre code.l { color: #FF9900 } /* Literal.Date */
|
||||
pre code.n { color: #000088 } /* Name */
|
||||
pre code.nx { color: #000088 } /* Name.Other */
|
||||
pre code.py { color: #9966FF } /* Name.Property */
|
||||
pre code.p { color: #000000 } /* Punctuation */
|
||||
pre code.x { color: #FF0066 } /* Other */
|
||||
|
||||
/* Special handling for sampler TOC entry rendering */
|
||||
|
||||
div.blockquote_sampler_toc {
|
||||
width: 95%;
|
||||
margin: 5px 5px 5px 10px !important;
|
||||
}
|
||||
|
||||
/* Placeholder for custom series CSS: DO NOT EDIT OR DELETE */
|
||||
|
||||
/* fonts (keep at bottom); using Free Serif and Sans as a fallback for its rich set of glyphs */
|
||||
|
||||
@font-face {
|
||||
font-family: "Free Serif";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
src: url(FreeSerif.otf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Free Sans Bold";
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
src: url(FreeSansBold.otf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Ubuntu Mono";
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
src: url(UbuntuMono-R.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Ubuntu Mono Bold";
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
src: url(UbuntuMono-B.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Ubuntu Mono BoldItal";
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
src: url(UbuntuMono-BI.ttf);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Ubuntu Mono Ital";
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
src: url(UbuntuMono-RI.ttf);
|
||||
}
|
||||
|
||||
/* keep this body statement last */
|
||||
|
||||
body {
|
||||
font-family: "Free Serif", serif;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
<?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>Cover</title>
|
||||
<style type="text/css"> img { max-width: 100%; }</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="cover-image">
|
||||
<img src="images/cover.png.jpg" alt="The Discipline of Organizing"/>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
Binary file not shown.
Before Width: | Height: | Size: 49 KiB |
|
@ -1,3 +0,0 @@
|
|||
<?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>The Discipline of Organizing</title><link rel="stylesheet" href="core.css" type="text/css"/><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"/></head><body><div xml:lang="en" class="book" title="The Discipline of Organizing"><div class="titlepage"><div><div><h1 class="title"><a id="id437600"/>The Discipline of Organizing</h1></div></div></div></div></body></html>
|
|
@ -1,608 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1">
|
||||
<head>
|
||||
<meta name="cover" content="cover"/>
|
||||
<meta name="dtb:depth" content="-1"/>
|
||||
<meta name="dtb:totalPageCount" content="0"/>
|
||||
<meta name="dtb:maxPageNumber" content="0"/>
|
||||
</head>
|
||||
<docTitle>
|
||||
<text>The Discipline of Organizing</text>
|
||||
</docTitle>
|
||||
<navMap>
|
||||
<navPoint id="id437600" playOrder="1">
|
||||
<navLabel>
|
||||
<text>The Discipline of Organizing</text>
|
||||
</navLabel>
|
||||
<content src="index.html"/>
|
||||
</navPoint>
|
||||
<navPoint id="id424866" playOrder="2">
|
||||
<navLabel>
|
||||
<text>1. Foundations for Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html"/>
|
||||
<navPoint id="id405278" playOrder="3">
|
||||
<navLabel>
|
||||
<text>The Discipline of Organizing</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#the_discipline_of_organizing"/>
|
||||
</navPoint>
|
||||
<navPoint id="id373555" playOrder="4">
|
||||
<navLabel>
|
||||
<text>The “Organizing System” Concept</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#the_organizing_system_concept"/>
|
||||
<navPoint id="id384935" playOrder="5">
|
||||
<navLabel>
|
||||
<text>The Concept of “Resource”</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#the_concept_of_resource"/>
|
||||
</navPoint>
|
||||
<navPoint id="id436402" playOrder="6">
|
||||
<navLabel>
|
||||
<text>The Concept of “Collection”</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#the_concept_of_collection"/>
|
||||
</navPoint>
|
||||
<navPoint id="id436286" playOrder="7">
|
||||
<navLabel>
|
||||
<text>The Concept of “Intentional Arrangement”</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#the_concept_of_intentional_arrangement"/>
|
||||
<navPoint id="id365648" playOrder="8">
|
||||
<navLabel>
|
||||
<text>The Concept of “Organizing Principle”</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#the_concept_of_organizing_principle"/>
|
||||
</navPoint>
|
||||
<navPoint id="id405329" playOrder="9">
|
||||
<navLabel>
|
||||
<text>The Concept of “Agent”</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#the_concept_of_agent"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id438947" playOrder="10">
|
||||
<navLabel>
|
||||
<text>The Concept of “Interactions”</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#the_concept_of_interactions"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id436297" playOrder="11">
|
||||
<navLabel>
|
||||
<text>Design Decisions in Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#design_decisions_in_organizing_systems"/>
|
||||
<navPoint id="id405385" playOrder="12">
|
||||
<navLabel>
|
||||
<text>Organizing Systems in a “Design Space”</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#organizing_systems_in_a_design_space"/>
|
||||
<navPoint id="id405623" playOrder="13">
|
||||
<navLabel>
|
||||
<text>Conventional Ways to Classify Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#conventional_ways_to_classify_organizing"/>
|
||||
</navPoint>
|
||||
<navPoint id="id404839" playOrder="14">
|
||||
<navLabel>
|
||||
<text>A Multifaceted or Multidimensional View of Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#a_multifaceted_or_multidimensional_view_"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id403840" playOrder="15">
|
||||
<navLabel>
|
||||
<text>What is Being Organized?</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#what_is_being_organized"/>
|
||||
</navPoint>
|
||||
<navPoint id="id410322" playOrder="16">
|
||||
<navLabel>
|
||||
<text>Why is it Being Organized?</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#why_is_it_being_organized"/>
|
||||
</navPoint>
|
||||
<navPoint id="id441976" playOrder="17">
|
||||
<navLabel>
|
||||
<text>How Much is it Being Organized?</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#how_much_is_it_being_organized"/>
|
||||
</navPoint>
|
||||
<navPoint id="id418314" playOrder="18">
|
||||
<navLabel>
|
||||
<text>When is it Being Organized?</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#when_is_it_being_organized"/>
|
||||
</navPoint>
|
||||
<navPoint id="id418726" playOrder="19">
|
||||
<navLabel>
|
||||
<text>How (or by Whom) is it Organized?</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#how_or_by_whom_is_it_organized"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id404258" playOrder="20">
|
||||
<navLabel>
|
||||
<text>Organizing this Book</text>
|
||||
</navLabel>
|
||||
<content src="ch01.html#organizing_this_book"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id424326" playOrder="21">
|
||||
<navLabel>
|
||||
<text>2. Activities in Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html"/>
|
||||
<navPoint id="id400003" playOrder="22">
|
||||
<navLabel>
|
||||
<text>Four Activities in All Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#_four_activities_in_all_organizing_systems"/>
|
||||
</navPoint>
|
||||
<navPoint id="id404079" playOrder="23">
|
||||
<navLabel>
|
||||
<text>Selecting Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#selecting_resources"/>
|
||||
</navPoint>
|
||||
<navPoint id="id408024" playOrder="24">
|
||||
<navLabel>
|
||||
<text>Organizing Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#organizing_resources"/>
|
||||
<navPoint id="id443989" playOrder="25">
|
||||
<navLabel>
|
||||
<text>Organizing Physical Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#organizing_physical_resources"/>
|
||||
<navPoint id="id407382" playOrder="26">
|
||||
<navLabel>
|
||||
<text>Organizing with Properties of Physical Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#organizing_with_properties_of_physical_r"/>
|
||||
</navPoint>
|
||||
<navPoint id="id400973" playOrder="27">
|
||||
<navLabel>
|
||||
<text>Organizing with Descriptions of Physical Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#organizing_with_descriptions_of_physical"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id427368" playOrder="28">
|
||||
<navLabel>
|
||||
<text>Organizing Digital Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#organizing_digital_resources"/>
|
||||
<navPoint id="id403128" playOrder="29">
|
||||
<navLabel>
|
||||
<text>Organizing Web-based Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#organizing_web-based_resources"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id414933" playOrder="30">
|
||||
<navLabel>
|
||||
<text>Organizing with Multiple Resource Properties</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#organizing_with_multiple_resource_proper"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id445407" playOrder="31">
|
||||
<navLabel>
|
||||
<text>Designing Resource-Based Interactions</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#designing_resource-based_interactions"/>
|
||||
<navPoint id="id429666" playOrder="32">
|
||||
<navLabel>
|
||||
<text>Affordance and Capability</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#affordance_and_capability"/>
|
||||
</navPoint>
|
||||
<navPoint id="id443298" playOrder="33">
|
||||
<navLabel>
|
||||
<text>Interaction and Value Creation</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#interaction_and_value_creation"/>
|
||||
<navPoint id="id424946" playOrder="34">
|
||||
<navLabel>
|
||||
<text>Value Creation with Physical Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#value_creation_with_physical_resources"/>
|
||||
</navPoint>
|
||||
<navPoint id="id400924" playOrder="35">
|
||||
<navLabel>
|
||||
<text>Value Creation with Digital Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#value_creation_with_digital_resources"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id433083" playOrder="36">
|
||||
<navLabel>
|
||||
<text>Access Policies</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#access_policies"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id426247" playOrder="37">
|
||||
<navLabel>
|
||||
<text>Maintaining Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#maintaining_resources"/>
|
||||
<navPoint id="id403518" playOrder="38">
|
||||
<navLabel>
|
||||
<text>Motivations for Maintaining Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#motivations_for_maintaining_resources"/>
|
||||
</navPoint>
|
||||
<navPoint id="id434167" playOrder="39">
|
||||
<navLabel>
|
||||
<text>Preservation</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#preservation"/>
|
||||
<navPoint id="id419708" playOrder="40">
|
||||
<navLabel>
|
||||
<text>Digitization and Preserving Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#digitization_and_preserving_resources"/>
|
||||
</navPoint>
|
||||
<navPoint id="id436171" playOrder="41">
|
||||
<navLabel>
|
||||
<text>Preserving the Web</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#preserving_the_web"/>
|
||||
</navPoint>
|
||||
<navPoint id="id438710" playOrder="42">
|
||||
<navLabel>
|
||||
<text>Preserving Resource Instances</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#preserving_resource_instances"/>
|
||||
</navPoint>
|
||||
<navPoint id="id429400" playOrder="43">
|
||||
<navLabel>
|
||||
<text>Preserving Resource Types</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#preserving_resource_types"/>
|
||||
</navPoint>
|
||||
<navPoint id="id414060" playOrder="44">
|
||||
<navLabel>
|
||||
<text>Preserving Resource Collections</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#preserving_resource_collections"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id445906" playOrder="45">
|
||||
<navLabel>
|
||||
<text>Curation</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#curation"/>
|
||||
<navPoint id="id414564" playOrder="46">
|
||||
<navLabel>
|
||||
<text>Institutional Curation</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#institutional_curation"/>
|
||||
</navPoint>
|
||||
<navPoint id="id399898" playOrder="47">
|
||||
<navLabel>
|
||||
<text>Individual Curation</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#individual_curation"/>
|
||||
</navPoint>
|
||||
<navPoint id="id418467" playOrder="48">
|
||||
<navLabel>
|
||||
<text>Social and Web Curation</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#social_and_web_curation"/>
|
||||
</navPoint>
|
||||
<navPoint id="id446285" playOrder="49">
|
||||
<navLabel>
|
||||
<text>Computational Curation</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#computational_curation"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id440399" playOrder="50">
|
||||
<navLabel>
|
||||
<text>Governance</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#governance"/>
|
||||
<navPoint id="id399791" playOrder="51">
|
||||
<navLabel>
|
||||
<text>Governance in Business Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#governance_in_business_organizing_system"/>
|
||||
</navPoint>
|
||||
<navPoint id="id439894" playOrder="52">
|
||||
<navLabel>
|
||||
<text>Governance in Scientific Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#governance_in_scientific_organizing_syst"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id404882" playOrder="53">
|
||||
<navLabel>
|
||||
<text>Key Points in Chapter Two</text>
|
||||
</navLabel>
|
||||
<content src="ch02.html#key_points_in_chapter_two"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id427741" playOrder="54">
|
||||
<navLabel>
|
||||
<text>3. Resources in Organizing Systems</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html"/>
|
||||
<navPoint id="id398784" playOrder="55">
|
||||
<navLabel>
|
||||
<text>Introduction to Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#_introduction_to_resources"/>
|
||||
<navPoint id="id410957" playOrder="56">
|
||||
<navLabel>
|
||||
<text>What is a Resource?</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#what_is_a_resource"/>
|
||||
<navPoint id="id418265" playOrder="57">
|
||||
<navLabel>
|
||||
<text>Resources with Parts</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#resources_with_parts"/>
|
||||
</navPoint>
|
||||
<navPoint id="id411869" playOrder="58">
|
||||
<navLabel>
|
||||
<text>Bibliographic Resources, Information Components, and “Smart Things” as Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#bibliographic_resources_information_comp"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id422573" playOrder="59">
|
||||
<navLabel>
|
||||
<text>Identity, Identifiers, and Names</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#identity_identifiers_and_names"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id405096" playOrder="60">
|
||||
<navLabel>
|
||||
<text>Organizing How to Think About Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#organizing_how_to_think_about_resources"/>
|
||||
<navPoint id="id404252" playOrder="61">
|
||||
<navLabel>
|
||||
<text>Resource Domain</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#resource_domain"/>
|
||||
</navPoint>
|
||||
<navPoint id="id445862" playOrder="62">
|
||||
<navLabel>
|
||||
<text>Resource Format</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#resource_format"/>
|
||||
</navPoint>
|
||||
<navPoint id="id418747" playOrder="63">
|
||||
<navLabel>
|
||||
<text>Resource Agency</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#resource_agency"/>
|
||||
<navPoint id="id427974" playOrder="64">
|
||||
<navLabel>
|
||||
<text>Passive or Operand Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#passive_or_operand_resources"/>
|
||||
</navPoint>
|
||||
<navPoint id="id427983" playOrder="65">
|
||||
<navLabel>
|
||||
<text>Active or Operant Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#active_or_operant_resources"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id439561" playOrder="66">
|
||||
<navLabel>
|
||||
<text>Resource Focus</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#resource_focus"/>
|
||||
</navPoint>
|
||||
<navPoint id="id403027" playOrder="67">
|
||||
<navLabel>
|
||||
<text>Resource Format x Focus</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#resource_format_x_focus"/>
|
||||
<navPoint id="id403921" playOrder="68">
|
||||
<navLabel>
|
||||
<text>Physical description resource for a primary physical resource</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#physical_description_resource_for_a_prim"/>
|
||||
</navPoint>
|
||||
<navPoint id="id400870" playOrder="69">
|
||||
<navLabel>
|
||||
<text>Digital description resource for a primary physical resource</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#digital_description_resource_for_a_prima"/>
|
||||
</navPoint>
|
||||
<navPoint id="id424638" playOrder="70">
|
||||
<navLabel>
|
||||
<text>Digital description resource for a primary digital resource</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#digital_description_resource_for_a-id001"/>
|
||||
</navPoint>
|
||||
<navPoint id="id432460" playOrder="71">
|
||||
<navLabel>
|
||||
<text>Physical description resource for a primary digital resource</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#physical_description_resource_for-id001"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id398847" playOrder="72">
|
||||
<navLabel>
|
||||
<text>Resource Identity</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#resource_identity"/>
|
||||
<navPoint id="id431430" playOrder="73">
|
||||
<navLabel>
|
||||
<text>Identity and Physical Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#identity_and_physical_resources"/>
|
||||
</navPoint>
|
||||
<navPoint id="id411907" playOrder="74">
|
||||
<navLabel>
|
||||
<text>Identity and Bibliographic Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#identity_and_bibliographic_resources"/>
|
||||
</navPoint>
|
||||
<navPoint id="id415290" playOrder="75">
|
||||
<navLabel>
|
||||
<text>Identity and Information Components</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#identity_and_information_components"/>
|
||||
</navPoint>
|
||||
<navPoint id="id399297" playOrder="76">
|
||||
<navLabel>
|
||||
<text>Identity and Active Resources and “Smart Things”</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#identity_and_active_resources_and_smart_"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id399990" playOrder="77">
|
||||
<navLabel>
|
||||
<text>Naming Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#naming_resources"/>
|
||||
<navPoint id="id444370" playOrder="78">
|
||||
<navLabel>
|
||||
<text>What’s In a Name?</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#whats_in_a_name"/>
|
||||
</navPoint>
|
||||
<navPoint id="id439708" playOrder="79">
|
||||
<navLabel>
|
||||
<text>The Problems of Naming</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#the_problems_of_naming"/>
|
||||
<navPoint id="id432513" playOrder="80">
|
||||
<navLabel>
|
||||
<text>The Vocabulary Problem</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#the_vocabulary_problem"/>
|
||||
</navPoint>
|
||||
<navPoint id="id412906" playOrder="81">
|
||||
<navLabel>
|
||||
<text>Homonymy, Polysemy, and False Cognates</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#homonymy_polysemy_and_false_cognates"/>
|
||||
</navPoint>
|
||||
<navPoint id="id446516" playOrder="82">
|
||||
<navLabel>
|
||||
<text>Names with Undesirable Associations</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#names_with_undesirable_associations"/>
|
||||
</navPoint>
|
||||
<navPoint id="id409999" playOrder="83">
|
||||
<navLabel>
|
||||
<text>Names that Assume Impermanent Attributes</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#names_that_assume_impermanent_attributes"/>
|
||||
</navPoint>
|
||||
<navPoint id="id412837" playOrder="84">
|
||||
<navLabel>
|
||||
<text>The Semantic Gap</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#the_semantic_gap"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id430070" playOrder="85">
|
||||
<navLabel>
|
||||
<text>Choosing Good Names and Identifiers</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#choosing_good_names_and_identifiers"/>
|
||||
<navPoint id="id429704" playOrder="86">
|
||||
<navLabel>
|
||||
<text>Make Names Informative</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#make_names_informative"/>
|
||||
</navPoint>
|
||||
<navPoint id="id432041" playOrder="87">
|
||||
<navLabel>
|
||||
<text>Reduce Synonymy and Homonymy with Controlled Vocabularies</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#reduce_synonymy_and_homonymy_with_contro"/>
|
||||
</navPoint>
|
||||
<navPoint id="id436383" playOrder="88">
|
||||
<navLabel>
|
||||
<text>Allow Aliasing</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#allow_aliasing"/>
|
||||
</navPoint>
|
||||
<navPoint id="id444360" playOrder="89">
|
||||
<navLabel>
|
||||
<text>Make Identifiers Unique or Qualified</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#make_identifiers_unique_or_qualified"/>
|
||||
</navPoint>
|
||||
<navPoint id="id403985" playOrder="90">
|
||||
<navLabel>
|
||||
<text>Distinguish Identifying and Resolving</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#distinguish_identifying_and_resolving"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id403998" playOrder="91">
|
||||
<navLabel>
|
||||
<text>Resources Over Time</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#resources_over_time"/>
|
||||
<navPoint id="id440272" playOrder="92">
|
||||
<navLabel>
|
||||
<text>Persistence</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#persistence"/>
|
||||
<navPoint id="id412959" playOrder="93">
|
||||
<navLabel>
|
||||
<text>Persistent Identifiers</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#persistent_identifiers"/>
|
||||
</navPoint>
|
||||
<navPoint id="id413428" playOrder="94">
|
||||
<navLabel>
|
||||
<text>Persistent Resources</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#persistent_resources"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id432695" playOrder="95">
|
||||
<navLabel>
|
||||
<text>Effectivity</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#effectivity"/>
|
||||
</navPoint>
|
||||
<navPoint id="id432710" playOrder="96">
|
||||
<navLabel>
|
||||
<text>Authenticity</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#authenticity"/>
|
||||
</navPoint>
|
||||
<navPoint id="id418641" playOrder="97">
|
||||
<navLabel>
|
||||
<text>Provenance</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#provenance"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id425056" playOrder="98">
|
||||
<navLabel>
|
||||
<text>Key Points in Chapter Three</text>
|
||||
</navLabel>
|
||||
<content src="ch03.html#key_points_in_chapter_three"/>
|
||||
</navPoint>
|
||||
</navPoint>
|
||||
<navPoint id="id380631" playOrder="99">
|
||||
<navLabel>
|
||||
<text>Copyright</text>
|
||||
</navLabel>
|
||||
<content src="copyright.html"/>
|
||||
</navPoint>
|
||||
</navMap>
|
||||
</ncx>
|
|
@ -1 +0,0 @@
|
|||
application/epub+zip
|
25
css/main.css
25
css/main.css
|
@ -93,6 +93,8 @@ body {
|
|||
height: 100%;
|
||||
-webkit-transition: -webkit-transform .5s;
|
||||
-moz-transition: transform .5s;
|
||||
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#sidebar.open {
|
||||
|
@ -103,8 +105,8 @@ body {
|
|||
|
||||
#main.closed {
|
||||
/* left: 300px; */
|
||||
-webkit-transform: translate(260px, 0);
|
||||
-moz-transform: translate(260px, 0);
|
||||
-webkit-transform: translate(300px, 0);
|
||||
-moz-transform: translate(300px, 0);
|
||||
}
|
||||
|
||||
#controls {
|
||||
|
@ -167,12 +169,23 @@ input:-moz-placeholder {
|
|||
box-shadow: -2px 0 15px rgba(0, 0, 0, 1);
|
||||
}
|
||||
|
||||
#toc {
|
||||
margin-top: 50px;
|
||||
padding-left: 40px;
|
||||
display: block;
|
||||
#toc-scroll {
|
||||
overflow-y: auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#sidebar.open #toc-scroll {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#toc {
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
padding-left: 40px;
|
||||
display: block;
|
||||
|
||||
}
|
||||
|
||||
#toc li {
|
||||
|
|
|
@ -2,7 +2,8 @@ FP.app = {};
|
|||
|
||||
FP.app.init = (function($){
|
||||
|
||||
var Book;
|
||||
var Book,
|
||||
offline = false;
|
||||
|
||||
function init(bookURL){
|
||||
var search = window.location.search.match(/book=(.*)/),
|
||||
|
@ -19,6 +20,8 @@ FP.app.init = (function($){
|
|||
|
||||
Book.listen("book:metadataReady", meta);
|
||||
Book.listen("book:tocReady", toc);
|
||||
Book.listen("book:online", goOnline);
|
||||
Book.listen("book:offline", goOffline);
|
||||
|
||||
Book.start(bookURL + "/");
|
||||
|
||||
|
@ -78,7 +81,20 @@ FP.app.init = (function($){
|
|||
|
||||
}
|
||||
|
||||
|
||||
function goOnline(){
|
||||
var $icon = $("#store");
|
||||
offline = false;
|
||||
$icon.attr("src", "img/save.png");
|
||||
|
||||
}
|
||||
|
||||
function goOffline(){
|
||||
var $icon = $("#store");
|
||||
offline = true;
|
||||
$icon.attr("src", "img/saved.png");
|
||||
|
||||
}
|
||||
|
||||
|
||||
function controls(){
|
||||
var $next = $("#next"),
|
||||
|
@ -87,6 +103,7 @@ FP.app.init = (function($){
|
|||
$sidebar = $("#sidebar"),
|
||||
$open = $("#open"),
|
||||
$icon = $open.find("img"),
|
||||
$network = $("#network"),
|
||||
$window = $(window),
|
||||
sidebarWidth = 40;
|
||||
|
||||
|
@ -138,6 +155,11 @@ FP.app.init = (function($){
|
|||
$icon.attr("src", "img/close.png");
|
||||
}
|
||||
});
|
||||
|
||||
$network.on("click", function(){
|
||||
offline = !offline;
|
||||
Book.fromStorage(offline);
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -16,6 +16,8 @@ FP.Book = function(elem, bookUrl){
|
|||
this.createEvent("book:chapterReady");
|
||||
this.createEvent("book:resized");
|
||||
this.createEvent("book:stored");
|
||||
this.createEvent("book:online");
|
||||
this.createEvent("book:offline");
|
||||
|
||||
this.initialize(this.el);
|
||||
|
||||
|
@ -52,10 +54,12 @@ FP.Book.prototype.listeners = function(){
|
|||
|
||||
window.addEventListener("offline", function(e) {
|
||||
that.online = false;
|
||||
that.tell("book:offline");
|
||||
}, false);
|
||||
|
||||
window.addEventListener("online", function(e) {
|
||||
that.online = true;
|
||||
that.tell("book:online");
|
||||
}, false);
|
||||
|
||||
//-- TODO: listener for offline
|
||||
|
@ -359,9 +363,9 @@ FP.Book.prototype.startDisplay = function(){
|
|||
this.tell("book:bookReady");
|
||||
this.displayChapter(this.spinePos, false, function(){
|
||||
|
||||
if(this.online){
|
||||
this.storeOffline();
|
||||
}
|
||||
if(this.online){
|
||||
this.storeOffline();
|
||||
}
|
||||
|
||||
}.bind(this));
|
||||
|
||||
|
@ -460,6 +464,26 @@ FP.Book.prototype.availableOffline = function() {
|
|||
return this.stored > 0 ? true : false;
|
||||
}
|
||||
|
||||
FP.Book.prototype.fromStorage = function(stored) {
|
||||
|
||||
if(!stored){
|
||||
this.online = true;
|
||||
this.tell("book:online");
|
||||
}else{
|
||||
if(!this.availableOffline){
|
||||
this.storeOffline(function(){
|
||||
this.online = false;
|
||||
this.tell("book:offline");
|
||||
}.bind(this));
|
||||
}else{
|
||||
this.online = false;
|
||||
console.log("gone offline")
|
||||
this.tell("book:offline");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
FP.Book.prototype.determineStorageMethod = function(override) {
|
||||
var method = 'ram';
|
||||
// options: none | ram | websql | indexedDB | filesystem
|
||||
|
|
|
@ -200,20 +200,26 @@ FP.Chapter.prototype.replaceLinks = function(callback){
|
|||
items = Array.prototype.slice.call(links),
|
||||
count = items.length;
|
||||
|
||||
items.forEach(function(link){
|
||||
var path,
|
||||
href = link.getAttribute("href"),
|
||||
src = link.getAttribute("src"),
|
||||
full = href ? this.book.basePath + href : this.book.basePath + src;
|
||||
|
||||
FP.storage.get(full, function(url){
|
||||
if(href) link.setAttribute("href", url);
|
||||
if(src) link.setAttribute("src", url);
|
||||
count--;
|
||||
if(count <= 0 && callback) callback();
|
||||
});
|
||||
|
||||
}.bind(this));
|
||||
if(FP.storage.getStorageType() == "filesystem") {
|
||||
//-- filesystem api links are relative, so no need to fix
|
||||
if(callback) callback();
|
||||
return false;
|
||||
}
|
||||
|
||||
items.forEach(function(link){
|
||||
var path,
|
||||
href = link.getAttribute("href"),
|
||||
src = link.getAttribute("src"),
|
||||
full = href ? this.book.basePath + href : this.book.basePath + src;
|
||||
|
||||
FP.storage.get(full, function(url){
|
||||
if(href) link.setAttribute("href", url);
|
||||
if(src) link.setAttribute("src", url);
|
||||
count--;
|
||||
if(count <= 0 && callback) callback();
|
||||
});
|
||||
|
||||
}.bind(this));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ self.onmessage = function(event){
|
|||
|
||||
self.request(path, function(file){
|
||||
self.save(path, file, function(){
|
||||
self.postMessage("succeeded");
|
||||
self.postMessage(path);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -39,13 +39,18 @@ FP.storage = function(){
|
|||
function _error(err){
|
||||
console.log("error", err);
|
||||
}
|
||||
|
||||
function getStorageType(){
|
||||
return this.storageType;
|
||||
}
|
||||
|
||||
return {
|
||||
"get" : get,
|
||||
"preload" : preload,
|
||||
"batch" : batch,
|
||||
"storageMethod": storageMethod,
|
||||
"getURL": getURL
|
||||
"getURL": getURL,
|
||||
"getStorageType" : getStorageType
|
||||
}
|
||||
|
||||
}();
|
||||
|
|
|
@ -49,16 +49,20 @@ FP.storage.filesystem = function() {
|
|||
var url;
|
||||
//-- should only be checking urls? but blank on reload?
|
||||
if(fromCache){
|
||||
//console.log("c")
|
||||
url = getURL(path, fromCache);
|
||||
if(typeof(callback) != "undefined"){
|
||||
callback(url);
|
||||
}
|
||||
}else{
|
||||
_queue.add(path, function(file){
|
||||
url = getURL(path, file);
|
||||
if(typeof(callback) != "undefined"){
|
||||
callback(url);
|
||||
}
|
||||
_queue.add(path, function(url){
|
||||
console.log("url", url)
|
||||
check(url, function(file){
|
||||
url = getURL(path, file);
|
||||
if(typeof(callback) != "undefined"){
|
||||
callback(url);
|
||||
}
|
||||
});
|
||||
}, true);
|
||||
}
|
||||
|
||||
|
|
BIN
img/save.png
Normal file
BIN
img/save.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
img/saved.png
Normal file
BIN
img/saved.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -54,10 +54,13 @@
|
|||
<div id="controls">
|
||||
<a id="open"><img src="img/menu-icon.png"></a>
|
||||
<input id="search" placeholder="search">
|
||||
<a id="network"><img id="store" src="img/save.png"></a>
|
||||
<a id="setting"><img id="settings" src="img/settings.png"></a>
|
||||
|
||||
</div>
|
||||
<ul id="toc"></ul>
|
||||
<div id="toc-scroll">
|
||||
<ul id="toc"></ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="main">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue