Child pages
  • The View Structured Text Action Group

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • viewTOC:
              Returns a logical table of contents for a text as valid X/HTML.  The table of contents contains actionable URLs for each unit of content of a text.  These URLs are fully formed calls to viewChunk (see below).This logical table of contents is essentially the entry point to a text as it lists all accessible units of content (chunks) and embeds the appropriate actionable URL call to viewChunk to retrieve a particular unit of content. Type: text/html
  • viewHeader:
              Returns the header information for a text as valid X/HTML; it is assumed that this header will provide information about the text as a whole.

...

  • viewChunk:
              Returns a logical chunk of a text, such as a chapter, as valid X/HTML.  This assumes that a request parameter (chunkID) is passed. For example, the actionable URL for a viewChunk call might look as follows: 

...

                   A complete list of valid request parameters for a given text is available via the viewTOC action.

                   Type: text/html