See
PublishedAPI for packages intended to be used by Plugin and Contrib authors, or
browse all packages.
See also
Developing plugins,
Developer's Bible,
Technical Overview
internal package
HarvestPlugin::Core
writeDebug($message(
prints a debug message to STDERR when this module is in TRACE mode
new($class, $baseWeb, $baseTopic)
constructor for the core
DESTROY()
finalizer for the plugin core
printJSONRPC
DEPRECATED: use
JsonRpcContrib instead
prints a json-rpc response
handleUrl2Tml($session, $subject, $verb, $response) → $string
jsonRpcAttach($this, $request) → $result
handles the attach json-rpc method
--++ jsonRpcAnalyze($this, $request) → @result
handles the "analyze" json-rpc method
crawl($url, $elementType, $depth, $exclude, $include, $seen) → @result
crawls an external url with the given depth and returls a list
of found nodes
node2record($node) → $record
converts an html node as returned by the toke parser to a result record
as we want it.
getMimeType($url) → $mimeType
get the mimetype of the file behind $url by analyzing the
extension suffix. Returns undef if not found in
the
MimeTypesFileName
description.
getExternalResource($url) → ($content, $type)