[ckan-dev] Wordpress and CKAN

Stefan Oderbolz stefan.oderbolz at liip.ch
Sun Feb 23 22:00:53 UTC 2014


Hi,

for opendata.admin.ch[1] we basically did the same as Reinier by using the
same templates/css for both parts, but we used SymfonyCMF [2]. But instead
of having two separate domains we used the mod_proxy of Apache [3], to
redirect the CKAN-specific requests.

So on our server there are 2 webservers running, the one for SymfonyCMF on
port 80, and the one for CKAN on port 8080.
Using mod_proxy we simply forward the requests to /dataset or /organization
to the internally running webserver on port 8080.

This makes it transparent for the user and he doesn't even recognize that
he changes back and forth between the two running servers.

- Stefan

[1] http://opendata.admin.ch
[2] http://cmf.symfony.com/
[3] http://httpd.apache.org/docs/2.2/mod/mod_proxy.html


On Sat, Feb 22, 2014 at 1:35 PM, Reinier Battenberg <
reinier.battenberg at mountbatten.net> wrote:

>  Hi,
>
>
>
> We just launched www.data.ug and what we did (with Drupal) was to use a
> Drupal theme based on bootstrap. Then in CKAN, we created a theme module
> that uses the same bootstrap.css as Drupal. The header and the footer we
> just copied from the Drupal HTML to the CKAN theme.
>
>
>
> That gave us a 80/20 score of CKAN looking the same as Drupal.
>
>
>
> Lastly, we did the same as data.gov and run Drupal on the www.data.ugsite and CKAN on a
> catalog.data.ug site
>
>
>
> (we also added geonode.org to the mix and did the same thing there.)
>
>
>
> Yes, it still needs work, yes it could be done smarter, but we did it in a
> week, without any previous django knowledge.
>
>
>
> While learning we also realized we can integrate this more tighter and
> generic, that will be for a later day.
>
>
>
> If you want to run everything on 1 domain, than you should use the apache
> proxy module to have some subfolders handled by different applications.
> That is how data.gov.uk integrates drupal & ckan.
>
>
>
> rgds,
>
>
>
> Reinier
>
>
>
>
>
> On Friday 21 February 2014 15:01:08 James Bell wrote:
>
> Hi
>
>
> I am looking to add a Wordpress install that I will use alongside my CKAN
> install, at domain.com/blog.
>
>
> I've heard that other people have done this but I can find any docs on how
> to do this and I am very new to Ubuntu! Any help would be appreciated.
>
>
> Thanks,
>
> ...
>
>
> This year I am running the London and Yorkshire marathons.
>
>
>  <http://www.justgiving.com/jamesryanbell>
>
>
> To sponsor me for these and various others runs throughout this year and
> last please go visit: http://justgiving.com/jamesryanbell
>
>
> All money raised will go to Diabetes UK
>
>
> Thanks
>
>
> :-)
>
>
>
> --
>
> rgds,
>
>
>
> Reinier Battenberg
>
> Director
>
> Mountbatten Ltd.
>
> www.mountbatten.net
>
> tel: +256 758 801749
>
> twitter: @batje
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 
Liip AG  //  Feldstrasse 133 //  CH-8004 Zurich
Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140223/8639572d/attachment-0003.html>


More information about the ckan-dev mailing list