[ckan-dev] CKAN <-> Wordpress

Matt Fullerton matt.fullerton at okfn.de
Fri Oct 10 11:56:23 UTC 2014


Hi Stefan,
Thanks for the detailed info. I have noticed that this is the common (and
very sensible) approach. Our requirement though will be to either translate
the Wordpress theme (already designed) to CKAN, vice-versa is not an
option, and I wonder which is more effort: having Wordpress basically
display the basic info on datasets from (for sake of argument) a CSV file,
or adapting the CKAN dataset display to match wordpress.

The added complication is that we actually want to serve only the datasets
from one organisation on the CKAN instance (which pushes me towards the API
route). But it does bring up another question: is it possible to do a kind
of co-hosting on CKAN whereby myvillage.ckaninstance.com only shows the
data from the organisation myvillage? If so, then the proxy solution might
still be a possibility.

Best,
Matt

--
Matt Fullerton
Softwareentwickler
matt.fullerton at okfn.de
+49 89 74560495
Open Knowledge Foundation Deutschland e.V.
Singerstr. 109
10179 Berlin
http://www.okfn.de

On 10 October 2014 13:14, Stefan Oderbolz <stefan.oderbolz at liip.ch> wrote:

> Hi Matt,
>
> what are your requirements? You can easily use the CKAN frontend to
> display the data and create a WordPress theme to look alike (or vice-versa).
> There are already some example around where CKAN and WordPress are used on
> the same page, e.g.
>
> mysite.org/ => served by WordPress
> mysite.org/dataset => served by CKAN
> mysite.org/groups => served by CKAN
> mysite.org/about => served by WordPress
>
> etc.
>
> LIke that you can use the best of both world (CKAN for the data part,
> WordPress for the CMS part).
>
> This is the exact same architecture that we used for opendata.admin.ch:
>
> http://opendata.admin.ch => SymfonyCMF
> http://opendata.admin.ch/de/dataset => CKAN
> http://opendata.admin.ch/de/apps => SymfonyCMF
> http://opendata.admin.ch/de/faq => SymfonyCMF
> http://opendata.admin.ch/de/organization => CKAN
>
> Like that you actually run two different applications and there is no need
> to integrate them using an API etc. To do that, you only need a webserver
> as a proxy that knows which route must be served by which application.
>
> Best Regards Stefan
>
> On Fri, Oct 10, 2014 at 9:24 AM, Alessio Dragoni <
> alessio.dragoni at gmail.com> wrote:
>
>>  Hi Matt,
>> why don't use the RSS feed of CKAN and get it into WP ?
>>
>>
>>
>> On 10/10/2014 09:09 AM, Matt Fullerton wrote:
>>
>> Thanks. I did now scroll down the list of OKFN repos far enough to find
>> the plugin :D but it is quite old and also not really want I want. I just
>> need the CKAN data to be displayed on a Wordpress site, I don't need to
>> integrate them at the front-end level.
>>
>>  I may have found what I'm looking for:
>> https://wordpress.org/plugins/open-data-viewer-for-austria/developers/
>>
>>  Even if I may need to remove the Austrian specificity...
>>
>>  Thanks again,
>> Matt
>>
>>  --
>> Matt Fullerton
>> Softwareentwickler
>> matt.fullerton at okfn.de
>> +49 89 74560495
>> Open Knowledge Foundation Deutschland e.V.
>> Singerstr. 109
>> 10179 Berlin
>> http://www.okfn.de
>>
>> On 10 October 2014 09:01, Henrik Aagaard Jørgensen <BU1G at tmf.kk.dk>
>> wrote:
>>
>>>  Haven’t been updated for quite some time:
>>>
>>> https://github.com/okfn/ckanext-wordpresser
>>>
>>>
>>>
>>> *Fra:* ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] *På vegne af *Matt
>>> Fullerton
>>> *Sendt:* 10. oktober 2014 08:59
>>> *Til:* CKAN Development Discussions
>>> *Emne:* [ckan-dev] CKAN <-> Wordpress
>>>
>>>
>>>
>>> Hi,
>>>
>>> Does anyone know of any (even experimental) approaches for
>>> CKAN/Wordpress integration? This is for a small project and my current idea
>>> is to keep it simple with a periodic download of a data from a CKAN backend
>>> to a simple Wordpress DB table for a simple plugin that will display the
>>> data. I don't need full CKAN control via Wordpress.
>>>
>>>
>>>
>>> Best Regards and TIA,
>>>
>>> Matt
>>>
>>>
>>>
>>> --
>>>
>>> Matt Fullerton
>>> Software developer
>>> matt.fullerton at okfn.de
>>>
>>> +49 89 74560495 <%2B49%2089%2074560495>
>>> Open Knowledge Foundation Deutschland e.V.
>>> Singerstr. 109
>>> 10179 Berlin
>>> http://www.okfn.de
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> _______________________________________________
>> ckan-dev mailing listckan-dev at lists.okfn.orghttps://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>>
>> _______________________________________________
>> 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  // Limmatstrasse 183 //  CH-8005 Zürich
> Tel +41 43 500 39 80 // GnuPG 0x7B588C67 // www.liip.ch
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141010/79686895/attachment-0003.html>


More information about the ckan-dev mailing list