Jérôme Fenal > Pod-POM-View-SPIP > Pod::POM::View::SPIP

Download:
Pod-POM-View-SPIP-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Pod::POM::View::SPIP - POD Object Model View for SPIP

SYNOPSIS ^

    use Pod::POM::View::SPIP;

    my $parser = Pod::POM->new(\%options);

    # parse from a text string
    my $pom = $parser->parse_text($text)
      || die $parser->error();

    # parse from a file specified by name or filehandle
    my $pom = $parser->parse_text($file)
      || die $parser->error();

    # parse from text or file
    my $pom = $parser->parse($text_or_file)
      || die $parser->error();

    print Pod::POM::View::SPIP->print($pom);

DESCRIPTION ^

SPIP is a popular CMS in France, and as POD is also a popular text format to write articles, we needed a way to translate POD text into SPIP markup.

This view for Pod::POM(3) implements it.

METHODS ^

new

Class constructor. Used by Pod::POM.

VIEW DETAILS ^

BUGS ^

No warning is issued when translating nested item lists without bullets nor number. The result will not be what is expected. Your mileage may vary.

Don't expect for now having B<I<text>> giving bold italic text.

AUTHOR ^

Jérôme Fenal <jfenal@free.fr>

VERSION ^

This is version 0.03 of the Pod::POM::View::SPIP module.

COPYRIGHT ^

Copyright (C) 2004 Jérôme Fenal. All Rights Reserved

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

See Pod::POM(3) and pom2(1) for other ways to use Pod::POM::View::SPIP.

SPIP can be found at http://www.spip.net/.

syntax highlighting: