SiSU -->
Full Text  scroll  TOC linked  toc  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
 

SiSU

Filetypes

Ralph Amissah

copy @ SiSU

Rights: Copyright ©  Ralph Amissah 2007, part of SiSU documentation, License GPL 3


SiSU - Filetypes,
Ralph Amissah

1. SiSU filetypes

1.1 .sst .ssm .ssi marked up plain text
1.1.1 sisu text - regular files (.sst)
1.1.2 sisu master files (.ssm)
1.1.3 sisu insert files (.ssi)
1.2 sisupod, zipped binary container (sisupod.zip, .ssp)

2. Experimental Alternative Input Representations

2.1 Alternative XML
2.1.1 XML SAX representation
2.1.2 XML DOM representation
2.1.3 XML Node representation

Document Information (metadata)

SiSU - Filetypes,
Ralph Amissah

  1

1. SiSU filetypes

  2

SiSU has plaintext and binary filetypes, and can process either type of document.

  3

1.1 .sst .ssm .ssi marked up plain text

  4

SiSU documents are prepared as plain-text (utf-8) files with SiSU markup. They may make reference to and contain images (for example), which are stored in the directory beneath them _sisu/image. SiSU plaintext markup files are of three types that may be distinguished by the file extension used: regular text .sst; master documents, composite documents that incorporate other text, which can be any regular text or text insert; and inserts the contents of which are like regular text except these are marked .ssi and are not processed.

  5

SiSU processing can be done directly against a sisu documents; which may be located locally or on a remote server for which a url is provided.

  6

SiSU source markup can be shared with the command:

  7

sisu -s [filename]

  8

1.1.1 sisu text - regular files (.sst)

  9

The most common form of document in SiSU, see the section on SiSU markup.

  10

<http://www.jus.uio.no/sisu/sisu_markup>

  11

<http://www.jus.uio.no/sisu/sisu_manual>

  12

1.1.2 sisu master files (.ssm)

  13

Composite documents which incorporate other SiSU documents which may be either regular SiSU text .sst which may be generated independently, or inserts prepared solely for the purpose of being incorporated into one or more master documents.

  14

The mechanism by which master files incorporate other documents is described as one of the headings under under SiSU markup in the SiSU manual.

  15

Note: Master documents may be prepared in a similar way to regular documents, and processing will occur normally if a .sst file is renamed .ssm without requiring any other documents; the .ssm marker flags that the document may contain other documents.

  16

Note: a secondary file of the composite document is built prior to processing with the same prefix and the suffix ._sst   1 

  17

<http://www.jus.uio.no/sisu/sisu_markup>

  18

<http://www.jus.uio.no/sisu/sisu_manual>

  19

1.1.3 sisu insert files (.ssi)

  20

Inserts are documents prepared solely for the purpose of being incorporated into one or more master documents. They resemble regular SiSU text files except they are ignored by the SiSU processor. Making a file a .ssi file is a quick and convenient way of flagging that it is not intended that the file should be processed on its own.

  21

1.2 sisupod, zipped binary container (sisupod.zip, .ssp)

  22

A sisupod is a zipped SiSU text file or set of SiSU text files and any associated images that they contain (this will be extended to include sound and multimedia-files)

  23

SiSU plaintext files rely on a recognised directory structure to find contents such as images associated with documents, but all images for example for all documents contained in a directory are located in the sub-directory _sisu/image. Without the ability to create a sisupod it can be inconvenient to manually identify all other files associated with a document. A sisupod automatically bundles all associated files with the document that is turned into a pod.

  24

The structure of the sisupod is such that it may for example contain a single document and its associated images; a master document and its associated documents and anything else; or the zipped contents of a whole directory of prepared SiSU documents.

  25

The command to create a sisupod is:

  26

sisu -S [filename]

  27

Alternatively, make a pod of the contents of a whole directory:

  28

sisu -S

  29

SiSU processing can be done directly against a sisupod; which may be located locally or on a remote server for which a url is provided.

  30

<http://www.jus.uio.no/sisu/sisu_commands>

  31

<http://www.jus.uio.no/sisu/sisu_manual>

  32

2. Experimental Alternative Input Representations

  33

