experimental publishing for experimental writers
  Home oBooks oReader
  Forum oPublish Tools

oPublishing Basics

oStories are the core of the oBook model. oStories are created by wrapping your exisiting stories in a set of XML tags Here's an example of a regular (very simple) HTML story page.

<html>
<head><title>My Sad Story by Ann Author</title></head>
<body>
<h1>My Sad Story</h1>
<h2>by Ann Author</h2>
<p>Once upon a time there lived a small dog in a large trailer park.</p>
<p>His family moved away when he was out playing in the vacant lot across the street.</p>
<p>When he returned to the now vacant trailer, he was forced to go on government assistance merely to scrape by. I'm mean even trailer rent is pretty expensive for a dog.</p>
</body>
</html>

The oStory version of this would look like:

<html>
<head><title>My Sad Story by Ann Author</title></head>
<body>
<h1>My Sad Story</h1>
<h2>by Ann Author</h2>
<ostory sid="1">
<otitle val="My Sad Story"></otitle>
<oauthor val="Ann Author"></oauthor>
<opublisher val="Ann Author's oStory Site"></opublisher>
<ocontent>

<p>Once upon a time there lived a small dog in a large trailer park.</p>
<p>His family moved away when he was out playing in the vacant lot across the street.</p>
<p>When he returned to the now vacant trailer, he was forced to go on government assistance merely to scrape by. I'm mean even trailer rent is pretty expensive for a dog.</p>
</ocontent>
</ostory>

</body>
</html>

The browser ignores these tags and your story displays exactly as before. Your story page can be as complicated as you like, but the actual story itself has to follow a few simple guidelines. Let's look at the oStory section in more detail.

Next Page: oStory Details


eXTReMe Tracker X