Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] clip for building opf files (the open ebook format)

Expand Messages
  • Michael Edmonson
    here s the clip i didn t know it would attach so here s the copy and pated version Michael = V5 MultiLine NoSorting TabWidth=30 H= begin package
    Message 1 of 3 , Jan 23, 2001
    • 0 Attachment
      here's the clip i didn't know it would attach so here's the copy and pated
      version

      Michael

      = V5 MultiLine NoSorting TabWidth=30

      H="begin package"
      <?xml version="1.0"?>
      <!DOCTYPE package
      PUBLIC "+//ISBN ^?[ISBN]//DTD OEB 1.0//EN"
      "http://openebook.org/dtds/oeb-1.0/oebpkg1.dtd">

      H="unique-identifier"
      <package unique-identifier="^?[name of piece]">

      H="open Metadata"
      <metadata xmlns:dc="^?[URL=http://]dc/elements/1.0"
      xmlns:oebpackage="http://openebook.org/namespaces/oeb-package/1.0">
      <dc-metadata>

      H="dc-metadata"
      <dc:^?[Choose
      one=Title|Creator|Subject|Description|Publisher|Contributor|Date|Type|Format
      |Identifier|Source|Language|Relation|Coverage|Rights]
      ^?[parta=_|id="|role="] ^?[partb=_|file-as="|scheme="]> ^?[in between tags]
      </dc:^?[Choose
      one=Title|Creator|Subject|Description|Publisher|Contributor|Date|Type|Format
      |Identifier|Source|Language|Relation|Coverage|Rights]>

      H="close dc-metadata, metadata - open manifest"
      </dc-metadata>
      </metadata>
      <manifest>

      H="manifest items"
      <item id="^?[name]" href="^$GetName(^?[(T=O;S=M;F="OEB Files
      (*.jpg;*.png;*.htm;*.html)|*.jpg;*.png;*.htm;*.html")File Name])$"
      ^?[mediatype=media-type="image/jpg"|media-type="image/png"|_media-type="text
      /x-oeb1-document"] />


      H="close manifest - open spine"
      </manifest>
      <spine>

      H="spine items"
      <itemref idref="doc" />

      H="close spine, package"
      </spine>
      </package>
    Your message has been successfully submitted and would be delivered to recipients shortly.