weblog
Configuring Drupal for Posting from External Blogging Applications
Posted in: | Thu, 04/24/2008 - 7:55pm
An external blogging application like Windows Live Writer will allow you to create and publish posts from your desktop to your Drupal site. But, before you can post via one of these applications you’ll need to enable and configure your Blog API module and a few additional settings.
Step 1: Enable the Modules
Enable your Blog and Blog API modules here: admin/build/modules
Step 2: Make Content Types Available to External Clients
Select the content types you’d like to make available to external blogging clients: admin/settings/blogapi
Inline Tags Sample Module Code
Posted in: | Thu, 04/24/2008 - 5:27pm
/**
* Module implementing Drupal's hook_nodeapi
* @see http://api.drupal.org/api/function/hook_nodeapi/6
* Important Note: This is sample code.
Read more >>
Free Tagging from Windows Live Writer to Drupal
Posted in: | Wed, 04/23/2008 - 4:41pm
Allowing Tags to be Added in the Post Body Text
Free Tagging when the Blog API Does Not Support It
The following is a quick code sample showing the start of a Drupal module which lets a user add new tags to a post by placing the tags in the body of the post in a format like so:
[tags]blog, blog api, blogging, Drupal 6, weblog, windows live writer, wlw[/tags]
Use Case
I’m only using code like this for one use case. It’s for clients who do a lot of editing and posting of their Drupal content through Windows Live Writer.
With Windows Live Writer and Drupal, my clients use the “Movable Type API”. Without extending the API, it does not yet support adding new vocabulary terms. Thus, from Windows Live Writer to Drupal sites, one can only tag content with existing terms. This code allows new tags to be added.
The terms are added to a specified vocabulary id and associated with the new or updated content node.
The inline tags are removed from the body of the text before insert or update.
Posting to Drupal 6 with Windows Live Writer
Posted in: | Tue, 04/15/2008 - 10:17am
Demonstrates using Windows Live Writer to post to a Drupal 6 powered blog. Includes adding a photo, and adding terms to a post.
Configuring Windows Live Writer to Post to Drupal, Blogs and Custom Content Type
Posted in: | Mon, 04/14/2008 - 7:03pm
Shows how to add weblog accounts to post to Drupal with the blog content type and a custom content type.
Posting to Drupal 6 with Windows Live Writer
Sat, 04/12/2008 - 8:52pm
Demonstrates using Windows Live Writer to post to a Drupal 6 powered blog. Includes adding a photo, and adding terms to a post.
Configuring Windows Live Writer to Post to Drupal, Blogs and Custom Content Type
Sat, 04/12/2008 - 8:52pm
Shows how to add weblog accounts to post to Drupal with the blog content type and a custom content type.