Package blogmgmt :: Module blogger :: Class Blogger
[show private | hide private]
[frames | no frames]

Class Blogger


Methods for querying, posting and deleting entries to blogger.com
Method Summary
  __init__(self, blog_params)
  delete_all_entries(self)
Delete all entries in the blog
  delete_entry_by_url(self, entry_url, refresh_feed)
Delete entry by its URL
  delete_nth_entry(self, n)
Delete entry by its index
  get_feed_posting_host(self)
Get feed posting host
  get_feed_posting_url(self)
Get feed posting URL
  get_nonce(self)
Generate nonce from timestamp
  get_nth_entry(self, n)
  get_nth_entry_content(self, n)
  get_nth_entry_content_strip_html(self, n)
Get the content (stripped of most HTML tags) of the Nth entry in the blog
  get_nth_entry_title(self, n)
Get the title of the Nth entry in the blog
  get_nth_entry_url(self, n)
  get_num_entries(self)
Get number of entries in the blog
  get_post_headers(self)
Generate headers for HTTP POST to blogger.com
  get_tagline(self)
  get_title(self)
Get feed title
  post_new_entry(self, title, content)
Post entry to blogger.com
  refresh_feed(self)
  snooze(self, seconds)

Method Details

delete_all_entries(self)

Delete all entries in the blog

Test map (set of unit tests that exercise this method):

delete_entry_by_url(self, entry_url, refresh_feed=1)

Delete entry by its URL

Code for this method inspired from http://www.daikini.com/source/atomexamples

delete_nth_entry(self, n)

Delete entry by its index

Test map (set of unit tests that exercise this method):

get_feed_posting_host(self)

Get feed posting host

Test map (set of unit tests that exercise this method):

get_feed_posting_url(self)

Get feed posting URL

Test map (set of unit tests that exercise this method):

get_nonce(self)

Generate nonce from timestamp

Code for this method inspired from http://www.daikini.com/source/atomexamples

get_nth_entry_content_strip_html(self, n)

Get the content (stripped of most HTML tags) of the Nth entry in the blog

Test map (set of unit tests that exercise this method):

get_nth_entry_title(self, n)

Get the title of the Nth entry in the blog

Test map (set of unit tests that exercise this method):

get_num_entries(self)

Get number of entries in the blog

Test map (set of unit tests that exercise this method):

get_post_headers(self)

Generate headers for HTTP POST to blogger.com

Code for this method inspired from http://www.daikini.com/source/atomexamples

get_title(self)

Get feed title

Test map (set of unit tests that exercise this method):

post_new_entry(self, title, content)

Post entry to blogger.com

Code for this method inspired from http://www.daikini.com/source/atomexamples

Test map (set of unit tests that exercise this method):

Generated by Epydoc 2.1 on Wed Feb 16 08:44:26 2005 http://epydoc.sf.net