[ckan-discuss] ckan + wordpress?

Rufus Pollock rufus.pollock at okfn.org
Thu Jun 17 18:43:42 BST 2010


2010/6/15 Olav Anders Øvrebø <olav at oov.no>:
> I know that CKAN has been integrated with Drupal (data.gov.uk). But has
> anyone tried to use Wordpress for the same end - i.e. "extending" CKAN with
> a content management system? Wordpress is a really good system now and many
> developers know it well. Could it work? Pros and cons?

Absolutely agree Olav. Extending CKAN with a CMS like wordpress is a
really nice solution and fits nicely with a general design philosophy
of picking the best tool for each job.

There are various ways this integration can be done. One approach,
which is attractively simple is to mount the two apps into the same
url space, e.g.:

CKAN handles:

http://your.site.org/package/*
http://your.site.org/group/*
...

CMS (e.g. wordpress) handles everything else:

http://your.site.org/
http://your.site.org/news/
http://your.site.org/about/
...

This url space integration can be done in a variety of ways. We, in
fact, already do something like this (though with a bit of
elaboration) on various other okfn sites. For example here's:

<http://www.openshakespeare.org/>

This is mainly a pylons app but pages from a wordpress CMS located at
<http://blog.openshakespeare.org/> are "proxied" into that site (and
re-themed on the fly at the same time), for example see:

<http://www.openshakespeare.org/news/> (proxies from
http://blog.openshakespeare.org/>)
<http://www.openshakespeare.org/about/> (proxies from
http://blog.openshakespeare.org/about/>)
<http://www.openshakespeare.org/get-involved/> (proxies from
http://blog.openshakespeare.org/get-involved/>)

etc

Rufus



More information about the ckan-discuss mailing list