<?xml version="1.0"?>
<!-- Generated by the ACS Package Manager -->

<package key="clickthrough" url="http://openacs.org/repository/apm/packages/clickthrough" type="apm_service">
    <package-name>Clickthrough</package-name>
    <pretty-plural>Clickthrough</pretty-plural>
    <initial-install-p>f</initial-install-p>
    <singleton-p>f</singleton-p>

    <version name="0.1d" url="http://openacs.org/repository/download/apm/clickthrough-0.1d.apm">
    <database-support>
        <database>oracle</database>
        <database>postgresql</database>
    </database-support>
        <owner>Nuno Santos</owner>
        <summary>Track which links are actually followed by a user.</summary>
        <release-date>2000-12-14</release-date>
        <vendor url="http://openacs.org">OpenACS</vendor>
        <description format="text/plain">
Clickthrough collects information about each pair of local (origin)
and foreign (destination) addresses, including summary statistics of
clickthroughs between each such pairs of addresses.  The clickthrough
log can be used to provide external sites with a measure of how much
traffic originated from the local site, which can be useful for
auditing or confirming revenue generating clickthroughs (e.g.,
referrals).  Any link can be clickthrough-enabled by embedding special
information in its destination address. This is achieved by wrapping
the href attribute with a call to `clickthrough_href' (e.g.,
[clickthrough_href http://openacs.org]).
</description>

        <requires url="acs-kernel" version="4.6.2"/>

        <files>
            <file type="package_spec" path="clickthrough.info"/>
            <file type="documentation" path="www/doc/clickthrough-requirements.html"/>
            <file type="documentation" path="www/doc/index.html"/>
            <file type="data_model_create" db_type="oracle" path="sql/oracle/clickthrough-create.sql"/>
            <file type="data_model_drop" db_type="oracle" path="sql/oracle/clickthrough-drop.sql"/>
            <file type="data_model_create" db_type="postgresql" path="sql/postgresql/clickthrough-create.sql"/>
            <file type="data_model_drop" db_type="postgresql" path="sql/postgresql/clickthrough-drop.sql"/>
            <file type="tcl_init" path="tcl/clickthrough-init.tcl"/>
            <file type="query_file" db_type="oracle" path="tcl/clickthrough-procs-oracle.xql"/>
            <file type="query_file" db_type="postgresql" path="tcl/clickthrough-procs-postgresql.xql"/>
            <file type="tcl_procs" path="tcl/clickthrough-procs.tcl"/>
            <file type="query_file" path="tcl/clickthrough-procs.xql"/>
            <file type="content_page" path="www/admin/all-from-local.adp"/>
            <file type="content_page" path="www/admin/all-from-local.tcl"/>
            <file type="query_file" path="www/admin/all-from-local.xql"/>
            <file type="content_page" path="www/admin/all-to-foreign.adp"/>
            <file type="content_page" path="www/admin/all-to-foreign.tcl"/>
            <file type="query_file" path="www/admin/all-to-foreign.xql"/>
            <file type="content_page" path="www/admin/by-foreign-url-aggregate.adp"/>
            <file type="content_page" path="www/admin/by-foreign-url-aggregate.tcl"/>
            <file type="query_file" path="www/admin/by-foreign-url-aggregate.xql"/>
            <file type="content_page" path="www/admin/by-foreign-url.adp"/>
            <file type="content_page" path="www/admin/by-foreign-url.tcl"/>
            <file type="query_file" path="www/admin/by-foreign-url.xql"/>
            <file type="content_page" path="www/admin/by-local-url-aggregate.adp"/>
            <file type="content_page" path="www/admin/by-local-url-aggregate.tcl"/>
            <file type="content_page" path="www/admin/by-local-url.adp"/>
            <file type="content_page" path="www/admin/by-local-url.tcl"/>
            <file type="query_file" path="www/admin/by-local-url.xql"/>
            <file type="content_page" path="www/admin/index.tcl"/>
            <file type="content_page" path="www/admin/one-foreign-one-day.adp"/>
            <file type="content_page" path="www/admin/one-foreign-one-day.tcl"/>
            <file type="query_file" path="www/admin/one-foreign-one-day.xql"/>
            <file type="content_page" path="www/admin/one-local-one-day.adp"/>
            <file type="content_page" path="www/admin/one-local-one-day.tcl"/>
            <file type="query_file" path="www/admin/one-local-one-day.xql"/>
            <file type="content_page" path="www/admin/one-url-pair.adp"/>
            <file type="content_page" path="www/admin/one-url-pair.tcl"/>
            <file type="query_file" path="www/admin/one-url-pair.xql"/>
            <file type="content_page" path="www/admin/report.adp"/>
            <file type="content_page" path="www/admin/report.tcl"/>
            <file type="query_file" db_type="oracle" path="www/index-oracle.xql"/>
            <file type="query_file" db_type="postgresql" path="www/index-postgresql.xql"/>
            <file type="content_page" path="www/index.vuh"/>
            <file type="query_file" path="www/index.xql"/>
        </files>
        <parameters>
            <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="MaxNumberOfCachedClicks"  default="100" description="Maximum number of clickthroughs that may be cached in memory before being written to the database"/>
            <parameter datatype="number"  min_n_values="1"  max_n_values="1"  name="CacheSweeperInterval"  default="300" description="Number of seconds between each pass of the cache sweeper"/>
        </parameters>

    </version>
</package>