oeco / opendev-wptheme

Open Development - JEO child theme
1 stars 6 forks source link

Option to display search results and specific content types in a graphical tile view or text-only list presentation #32

Open Numnov opened 9 years ago

Numnov commented 9 years ago

Implement this functionality as described in wireframe designs circulated by Internews on 12/13/14

skitch github 2

WillieShubert commented 9 years ago

This issue is actually has a stumbling block right now that relates to the relationship between CKAN and WordPress. The idea presented in this wireframe was conceived of prior to testing out the returned results via WPCKAN. The structure of the content held in CKAN isn't conducive to using an image, title, description for two reasons

  1. The CKAN plug-in provides a tremendous variety of content formats and styles (post, briefing, law, dataset, map, document) that return a diversity of sizes to the content (long briefings, short datasets)
  2. Most resources contain no images.

We recommend removing the posts and briefings from the CKAN and using the WordPress CMS to provide a Content Management System for posts and pages. It is what WordPress is great at and now that the Posts have been migrated by Huyeng it is more logical to use this as a resource.

acorbi commented 9 years ago

We recommend removing the posts and briefings from the CKAN and using the WordPress CMS to provide a Content Management System for posts and pages. It is what WordPress is great at and now that the Posts have been migrated by Huyeng it is more logical to use this as a resource.

@Numnov. Do we have a concrete approach on this? The latest statement i got was to keep them.

mishari commented 9 years ago

@WillieShubert the purpose of putting this data into CKAN to begin with is to be able to expose all the data via CKAN's extremely powerful API and search interface. Can you think of an acceptable way to make this work both ways?

WillieShubert commented 9 years ago

@mishari this is a critical question and in many ways it is the central on for integrating CKAN, WP, and GeoServer. @acorbi @miguelpeixe and I spoke today about how to make the system work where Open Development can utilize each platform's best components.

In terms of content we recommend the following construction:

  1. WP handles Posts, Briefings, and Maps
  2. CKAN handles Library, Dataset, News Feeds (Using the GeoJSON API), and Laws

Both CKAN and JEO have APIs have powerful functionality for certain uses but as we have seen neither of them is capable of providing everything ODM needs as a single tool.

What this arrangement will enable the search and advanced search functionality to provide a much clearer experience for users. The detail of this are elaborated upon by @acorbi in this hackpad:

https://hackpad.com/Changing-the-way-News-are-archived-from-Wordpress-to-CKAN-4TCgq0DppQP

We will be following up on this further via in the documentation