Show featured dataset titles from drupal, not the registry
14847
Reporter: mdoering
Assignee: mdoering
Type: Improvement
Summary: Show featured dataset titles from drupal, not the registry
Priority: Critical
Resolution: Fixed
Status: Resolved
Created: 2014-01-20 13:32:23.919
Updated: 2014-04-14 12:47:11.147
Resolved: 2014-04-14 12:33:42.348
Description: Requested by Sampreethi via email:
For http://www.gbif.org/dataset the middle featured dataset is “TESRI-FB-EnjoyMoths” but the JSON from drupal has it right. It must come from the registry.
{noformat}
{
"node" : {
"body" : "A dataset from a project by the Taiwan Endemic Species Research Institute enabling Facebook users to upload images of moths, along with dates, locations and species identification.",
"field_image" : "http://staging.gbif.org/sites/staging.gbif.org/files/styles/featured/public/Photo%20from%20enjoy%20moths%202.jpg?itok=q2LDSTH5",
"uid" : "13",
"view_node" : "view",
"title" : "Moths of Taiwan via Facebook page ",
"created" : "3 months 1 week ago",
"nid" : "2951",
"field_datasetkey" : "b4e21aec-30ff-4867-8503-2bf8de3a4fe7"
}
},
{noformat}
]]>
Author: omeyn@gbif.org
Comment: [~Sampreethi] 's work is blocked by this
Created: 2014-02-24 14:35:17.649
Updated: 2014-02-24 14:35:17.649
Author: ahahn@gbif.org
Created: 2014-03-27 12:12:07.458
Updated: 2014-03-27 12:25:09.725
According to the original design, the "Featured Datasets" section on the dataset entry page (http://www.gbif.org/dataset) is authored content in its entirety, coming from the Drupal editing environment. This should apply both to the title and the following description, so that the "featured" content is under full control of the editors of those features. A feature's title may be a dataset name, but it can differ from that for reasons of readability or layout. This is especially important in cases where the dataset title itself is very long, or where it is not a real title, but a code for the dataset (e.g. "WA", http://www.gbif.org/dataset/82d79276-f762-11e1-a439-00145eb45e9a, or "ross_sea_mollusca_lgp", http://www.gbif.org/dataset/6c808b65-184a-4ec2-a658-d55d5e1f9ba5). The second example relates to a real feature story under preparation. Goal: this section should be readable, have meaning, and not look ugly. It is not a dataset page - the details and true dataset title can be found behind a link.
Therefore
- the source of the title should change from registry to Drupal content
- the link to the dataset should be included, either under the title as currently, or as a separate link (whichever is easier)
Author: cvizitiu@gbif.org
Comment: Looks like portal dev to me. I think Drupal exposes all the necessary data.
Created: 2014-04-07 15:35:29.31
Updated: 2014-04-07 15:35:29.31
Author: mdoering@gbif.org
Created: 2014-04-14 12:19:38.065
Updated: 2014-04-14 12:19:38.065
The title indeed comes from the registry and the image defaults to the occurrence world map if none was given.
I will remove those defaults which means from now on an image, title and descriptions is required. [~cvizitiu@gbif.org], [~ahahn@gbif.org] But I guess thats how it was for a while already in Drupal?
Author: cvizitiu@gbif.org
Comment: The fields "Body" "Title" and "Image" are already there. Title and image are mandatory while creating the content but "body" is not; I suppose we should ask [~Sampreethi] if you can have a featured data set with an empty body field? I suppose not... alternatively [~mdoering@gbif.org], if body's missing emit the value from the registry?
Created: 2014-04-14 12:35:01.649
Updated: 2014-04-14 12:35:01.649
Author: ahahn@gbif.org
Comment: From the nature of a feature, empty body fields should not occur. Should that be the case nevertheless, the reserved space should just be empty. This whole section is under editorial curation, nothing should come directly from the registry.
Created: 2014-04-14 12:40:43.672
Updated: 2014-04-14 12:43:08.712
Author: mdoering@gbif.org
Comment: Ok, the registry data is entirely removed - which also speeds up the page load, hurray!
Created: 2014-04-14 12:47:11.147
Updated: 2014-04-14 12:47:11.147