Ignore:
Timestamp:
2007-05-25T16:12:13+12:00 (17 years ago)
Author:
lh92
Message:

Added the copyright information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl-documentation/manuals/xml-source/en/Develop_en.xml

    r13781 r14099  
    6060</Bullet>
    6161</BulletList>
     62</Content>
     63</Section>
     64<Section id="copyright">
     65<Title>
     66<Text id="copyright-title">Copyright</Text>
     67</Title>
     68<Content>
     69<Text id="right-text-1">Copyright 2002 2003 2004 2005 2006 2007 by the <Link url="http://www.nzdl.org">New Zealand Digital Library Project</Link> at <Link url="http://www.waikato.ac.nz">the University of Waikato</Link>, New Zealand.</Text>
     70<Text id="right-text-2">Permission is granted to copy, distribute and/or modify this document under the terms of the <Link url="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License</Link>, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled <Link url="http://greenstonewiki.cs.waikato.ac.nz/wiki/gsdoc/GNUFDL.html">“GNU Free Documentation License.”</Link></Text>
    6271</Content>
    6372</Section>
     
    26592668<th width="283">
    26602669<Text id="657">Format of the text to be displayed on a document page: default</Text>
    2661 <CodeLine>    <i>&lt;center&gt;&lt;table width=537&gt;</i></CodeLine>
    2662 <CodeLine><i>      &lt;tr&gt;&lt;td&gt;[Text]&lt;/td&gt;&lt;/tr&gt;</i></CodeLine>
    2663 <CodeLine><i>      &lt;/table&gt;&lt;/center&gt;</i></CodeLine>
     2670<CodeLine><i>&lt;center&gt;&lt;table width=537&gt;</i></CodeLine>
     2671<CodeLine><i>&lt;tr&gt;&lt;td&gt;[Text]&lt;/td&gt;&lt;/tr&gt;</i></CodeLine>
     2672<CodeLine><i>&lt;/table&gt;&lt;/center&gt;</i></CodeLine>
    26642673</th>
    26652674</tr>
     
    39593968</TableContent>
    39603969</Table>
    3961 <Text id="970"><CrossRef target="Table" ref="list_of_protocol_calls"/> lists the function calls to the protocol, with a summary for each entry. The examples in Section <CrossRef target="Section" ref="how_the_conceptual_framework_fits_together"/> covered most of these. Functions not previously mentioned are <i>has_collection()</i>, <i>ping()</i>, <i>get_protocol_name()</i> and <i>get_filteroptions()</i>. The first two provide yes/no answers to the questions “does the collection exists on this server?” and “is it running?” respectively. The purpose of the other two is to support multiple protocols within an architecture that is distributed over different computers, not just the null-protocol based single executable described here. One of these distinguishes which protocol is being used. The other lets a receptionist interrogate a collection server to find what options are supported, and so dynamically configure itself to take full advantage of the services offered by a particular server.</Text>
     3970<Text id="970">Table <CrossRef target="Table" ref="list_of_protocol_calls"/> lists the function calls to the protocol, with a summary for each entry. The examples in Section <CrossRef target="Section" ref="how_the_conceptual_framework_fits_together"/> covered most of these. Functions not previously mentioned are <i>has_collection()</i>, <i>ping()</i>, <i>get_protocol_name()</i> and <i>get_filteroptions()</i>. The first two provide yes/no answers to the questions “does the collection exists on this server?” and “is it running?” respectively. The purpose of the other two is to support multiple protocols within an architecture that is distributed over different computers, not just the null-protocol based single executable described here. One of these distinguishes which protocol is being used. The other lets a receptionist interrogate a collection server to find what options are supported, and so dynamically configure itself to take full advantage of the services offered by a particular server.</Text>
    39623971<Figure id="null_protocol_api">
    39633972<Title>
     
    47044713<CodeLine>Statically construct Receptionist</CodeLine>
    47054714<CodeLine>Statically construct NullProtocol</CodeLine>
    4706 <CodeLine>Establish the value for 'gsdlhome' by reading gsdlsite.cfg</CodeLine>
    4707 <CodeLine>Foreach directory in GSDLHOME/collect that isn't "modelcol":</CodeLine>
    4708 <CodeLine>  Add directory name (now treated as collection name) to NullProtocol:</CodeLine>
    4709 <CodeLine>      Dynamically construct Collection</CodeLine>
    4710 <CodeLine>      Dynamically construct Gdbm class</CodeLine>
    4711 <CodeLine>      Dynamically construct the Null Filter</CodeLine>
    4712 <CodeLine>      Dynamically construct the Browse Filter</CodeLine>
    4713 <CodeLine>      Dynamically construct MgSearch</CodeLine>
    4714 <CodeLine>      Dynamically construct the QueryFilter</CodeLine>
    4715 <CodeLine>      Dynamically construct the MgGdbmSource</CodeLine>
    4716 <CodeLine>       Configure Collection with 'collection'</CodeLine>
    4717 <CodeLine>           Passing 'collection' value on to Filters and Sources:</CodeLine>
    4718 <CodeLine>       Configure Receptionist with 'collectinfo':</CodeLine>
    4719 <CodeLine>           Passing 'collectinfo' value on to Actions, Protocols, and Browsers:</CodeLine>
     4715<CodeLine>Establish the value for ’gsdlhome’ by reading gsdlsite.cfg</CodeLine>
     4716<CodeLine>Foreach directory in GSDLHOME/collect that isn’t "modelcol":</CodeLine>
     4717<CodeLine>  Add directory name (now treated as collection name) to NullProtocol:</CodeLine>
     4718<CodeLine>    Dynamically construct Collection</CodeLine>
     4719<CodeLine>    Dynamically construct Gdbm class</CodeLine>
     4720<CodeLine>    Dynamically construct the Null Filter</CodeLine>
     4721<CodeLine>    Dynamically construct the Browse Filter</CodeLine>
     4722<CodeLine>    Dynamically construct MgSearch</CodeLine>
     4723<CodeLine>    Dynamically construct the QueryFilter</CodeLine>
     4724<CodeLine>    Dynamically construct the MgGdbmSource</CodeLine>
     4725<CodeLine>    Configure Collection with ’collection’</CodeLine>
     4726<CodeLine>      Passing ’collection’ value on to Filters and Sources:</CodeLine>
     4727<CodeLine>Configure Receptionist with ’collectinfo’:</CodeLine>
     4728<CodeLine>      Passing ’collectinfo’ value on to Actions, Protocols, and Browsers:</CodeLine>
    47204729<CodeLine>Add NullProtocol to Receptionist</CodeLine>
    47214730<CodeLine>Add in UTF-8 converter</CodeLine>
     
    47234732<CodeLine>Add in Arabic converter</CodeLine>
    47244733<CodeLine>Foreach Action:</CodeLine>
    4725 <CodeLine>  Statically construct Action</CodeLine>
    4726 <CodeLine>  Add Action to Receptionist</CodeLine>
     4734<CodeLine>  Statically construct Action</CodeLine>
     4735<CodeLine>  Add Action to Receptionist</CodeLine>
    47274736<CodeLine>Foreach Browsers:</CodeLine>
    4728 <CodeLine>  Statically construct Browser</CodeLine>
    4729 <CodeLine>  Add Browser to Receptionist</CodeLine>
     4737<CodeLine>  Statically construct Browser</CodeLine>
     4738<CodeLine>  Add Browser to Receptionist</CodeLine>
    47304739<CodeLine>Call function cgiwrapper:</CodeLine>
    4731 <CodeLine>  =================</CodeLine>
    4732 <CodeLine>  Configure objects</CodeLine>
    4733 <CodeLine>  =================</CodeLine>
    4734 <CodeLine>   Configure Receptionist with 'collection'</CodeLine>
    4735 <CodeLine>       Passing 'collection' value on to Actions, Protocols, and Browsers:</CodeLine>
    4736 <CodeLine>       NullProtocol not interested in 'collection'</CodeLine>
    4737 <CodeLine>   Configure Receptionist with 'httpimg'</CodeLine>
    4738 <CodeLine>       Passing 'httpimg' value on to Actions, Protocols, and Browsers:</CodeLine>
    4739 <CodeLine>       NullProtocol passing 'httpimg' on to Collection</CodeLine>
    4740 <CodeLine>       Passing 'httpimg' value on to Filters and Sources:</CodeLine>
    4741 <CodeLine>   Configure Receptionist with 'gwcgi'</CodeLine>
    4742 <CodeLine>       Passing 'gwcgi' value on to Actions, Protocols, and Browsers:</CodeLine>
    4743 <CodeLine>       NullProtocol passing 'gwcgi' on to Collection</CodeLine>
    4744 <CodeLine>           Passing 'gwcgi' value on to Filters and Sources:</CodeLine>
    4745 <CodeLine>  Reading in site configuration file gsdlsite.cfg</CodeLine>
    4746 <CodeLine>       Configure Recptionist with 'gsdlhome'</CodeLine>
    4747 <CodeLine>           Passing 'gsdlhome' value on to Actions, Protocols, and Browsers:</CodeLine>
    4748 <CodeLine>           NullProtocol passing 'gsdlhome' on to Collection</CodeLine>
    4749 <CodeLine>               Passing 'gsdlhome' value on to Filters and Sources:</CodeLine>
    4750 <CodeLine>      Configure Recptionist with ...</CodeLine>
    4751 <CodeLine>       ... and so on for all entries in gsdlsite.cfg</CodeLine>
    4752 <CodeLine>  Reading in main configuration file main.cfg</CodeLine>
    4753 <CodeLine>       Confiugre Recptionist with ...</CodeLine>
    4754 <CodeLine>      ... and so on for all entries in main.cfg</CodeLine>
    4755 <CodeLine>  ====================</CodeLine>
    4756 <CodeLine>  Initialising objects</CodeLine>
    4757 <CodeLine>  ====================</CodeLine>
    4758 <CodeLine>  Initialise the Receptionist</CodeLine>
    4759 <CodeLine>       Configure Receptionist with 'collectdir'</CodeLine>
    4760 <CodeLine>           Passing 'collectdir' value on to Actions, Protocols, and Browsers:</CodeLine>
    4761 <CodeLine>           NullProtocol not interested in 'collectdir'</CodeLine>
    4762 <CodeLine>      Read in Macro files</CodeLine>
    4763 <CodeLine>      Foreach Actions</CodeLine>
    4764 <CodeLine>          Initialise Action</CodeLine>
    4765 <CodeLine>      Foreach Protocol</CodeLine>
    4766 <CodeLine>          Initialise Protocol</CodeLine>
    4767 <CodeLine>          When Protocol==NullProtocol:</CodeLine>
    4768 <CodeLine>              Foreach Collection</CodeLine>
    4769 <CodeLine>                   Reading Collection's build.cfg</CodeLine>
    4770 <CodeLine>                   Reading Collection's collect.cfg</CodeLine>
    4771 <CodeLine>                       Configure Collection with 'creator'</CodeLine>
    4772 <CodeLine>                           Passing 'creator' value on to Filters and Sources:</CodeLine>
    4773 <CodeLine>                       Configure Collection with 'maintainer'</CodeLine>
    4774 <CodeLine>                           Passing 'maintainer' value on to Filters and Sources:</CodeLine>
    4775 <CodeLine>                      ... and so on for all entries in collect.cfg</CodeLine>
    4776 <CodeLine>      Foreach Browsers</CodeLine>
    4777 <CodeLine>           Initialise Browser</CodeLine>
    4778 <CodeLine>  =============</CodeLine>
    4779 <CodeLine>  Generate page</CodeLine>
    4780 <CodeLine>  =============</CodeLine>
    4781 <CodeLine>  Parse CGI arguments</CodeLine>
    4782 <CodeLine>  Execute designated Action to produce page</CodeLine>
     4740<CodeLine>  =================</CodeLine>
     4741<CodeLine>  Configure objects</CodeLine>
     4742<CodeLine>  =================</CodeLine>
     4743<CodeLine>  Configure Receptionist with ’collection’</CodeLine>
     4744<CodeLine>    Passing ’collection’ value on to Actions, Protocols, and Browsers:</CodeLine>
     4745<CodeLine>    NullProtocol not interested in ’collection’</CodeLine>
     4746<CodeLine>  Configure Receptionist with ’httpimg’</CodeLine>
     4747<CodeLine>    Passing ’httpimg’ value on to Actions, Protocols, and Browsers:</CodeLine>
     4748<CodeLine>    NullProtocol passing ’httpimg’ on to Collection</CodeLine>
     4749<CodeLine>    Passing ’httpimg’ value on to Filters and Sources:</CodeLine>
     4750<CodeLine>  Configure Receptionist with ’gwcgi’</CodeLine>
     4751<CodeLine>    Passing ’gwcgi’ value on to Actions, Protocols, and Browsers:</CodeLine>
     4752<CodeLine>    NullProtocol passing ’gwcgi’ on to Collection</CodeLine>
     4753<CodeLine>    Passing ’gwcgi’ value on to Filters and Sources:</CodeLine>
     4754<CodeLine>  Reading in site configuration file gsdlsite.cfg</CodeLine>
     4755<CodeLine>    Configure Recptionist with ’gsdlhome’</CodeLine>
     4756<CodeLine>      Passing ’gsdlhome’ value on to Actions, Protocols, and Browsers:</CodeLine>
     4757<CodeLine>      NullProtocol passing ’gsdlhome’ on to Collection</CodeLine>
     4758<CodeLine>        Passing ’gsdlhome’ value on to Filters and Sources:</CodeLine>
     4759<CodeLine>    Configure Recptionist with ...</CodeLine>
     4760<CodeLine>    ... and so on for all entries in gsdlsite.cfg </CodeLine>
     4761<CodeLine>  Reading in main configuration file main.cfg</CodeLine>
     4762<CodeLine>    Configure Recptionist with ...</CodeLine>
     4763<CodeLine>    ... and so on for all entries in main.cfg</CodeLine>
     4764<CodeLine>  ====================</CodeLine>
     4765<CodeLine>  Initialising objects</CodeLine>
     4766<CodeLine>  ====================</CodeLine>
     4767<CodeLine>  Initialise the Receptionist</CodeLine>
     4768<CodeLine>    Configure Receptionist with ’collectdir’</CodeLine>
     4769<CodeLine>      Passing ’collectdir’ value on to Actions, Protocols, and Browsers:</CodeLine>
     4770<CodeLine>      NullProtocol not interested in ’collectdir’</CodeLine>
     4771<CodeLine>    Read in Macro files</CodeLine>
     4772<CodeLine>    Foreach Actions</CodeLine>
     4773<CodeLine>      Initialise Action</CodeLine>
     4774<CodeLine>    Foreach Protocol</CodeLine>
     4775<CodeLine>      Initialise Protocol</CodeLine>
     4776<CodeLine>      When Protocol==NullProtocol:</CodeLine>
     4777<CodeLine>        Foreach Collection</CodeLine>
     4778<CodeLine>          Reading Collection’s build.cfg</CodeLine>
     4779<CodeLine>          Reading Collection’s collect.cfg</CodeLine>
     4780<CodeLine>            Configure Collection with ’creator’</CodeLine>
     4781<CodeLine>              Passing ’creator’ value on to Filters and Sources:</CodeLine>
     4782<CodeLine>            Configure Collection with ’maintainer’</CodeLine>
     4783<CodeLine>              Passing ’maintainer’ value on to Filters and Sources:</CodeLine>
     4784<CodeLine>            ... and so on for all entries in collect.cfg</CodeLine>
     4785<CodeLine>    Foreach Browsers</CodeLine>
     4786<CodeLine>      Initialise Browser</CodeLine>
     4787<CodeLine>  =============</CodeLine>
     4788<CodeLine>  Generate page</CodeLine>
     4789<CodeLine>  =============</CodeLine>
     4790<CodeLine>  Parse CGI arguments</CodeLine>
     4791<CodeLine>  Execute designated Action to produce page</CodeLine>
    47834792<CodeLine>End.</CodeLine>
    47844793</Figure>
Note: See TracChangeset for help on using the changeset viewer.