When visiting ?q=blogapi/rsd the error of drupal_set_header (not available in D7) usage breaks the xml response.

Also, by default, enabling the blog module, exposes the 'blog' content type as a blog for the blogger.getUsersBlogs, even if the 'blog' content type is not enabled for blogapi at ?q=admin/config/services/blogapi. By default, no option is enabled for the field "Enable for external blogging clients" under settings, but "blog" is always returned by the getUserBlogs method. I'm working on this.

Comments

ilo’s picture

Title: Atom discovery errors » Blogapi default enabled content types
Status: Active » Needs review
StatusFileSize
new2.44 KB

The value expeted for as default should be array('blog' => 'blog') instead of array('blog' => 1).

This patch includes:
- fix for the enabled content types checkbox (now it will show 'blog' as default enabled content type).
- Delete variables on uninstall
- Fix the drupal_set_header issue.

cweagans’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

cweagans’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.