WoodWing Inception, WordPress and Slack

It’s been awhile since I posted something here so I thought I would do a quick movie showing WoodWing’s Inception tool and some simple code that I have created to pass the content to WordPress and then send a message to a Slack channel.

As I describe in the video, I’m using Inception to create HTML5/CSS responsive content and then shipping that content to a destination. In this case the destination is a WordPress site. The destination could be WoodWing’s Enterprise multi-channel publishing system, Drupal, Adobe AEM Mobile or some other CMS.

Inception has out of the box integrations with WoodWing Enterprise and Adobe AEM Mobile.

The key thing to understand here is that I wrote this bit of integration. That is the part that takes the incoming content from Inception and passes the data over to WordPress and Slack.

Also; I’m using this as an opportunity to learn more about making these types of videos! I hope you enjoy the video and please feel free to send me a note with any questions you may have.

Want to learn more about Inception and sign up for a trial? Head over to our web site (link), take a look around and sign up for a free 30-day trial.

WordPress auto-update on a local machine (Mac OS X)

I’ve been using WordPress for years for my personal web sites (this one for example) but have never had a need to have a local instance.

I just installed WordPress on my personal machine for use with WoodWing Enterprise. Ran into a problem where I wanted to use the Auto-Update feature of WordPress but received the ‘dreaded’ FTP dialog.

I added this line to the bottom of my WordPress installation’s ‘wp-config.php’ file:

/** Sets up ‘direct’ method for wordpress auto update */
define(‘FS_METHOD’, ‘direct’);

Now auto update works.

Here is the reference page from the WordPress Codex.

I think the most important part to think about is:

(Primary Preference) “direct” forces it to use Direct File I/O requests from within PHP, this is fraught with opening up security issues on poorly configured hosts, This is chosen automatically when appropriate.

WordPress, MacPorts and the DirectoryIndex setting

I decided that I wanted to do some work with Enterprise and WordPress. Quite some time ago I had written a pretty nice Server Plugin that allowed Enterprise to push content to WordPress.

Long story short it stopped working with the introduction of CS5 (can you say file format change?)

To do the work I wanted to install WordPress locally. I have a bunch of WP installations on a hosted server. In fact ‘MindTheGapp’ is one of them.

For about an hour I couldn’t get it to work with the MacPorts installation.

That’s when I realized I had never changed the ‘DirectoryIndex’ setting.

I need to change this:


DirectoryIndex index.html


To this:


DirectoryIndex index.html index.php


I had assumed that I already had with the installation of Enterprise. Nope.

All is now well.