Issue 13928

Odd wording on News tab for countries

13928
Reporter: feedback bot
Assignee: mdoering
Type: Feedback
Summary: Odd wording on News tab for countries
Resolution: Fixed
Status: Closed
Created: 2013-09-16 15:59:26.108
Updated: 2013-09-17 01:40:26.872
Resolved: 2013-09-17 01:40:26.847
        
        
Description: "There are no global news items for Brazil (or something similar).

Why "global" news?  Why not just news?

*Reporter*: Donald Hobern
*E-mail*: [mailto:dhobern]]]>
    
Attachment drupal_country_tags.txt


Author: mdoering@gbif.org
Comment: This was suggested by some node (spain?) which also provides an rss news feed to distinguish between news managed by the "global" GBIF secretariat and the national node. Happy to remove global or replace it by any other text. [~thirsch@gbif.org] can you advice?
Created: 2013-09-16 17:03:27.744
Updated: 2013-09-16 17:03:27.744


Author: thirsch@gbif.org
Created: 2013-09-16 19:56:39.885
Updated: 2013-09-16 19:56:39.885
        
Assuming the 'global' news items are those tagged with the country, the title of this stream should be:

News items tagged Brazil

If there are no such items, the result should read: There are currently no news items tagged Brazil.

However, this page should show the results now appearing at http://staging.gbif.org/taxonomy/term/322 . Perhaps the Drupal country terms are not yet mapped to the country IDs in Java?
    


Author: mdoering@gbif.org
Created: 2013-09-16 20:52:29.371
Updated: 2013-09-16 20:52:29.371
        
I am in the process of implementing showing the tagged news Tim, it is a bit nasty because Drupal news are tagged with english country names and there again is no way to access the information via country iso codes. I had to create a mapping of iso codes to term ids in drupal. We've got to make sure these term id integers never, ever change. If there are new ones coming up they have to be added to the list attached (drupal_country_tags.txt). Notice there are 3 countries in the drupal table that I did not manage to map to iso codes and this won't show on country pages:

Congo, The Democratic Republic of the	342
Libyan Arab Jamahiriya	418
Palestinian Territory, Occupied	461
Installations in International Waters	395



    


Author: thirsch@gbif.org
Created: 2013-09-16 21:19:47.249
Updated: 2013-09-16 21:19:47.249
        
Congo, The Democratic Republic of the (342) maps to CD
Libyan Arab Jamahiriya (418) should be renamed Libya and maps to LY
Palestinian Territory, Occupied (461) should be renamed Palestine, State of, and maps to PS
Installations in International Waters (395) should not be a Drupal term and can be ignored.
    


Author: mdoering@gbif.org
Comment: drupal news implemented for country pages: https://code.google.com/p/gbif-portal/source/detail?r=2107
Created: 2013-09-17 01:40:26.869
Updated: 2013-09-17 01:40:26.869