Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

OurNet::BBSApp
BBS Application Interface

OurNet::BBSApp - BBS Application Interface


NAME

OurNet::BBSApp - BBS Application Interface


SYNOPSIS


    use OurNet::BBSApp;

    OurNet::BBSApp->new('autrijus.xml')->run();

The file ``autrijus.xml'' would look like:


    <bbsapp>

      <handler>Templator</handler>

      <monitor source="archives" name="autrijus">

        <template list="group.w" file="article.w" />

        <output path="/srv/www/autrijus" list="index-[% dir %]-[% recno %].html"

                file="archive[% dir %]-[% recno %].html" />

      </monitor>

      <monitor source="articles" name="autrijus">

        <template list="group.w">

            <file>article.w</file>

            <file>reply.w</file>

        </template>

        <output path="/srv/www/autrijus" reversed="1" preview="5" pagemax="20"

                list="index-[% page %].html">

            <file>article[% recno %].html</file>

            <file>reply[% recno %].html</file>

        </output>

      </monitor>

      <interval>10</interval>

      <bbsarg>CVIC</bbsarg>

      <bbsarg>/srv/bbs/cvic</bbsarg>

      <bbsarg>1003</bbsarg>

      <bbsarg>2500</bbsarg>

    </bbsapp>

The XML tree could also be passed as a hash reference instead. Consult the XML::Simple manpage for how the attributes will look like.

Note that keyattr attribute is set to {} (null), so there are no ``default'' attribute keys in incoming XML structure.


DESCRIPTION

OurNet::BBSApp provides a XML-based, unified access interface to applications operating on the OurNet::BBS manpage. The factory class for these services are usually the OurNet::BBSApp::Board manpage, which supports various tweakings on ArticleGroup classes.

The specific API remains to be documented.


BUGS

Too numerous to describe.


SEE ALSO

the OurNet::BBS manpage


AUTHORS

Chia-Liang Kao <clkao@clkao.org> Autrijus Tang <autrijus@autrijus.org>


COPYRIGHT

Copyright 2001 by Autrijus Tang <autrijus@autrijus.org>, Chia-Liang Kao <clkao@clkao.org>.

All rights reserved. You can redistribute and/or modify this module under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy