Issue 12660

Implement GBIF Home

12660
Reporter: mdoering
Assignee: cvizitiu
Type: Improvement
Summary: Implement GBIF Home
Description: Reuse newsroom usage & news parts and incorporate top metrics via javascript calling our data API
Priority: Major
Resolution: Incomplete
Status: Closed
Created: 2013-01-25 13:03:55.522
Updated: 2013-09-02 13:46:25.254
Resolved: 2013-03-03 17:56:10.281

Attachment home4.png

Attachment GBIF Data Portal - Home.html
Attachment home.html


Author: mdoering@gbif.org
Comment: vizzuality html attached
Created: 2013-01-25 13:12:44.661
Updated: 2013-01-25 13:12:44.661


Author: mdoering@gbif.org
Comment: vizzuality design attached
Created: 2013-02-07 10:25:53.115
Updated: 2013-02-07 10:25:53.115


Author: cvizitiu@gbif.org
Comment: Most likely the "events" will be a dummy in the very beginning
Created: 2013-03-01 14:20:44.194
Updated: 2013-03-01 14:20:44.194


Author: cvizitiu@gbif.org
Created: 2013-03-02 20:31:22.305
Updated: 2013-03-02 20:33:42.076
        
OK; staging has a FP. Although I respected the original HTML to the line the results for "Featured data use" part is ugly.

Markus, do you have something special in mind when it comes to implementing the top numbers in JS?

I for one was leaning more towards a "cron" solution with scriptable updated numbers every 15 minutes and served as static HTML. That should be way faster especially in remote places... 
    


Author: mdoering@gbif.org
Created: 2013-03-02 23:32:23.062
Updated: 2013-03-02 23:32:23.062
        
I would use our webservice and use a little jquery ajax call to get the numbers asynchroneously.
The not cached call is this one for now (will be super fast when cached):

number of occurrences:
http://staging.gbif.org:8080/metrics-ws/occurrence/count

number of species:
count in http://staging.gbif.org:8080/checklistbank-search-ws/search?dataset_key=d7dddbf4-2cf0-4f39-9b2a-bb099caae36c&limit=1&rank=species&status=accepted

number of datasets:
count in http://staging.gbif.org:8080/registry-search-ws/search?limit=1

number of participants:
needs to be implemented when we get into country pages


Also when we get into real time indexing these counts - mostly occurrence - will change every minute and thats nice to see!

    


Author: mdoering@gbif.org
Comment: http://api.jquery.com/jQuery.getJSON/
Created: 2013-03-02 23:32:59.228
Updated: 2013-03-02 23:32:59.228


Author: cvizitiu@gbif.org
Comment: I suggest we close this for the sprint on Tuesday as the front page is implemented. Then open a particular one for the JSON detail... In fact it should IMHO be coupled with the bigger issue of map manipulation: according to the design JS popups should be active to highlight various articles... and TR promised some samples. 
Created: 2013-03-03 16:03:02.907
Updated: 2013-03-03 16:03:02.907


Author: cvizitiu@gbif.org
Comment: I think it's OK for this sprint; the JSON update of the numbers could be a separate issue maybe?
Created: 2013-03-03 17:56:10.31
Updated: 2013-03-03 17:56:10.31


Author: mdoering@gbif.org
Comment: [~cvizitiu@gbif.org] If this is closed and the json becomes another issue, please link the new issue to here!
Created: 2013-03-04 10:51:30.188
Updated: 2013-03-04 10:51:41.827


Author: mdoering@gbif.org
Comment: attaching a sample html with basic jquery updating the occurrence and species stats
Created: 2013-03-05 14:35:42.724
Updated: 2013-03-05 14:35:42.724