Changeset 20:6e9d16f5251e in livinglogic.python.aplora

Show
Ignore:
Timestamp:
01/06/08 20:32:48 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Tags:
rel-0-3
Message:

Update to new names of doc elements.

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • INSTALL.xml

    r11 r20  
    11<?xml version='1.0' encoding='iso-8859-1'?> 
    2 <section><title>Requirements</title> 
    3 <par>To use this script you need the following software packages:</par> 
    4 <olist> 
    5 <item><link href="http://www.python.org/">Python</link> (any version supported by cx_Oracle should do);</item> 
    6 <item><link href="http://httpd.apache.org/">Apache</link> (2.0.46 or later, although it's possible to get it to work with Apache 1.3 by removing a few of the fields);</item> 
    7 <item><link href="http://www.computronix.com/utilities.shtml#Oracle">cx_Oracle</link> (4.0 or later).</item> 
    8 </olist> 
     2<section><h>Requirements</h> 
     3<p>To use this script you need the following software packages:</p> 
     4<ol> 
     5<li><a href="http://www.python.org/">Python</a> (any version supported by cx_Oracle should do);</li> 
     6<li><a href="http://httpd.apache.org/">Apache</a> (2.0.46 or later, although it's possible to get it to work with Apache 1.3 by removing a few of the fields);</li> 
     7<li><a href="http://www.python.net/crew/atuining/cx_Oracle/">cx_Oracle</a> (4.0 or later).</li> 
     8</ol> 
    99</section> 
    1010 
    1111 
    12 <section><title>Installation</title> 
    13 <par><app>distutils</app> is used for installation, so it's rather simple. 
    14 Execute the following command:</par> 
     12<section><h>Installation</h> 
     13<p><app>distutils</app> is used for installation, so it's rather simple. 
     14Execute the following command:</p> 
    1515<prog> 
    1616python setup.py install 
    1717</prog> 
    1818 
    19 <par>This will copy aplora.py to <dirname>/usr/local/bin</dirname>. If you 
     19<p>This will copy aplora.py to <dirname>/usr/local/bin</dirname>. If you 
    2020want to install the script somewhere else you can use the 
    21 <option>--install-scripts</option> option.</par> 
     21<option>--install-scripts</option> option.</p> 
    2222 
    23 <par>There is no Windows binary.</par> 
     23<p>There is no Windows binary.</p> 
    2424 
    25 <par>To create the database table and the stored procedure use <filename>aplora.sql</filename>.</par> 
     25<p>To create the database table and the stored procedure use <filename>aplora.sql</filename>.</p> 
    2626 
    27 <par>If you have difficulties installing this software, send a problem report 
    28 to Walter Dörwald (<email>walter@livinglogic.de</email>).</par> 
     27<p>If you have difficulties installing this software, send a problem report 
     28to Walter Dörwald (<email>walter@livinglogic.de</email>).</p> 
    2929 
    3030</section> 
    3131 
    3232 
    33 <section><title>Configuration</title> 
    34 <par>First you have to define the logging format to be used by aplora. Put 
    35 the following two lines into your <filename>httpd.conf</filename>:</par> 
     33<section><h>Configuration</h> 
     34<p>First you have to define the logging format to be used by aplora. Put 
     35the following two lines into your <filename>httpd.conf</filename>:</p> 
    3636 
    3737<prog> 
     
    4040</prog> 
    4141 
    42 <par>Replace <lit><rep>ORACLE_HOME</rep></lit> with the content of your 
     42<p>Replace <lit><rep>ORACLE_HOME</rep></lit> with the content of your 
    4343<lit>ORACLE_HOME</lit> environment variable (e.g. <lit>/oracle/Client</lit>) 
    4444and <lit><rep>user/pass@db</rep></lit> with the appropriate connect string. 
    4545The option <option>-p</option> can be used to specify a different insert 
    46 procedure.</par> 
     46procedure.</p> 
    4747 
    48 <par>Note that this will only work for virtual hosts, if they don't have 
     48<p>Note that this will only work for virtual hosts, if they don't have 
    4949a <lit>CustomLog</lit> or <lit>ErrorLog</lit> directive. In this case you 
    5050have to add the <lit>CustomLog</lit> specification from above to each 
    5151virtual host section. This means that you will have more aplora jobs 
    52 running and more database connections will be consumed.</par> 
     52running and more database connections will be consumed.</p> 
    5353 
    5454</section> 
  • NEWS.xml

    r16 r20  
    1 <section><title>Changes in 0.3 (released 01/07/2008)</title> 
    2 <ulist> 
    3 <item>Use <class>datetime.datetime</class> directly instead of going through 
     1<section><h>Changes in 0.3 (released 01/07/2008)</h> 
     2<ul> 
     3<li>Use <class>datetime.datetime</class> directly instead of going through 
    44<class>cx_Oracle.Timestamp</class> (this requires a modern version of 
    5 <mod>cx_Oracle</mod>.</item> 
    6 </ulist> 
     5<mod>cx_Oracle</mod>.</li> 
     6</ul> 
    77</section> 
    88 
    99 
    10 <section><title>Changes in 0.2 (released 04/04/2005)</title> 
    11 <ulist> 
    12 <item>Instead of using an environment variable to pass the site name 
    13 to <filename>aplora.py</filename> use the Apache directive <lit>%v</lit> now.</item> 
    14 </ulist> 
     10<section><h>Changes in 0.2 (released 04/04/2005)</h> 
     11<ul> 
     12<li>Instead of using an environment variable to pass the site name 
     13to <filename>aplora.py</filename> use the Apache directive <lit>%v</lit> now.</li> 
     14</ul> 
    1515</section> 
    1616 
    1717 
    18 <section><title>Changes in 0.1 (released 01/18/2005)</title> 
    19 <ulist> 
    20 <item>Initial release</item> 
    21 </ulist> 
     18<section><h>Changes in 0.1 (released 01/18/2005)</h> 
     19<ul> 
     20<li>Initial release</li> 
     21</ul> 
    2222</section>