NAME

series Parser


DESCRIPTION

XML parser to read in the series definition for the series server


AUTHOR

Bruno BÖTTCHER <bboett at adlp.org>


COPYRIGHT AND LICENCE

Copyright (c) 2003 Bruno Boettcher

  seriesparser.pm is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; version 2
  of the License.
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.


Methods of this class

CTOR
instantiation of the seriesparser

init
initialisation of the seriesparser

parse
takes a filename and the 2 references to the translation tables, and parses it, you need 2 since you surely want to go in both directions, means tag to message, and trigger to tag... you can use both independently, since they share the actual languge definition hash... don't forget to initalize the refs since the sub fills them, if there were undef, they will be lost...

isa
issue the type of this object

version
issue the version of this module

debug
issue debugging messages to the console

series
Callback for an opening series tag

Is the first useful tag of the catalog env, since it holds the definition for one type of series

alias
Callback for an opening alias tag

This one defines an alias for an existing record, all changes mad through this one are mirrored back to the original record.

catalog
this is invoqued when the starting tag of the catalog env is called

catalog_
this is invoqued when the ending tag of the catalog env is called

text
some raw text comes in, store it and let the elements handle that...

other
some unkown text comes in, store it and let the elements handle that...

patternrevision
switch pattern active chars to perlish and non greedy patterns


SEE ALSO

zebot home page http://www.freesoftware.fsf.org/zebot/ Net::IRC, RFC 1459, http://www.irchelp.org/, http://poe.perl.org/ http://www.cs.cmu.edu/~lenzo/perl/, http://www.infobot.org/,