Skip to content

Instantly share code, notes, and snippets.

@wastemobile
Created April 21, 2012 08:44
Show Gist options
  • Save wastemobile/2435765 to your computer and use it in GitHub Desktop.
Save wastemobile/2435765 to your computer and use it in GitHub Desktop.
EPUB 電子書,ONIX 最小化範本
<?xml version="1.0" encoding="UTF-8"?>
<ONIXMessage release="3.0">
<Header>
<SentDateTime>2012-04-21T16:20:30+08</SentDateTime>
<!-- EPUB 電子書、可下載、浮水印保護,指名獨家總經銷者 -->
</Header>
<Product>
<!-- P.1 記錄參考、型態與來源 -->
<RecordReference>agileread.com-10000001</RecordReference>
<!-- 出版確認通知 -->
<NotificationType>03</NotificationType>
<!-- 資料來源 出版者 -->
<RecordSourceType>01</RecordSourceType>
<!-- P.2 產品識別 -->
<ProductIdentifier>
<!-- GTIN-13 以 ISBN-13 製成的商品條碼識別 -->
<ProductIDType>03</ProductIDType>
<IDValue>9780123456789</IDValue>
</ProductIdentifier>
<!-- block 1 產品描述 -->
<DescriptiveDetail>
<!-- 單一品項之零售商品 -->
<ProductComposition>00</ProductComposition>
<!-- 數位 下載 -->
<ProductForm>ED</ProductForm>
<!-- .epub 格式 -->
<ProductFormDetail>E101</ProductFormDetail>
<!-- 主要內容為 文字 -->
<PrimaryContentType>10</PrimaryContentType>
<!-- 技術保護機制為 浮水印(Social DRM) -->
<EpubTechnicalProtection>02</EpubTechnicalProtection>
<EpubUsageConstraint>
<!-- 試閱 -->
<EpubUsageType>01</EpubUsageType>
<!-- 限制為 -->
<EpubUsageStatus>02</EpubUsageStatus>
<EpubUsageLimit>
<!-- 章節 -->
<EpubUsageUnit>02</EpubUsageUnit>
<Quantity>2</Quantity>
</EpubUsageLimit>
</EpubUsageConstraint>
<TitleDetail>
<TitleType>01</TitleType>
<TitleElement>
<!-- 產品層級的標題 -->
<TitleElementLevel>01</TitleElementLevel>
<TitleText>數位時代的出版策略</TitleText>
</TitleElement>
</TitleDetail>
<Contributor>
<SequenceNumber>1</SequenceNumber>
<!-- 角色 作者 -->
<ContributorRole>A01</ContributorRole>
<KeyNames>wastemobile</KeyNames>
</Contributor>
<Subject><!-- 這個分類識別會是個大麻煩XD -->
<MainSubject/>
<SubjectSchemeIdentifier>12</SubjectSchemeIdentifier>
<SubjectSchemeVersion>2</SubjectSchemeVersion>
<SubjectCode>FM</SubjectCode>
</Subject>
</DescriptiveDetail>
<!-- block 2 行銷附屬資料 -->
<CollateralDetail>
<TextContent>
<!-- 簡短描述 -->
<TextType>02</TextType>
<!-- 對象 任何讀者 -->
<ContentAudience>00</ContentAudience>
<Text>探討以數位原生環境生產的出版品,在內容生產、流通以及販售各層級會遇到的問題</Text>
</TextContent>
<TextContent>
<!-- 完整描述 -->
<TextType>03</TextType>
<!-- 對象 任何讀者 -->
<ContentAudience>00</ContentAudience>
<Text>傳統出版以印刷紙本為商品層級的表現,各種生產與製作也必然圍繞著這樣的情境而生、而長並持續發展。截至目前為止,我們都嘗試將這些內容打包為數位型態,並將它送上網路販售、數位傳遞的情境。實際上,如果一本書的生產是以數位原生,並在網路土壤上發芽,一切都不同了。</Text>
</TextContent>
<!-- block 3 內容細節 -->
<!-- block 4 出版細節 -->
<PublishingDetail>
<Publisher>
<!-- 出版者角色 -->
<PublishingRole>01</PublishingRole>
<PublisherName>閱讀未來研究所</PublisherName>
</Publisher>
<SalesRights>
<!-- 獨家出版授權 -->
<SaleRightsType>01</SaleRightsType>
<Territory>
<RegionsIncluded>WORLD</RegionsIncluded>
</Territory>
</SalesRights>
</PublishingDetail>
<!-- block 5 相關資料 -->
<!-- block 6 商品供應資料 -->
<ProductSupply>
<MarketPublishingDetail>
<Market>
<Territory>
<RegionsIncluded>WORLD</RegionsIncluded>
</Territory>
</Market>
<!-- Active -->
<MarketPublishingStatus>04</MarketPublishingStatus>
<MarketDate>
<!-- 在此市場中的出版日期 -->
<MarketDateRole>01</MarketDateRole>
<!-- YYYYMMDD -->
<DateFormat>00</DateFormat>
<Date>20120430</Date>
</MarketDate>
</MarketPublishingDetail>
<SupplyDetail>
<Supplier>
<!-- 一般零售市場 獨家總經銷(無指定可不用此元素) -->
<SupplierRole>10</SupplierRole>
<SupplierName>Agile Read</SupplierName>
</Supplier>
<!-- 目前可販售 -->
<ProductAvailability>21</ProductAvailability>
<Price>
<!-- 含稅零售價格 -->
<PriceType>04</PriceType>
<PriceAmount>149</PriceAmount>
<CurrencyCode>TWD</CurrencyCode>
</Price>
</SupplyDetail>
</ProductSupply>
</Product>
</ONIXMessage>
<!-- 修改部分元素,表示為僅由出版者提供線上閱讀之版本 -->
<DescriptiveDetail>
<!-- Digital Online -->
<ProductForm>EC</ProductForm>
</DescriptiveDetail>
<SupplyDetail>
<Supplier>
<!-- 由出版者直接提供終端讀者線上閱讀 -->
<SupplierRole>09</SupplierRole>
<SupplierRole>Agile Read</SupplierRole>
<Website>
<!-- 指向商品的完整頁面 -->
<WebsiteRole>29</WebsiteRole>
<WebsiteLink>http://.../xxxxxx</WebsiteLink>
</Website>
</Supplier>
ONIX message 的表頭,可以擺放許多由製成資訊者附加的資訊,但唯一必要的只有時間戳記。
為了附加於單一電子書使用,也就是嵌入 EPUB 3.0 的單一書籍詮釋資料檔案,僅保留時間戳記即可運作。
舊版使用 <AudienceCode> - 對應 List 28,雖可指定多筆,但只使用單一對應表。
新版為了能夠使用多種閱讀對象來源(包含 BISAC 與 BIC 不同的清單),棄用 <AudienceCode>,改以 <Audience> 指定(List 29)。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment