Issue 13937

Drupal news items on country pages not using summary texts

13937
Reporter: feedback bot
Assignee: cvizitiu
Type: Feedback
Summary: Drupal news items on country pages not using summary texts
Resolution: Fixed
Status: Closed
Created: 2013-09-17 06:09:58.872
Updated: 2013-09-25 10:45:23.467
Resolved: 2013-09-25 10:45:23.399
        
        
Description: The text extracts following the title of the 'news items tagged x (country)' just uses top six lines of text instead of defined summary entered in the Drupal news stories - contrast with http://portaldev.gbif.org/taxonomy/term/339.

Also if possible, it would be good for these stories on the country pages to use the same category headings as in the tag and search results - i.e. News items, Featured data use]]>
    


Author: mdoering@gbif.org
Created: 2013-09-17 12:37:08.738
Updated: 2013-09-17 12:52:44.957
        
This is because the underlying RSS feed does not expose the summary, just the full, html formatted description.
[~cvizitiu@gbif.org], is it possible to add a summary field into the feeds items?



    


Author: mdoering@gbif.org
Comment: maybe also of interest is my feedback regarding drupal search results: http://dev.gbif.org/issues/browse/PF-1022
Created: 2013-09-17 12:37:57.025
Updated: 2013-09-17 12:37:57.025


Author: mdoering@gbif.org
Comment: The news items should also show their "type", i.e. either news item or data use story in the search result item header just as in the drupal search.  The RSS feed needs to transport this information somehow, maybe via keywords? Needs discussion
Created: 2013-09-19 11:31:56.774
Updated: 2013-09-19 11:31:56.774


Author: cvizitiu@gbif.org
Created: 2013-09-20 15:05:47.208
Updated: 2013-09-20 15:06:19.123
        
OK [~mdoering@gbif.org] so let's try a different approach: how about JSON view of any tag page content?

Check out http://staging.gbif.org/tags/id/* e.g. http://staging.gbif.org/tags/id/287 for all Europe related articles? Any better?
    


Author: mdoering@gbif.org
Created: 2013-09-20 15:57:22.41
Updated: 2013-09-20 15:58:25.662
        
JSON is even better, but please keep the RSS so we can link to it for external RSS clients.
I cannot find any summary text in your example link though, thats supposed to be there?
    


Author: cvizitiu@gbif.org
Comment: The object follows the internal structure of the article; you're looking for "body" which has been exported as "Summary or Body trimmed"... trimmed to 300 chars. 
Created: 2013-09-20 16:17:40.155
Updated: 2013-09-20 16:17:40.155


Author: mdoering@gbif.org
Comment: https://code.google.com/p/gbif-portal/source/detail?r=2232
Created: 2013-09-25 10:45:23.465
Updated: 2013-09-25 10:45:23.465