Slash-Client

 view release on metacpan or  search on metacpan

lib/Slash/Client/Journal.pm  view on Meta::CPAN

=over 4

=item add_entry(HASHREF)

Add an entry.  Must be authenticated.

Pass key-value pairs for C<subject> and C<body> (both required).  Other optional
keys are C<discuss>, C<posttype>, and C<tid>.

C<discuss> is a boolean for turning on discussions.  If false, comments
are not turned on.  If true, the user's prefs on the site are used (which
is also the default).

C<posttype> is an integer defining the post types.  This is subject to change,
but is currently: 1 = Plain Old Text, 2 = HTML Formatted,
3 = Extrans (html tags to text), 4 = Code.  Again, default is to simply use
the user's preferences.

C<tid> is a topic ID.  This varies widely between Slash sites.  To get a list,
view the source of the journal editing page and look for the "tid" form values.



( run in 1.965 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )