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.
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.
new creates a new E2::Superdoc object. Until that object is logged in in one way or another (see the E2::Interface manpage), it will use the ``Guest User'' account.
clear clears all the information currently stored in $superdoc.
text returns the superdoc text of the currently-loaded superdoc.
the E2::Interface manpage, the E2::Node manpage, http://everything2.com, http://everything2.com/
Jose M. Weeks <jose@joseweeks.com> (Simpleton on E2)
This software is public domain.