![]() |
|
oStory Details<ostory sid="1"> The opening tag <ostory> has an attribute named sid. sid is used to allow more than one story to be presented on a page. The only requirements are that it be a number and unique to the ostory. You can use sid="1" if there only story per page, or if the page is dynamically generated with coldFusion, ASP, PHP, etc, the sid can be the database ID number. The <otitle> tag comes next. It's attribute val is the title of this story. The <oauthor> attribute val is simply the author name for this story. (Do not use 'by Author Name' here!) The <opublisher> attribute val is how your site's name will appear in the Table of Contents of the PDF eBook. This should be the same for all the oStories coming from a single site, so readers will be able to recognize sites they like to use. Now we get to the <ocontent> tag and the HTML rules for story formatting. The <ocontent></ocontent> pair of tags wrap around the viewable body of your story. The story itself MUST be made up of only text surrounded by the <p></p> HTML tags. You can format the text with a Cascading Style Sheet by using <p class="yourClass">STORY TEXT</p>, but no other HTML tags can be included (example <p>Your cat ate your <b><i>what</i></b>?</p> is not allowed). The <p> tags MUST be paired with their closing </p>'s! The oStory is then closed out with </ostory>. oStories are complete, self contained and can be included (by hand) in any oBook .obf file for download. But in order for readers to have access to oStories they can build themselves, we need to put together a library & catalog of oStories for your site. Last Page: Basics -- Next Page: oLibraries |
|
|
A Big Dead Animal Furnace Production Copyright © 2006 |