API Documentation

Classes

Entry

Functions

get_rendered_body

Entry


Classes

class Entry

Class for COREBlog entry. The features of this class are...


__module__ = __builtin__

Methods

tbping(self, REQUEST=None, RESPONSE=None):

Receive Trackback PING, or show mode=rss

moderateComment(self, id, moderation):

Chenge moderate setting for comments.

count_sending_trackback(self):

Return count of sending trackback.

set_category(self, cats):

Set category.

deleteAllComments(self):

Delete all comment.

sendTrackback(self):

Send Trackback.

moderateTrackback(self, id, moderation):

Chenge moderate setting for trackbacks.

deleteComment(self, id):

Delete a comment in id.

get_next_entry(self):

Method to get next Entry instance.

next_entry_item(self):

Method to get next entry instance, in list.

manage_editEntry(self, author, body, extend, excerpt, moderated, main_category, sub_category=[], title=, subtitle=, format=0, allow_comment=0, receive_trackback=0, trackback_url=, sendnow=0, REQUEST=None, **kw):

Edit entry.

forgetPersonalInfo(self, REQUEST=None):

Reset cookies for posting comment.

excerpt_flat(self):

Remove cr,lf from excerpt & return it.

entry_title(self):

Return entry title.

editTrackback(self, trackback_id, title, excerpt, url, blog_name, REQUEST=None):

Edit a trackback.

deleteTrackback(self, id):

Delete a trackback.

entry_url(self):

Return the entry url - called permaling

tbpingurl(self, REQUEST=None, RESPONSE=None):

Return the trackback ping URL

body_size(self):

Return entry size.

addComment(self, title, author, body, moderated=1, email=, url=, created=, REQUEST=None):

Add a comment, and set cookie if need.

previous_entry_item(self):

Method to get previous entry instance, in list.

moderateTrackbacks(self, mod_ids=[], REQUEST=None):

Chenge moderate setting for trackbacks in mod_ids.

addSendingTrackback(self, url):

Add sending trackback.

deleteComments(self, ids, REQUEST=None):

Delete comments in ids.

entry_category_list(self):

Return list of category set for the entry.

sending_trackback_list(self):

Return list of sendingTrackbacks.

moderateComments(self, mod_ids=[], REQUEST=None):

Chenge moderate setting for comments in mod_ids.

deleteTrackbacks(self, ids, REQUEST=None):

Delete trackback in ids.

get_previous_entry(self):

Method to get previous Entry instance.

comment_list(self, consider_moderation=1):

Return list of comment in entry.

checkCommentValues(self, title, author, body, moderated, email=, url=, REQUEST=None):

Check validations of items in comment.

sendPING(self):

Send Update nortifications for PING Servers

editComment(self, comment_id, title, author, body, email=, url=, REQUEST=None):

Edit a comment.

addTrackback(self, title, excerpt, url, blog_name, created=):

Add trackback.

deleteAllTrackbacks(self):

Delete all trackback in entry.

index_html(self, ignore_moderation=0, REQUEST=None):

Return entry presentation.

trackback_list(self, consider_moderation=1):

Return list of trackback in entry.

previewComment(self, title, author, body, moderated=1, email=, url=, REQUEST=None):

Preview a comment.


Functions

get_rendered_body(body, format):

Render body(in stx/restx format) and returns it.