2.1 Alternative XML

  34

SiSU offers alternative XML input representations of documents as a proof of concept, experimental feature. They are however not strictly maintained, and incomplete and should be handled with care.

  35

convert from sst to simple xml representations (sax, dom and node):

  36

sisu --to-sax [filename/wildcard] or sisu --to-sxs [filename/wildcard]

  37

sisu --to-dom [filename/wildcard] or sisu --to-sxd [filename/wildcard]

  38

sisu --to-node [filename/wildcard] or sisu --to-sxn [filename/wildcard]

  39

convert to sst from any sisu xml representation (sax, dom and node):

  40

sisu --from-xml2sst [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]

  41

or the same:

  42

sisu --from-sxml [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]

  43

2.1.1 XML SAX representation

  44

To convert from sst to simple xml (sax) representation:

  45

sisu --to-sax [filename/wildcard] or sisu --to-sxs [filename/wildcard]

  46

To convert from any sisu xml representation back to sst

  47

sisu --from-xml2sst [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]

  48

or the same:

  49

sisu --from-sxml [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]

  50

2.1.2 XML DOM representation

  51

To convert from sst to simple xml (dom) representation:

  52

sisu --to-dom [filename/wildcard] or sisu --to-sxd [filename/wildcard]

  53

To convert from any sisu xml representation back to sst

  54

sisu --from-xml2sst [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]

  55

or the same:

  56

sisu --from-sxml [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]

  57

2.1.3 XML Node representation

  58

To convert from sst to simple xml (node) representation:

  59

sisu --to-node [filename/wildcard] or sisu --to-sxn [filename/wildcard]

  60

To convert from any sisu xml representation back to sst

  61

sisu --from-xml2sst [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]

  62

or the same:

  63

sisu --from-sxml [filename/wildcard [.sxs.xml,.sxd.xml,sxn.xml]]

  64

Endnotes

  0


 

 1. .ssc (for composite) is under consideration but ._sst makes clear that this is not a regular file to be worked on, and thus less likely that people will have "accidents", working on a .ssc file that is overwritten by subsequent processing. It may be however that when the resulting file is shared .ssc is an appropriate suffix to use.

 

Document Information (metadata)

  0

Metadata

   

<http://www.jus.uio.no/sisu/sisu_manual/sisu_filetypes/sisu_manifest.html>

Dublin Core (DC)

DC tags included with this document are provided here.

DC Title: SiSU - Filetypes

DC Creator: Ralph Amissah

DC Rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3

DC Type: information

DC Date created: 2002-08-28

DC Date issued: 2002-08-28

DC Date available: 2002-08-28

DC Date modified: 2007-09-16

DC Date: 2007-09-16

Version Information

Sourcefile: sisu_filetypes.sst

Filetype: SiSU text 0.58

Sourcefile Digest, MD5(sisu_filetypes.sst)= fc29f0ee9c0f85cbf2fe08a28510f7d9

Skin_Digest: MD5(/home/ralph/grotto/theatre/dbld/builds/sisu/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= 20fc43cf3eb6590bc3399a1aef65c5a9

Generated

Document (metaverse) last generated: Tue Sep 25 02:53:29 +0100 2007

Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25)

Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]

SiSU -->
Full Text  scroll  TOC linked  toc  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
 

SiSU

Output generated by SiSU 0.59.1 2007-09-25 (2007w39/2)
SiSU Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.
SiSU is software for document structuring, publishing and search,
www.jus.uio.no/sisu and www.sisudoc.org
w3 since October 3 1993 ralph@amissah.com

SiSU using:
Standard SiSU markup syntax,
Standard SiSU meta-markup syntax, and the
Standard SiSU object citation numbering and system, (object/text positioning system)
Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.

GPLv3

SiSU is released under GPLv3 or later, <http://www.gnu.org/licenses/gpl.html>

SiSU, developed using Ruby on Debian/Gnu/Linux software infrastructure, with the usual GPL (or OSS) suspects.
Better - "performance, reliability, scalability, security & total cost of ownership" [not to mention flexibility & choice] use of and adherence to open standards (where practical and fair) and it is software libre.
Get With the Future Way Better!



idx txt


SiSU manual


SiSU