Jose Marti Weeks > E2-Interface-0.34 > E2::E2Node

Download:
E2-Interface-0.34.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.33   Source  

NAME ^

E2::E2Node - A module for fetching data and manipulating e2nodes on http://everything2.com.

SYNOPSIS ^

        use E2::Superdoc;

        my $superdoc = new E2::Superdoc;

        $superdoc->login( "username", "password" ); # See E2::Interface

        if( $superdoc->load( "nate and dem bones" ) ) {    # See E2::Node
                print $superdoc->title . " :\n\n";         # See E2::Node
                print $superdoc->text . "\n";
        }

        # That's it, folks.

DESCRIPTION ^

This module provides an interface to http://everything2.com's superdocs. It inherits E2::Node.

The XML output of a superdoc is basically just the HTML that the superdoc spits out. This output is available via the method text once a superdoc has been loaded.

CONSTRUCTOR ^

new

new creates a new E2::Superdoc object. Until that object is logged in in one way or another (see E2::Interface), it will use the "Guest User" account.

METHODS ^

$superdoc->clear

clear clears all the information currently stored in $superdoc.

$superdoc->text

text returns the superdoc text of the currently-loaded superdoc.

SEE ALSO ^

E2::Interface, E2::Node, http://everything2.com, http://everything2.com/?node=clientdev

AUTHOR ^

Jose M. Weeks <jose@joseweeks.com> (Simpleton on E2)

COPYRIGHT ^

This software is public domain.

syntax highlighting: