Giter Site home page Giter Site logo

Create publisher page about checklistbank HOT 8 CLOSED

mdoering avatar mdoering commented on July 4, 2024
Create publisher page

from checklistbank.

Comments (8)

thomasstjerne avatar thomasstjerne commented on July 4, 2024 1

So far only from the list of publishers: https://www.dev.checklistbank.org/catalogue/3/publishers

from checklistbank.

mdoering avatar mdoering commented on July 4, 2024

count datasets: http://api.dev.checklistbank.org/dataset?limit=0&gbifPublisherKey=0674aea0-a7e1-11d8-9534-b8a03c50a862

count sectors: http://api.dev.checklistbank.org/dataset/{key}/sector?limit=0&gbifPublisherKey=0674aea0-a7e1-11d8-9534-b8a03c50a862

with {key} being a project or release dataset key

from checklistbank.

mdoering avatar mdoering commented on July 4, 2024

how do I reach a publisher page?

from checklistbank.

mdoering avatar mdoering commented on July 4, 2024

maybe we should add the project title (or alias) to all project pages at the top next to the project tag?
A publisher page now say for example Publisher: SNSB [Project]

from checklistbank.

mdoering avatar mdoering commented on July 4, 2024

one thing - the API uses the publisherKey query param in all searches but the dataset one.
The publisher page now uses gbifPublisherKey which is not understood so the counts are wrong.

https://api.dev.checklistbank.org/dataset/3/sector?limit=0&publisherKey=0674aea0-a7e1-11d8-9534-b8a03c50a862
https://api.dev.checklistbank.org/dataset/3/sector?limit=0&gbifPublisherKey=0674aea0-a7e1-11d8-9534-b8a03c50a862

How about I also change the dataset one to use publisherKey only? I dont think it needs the gbif prefix really, or does it?

from checklistbank.

thomasstjerne avatar thomasstjerne commented on July 4, 2024

It only uses gbifPublisherKey for the facet and link to the dataset search: https://www.dev.checklistbank.org/dataset?gbifPublisherKey=943a5811-d56e-4c37-853d-bd64957d3833 - it uses publisherKey for sector count and link.

from checklistbank.

mdoering avatar mdoering commented on July 4, 2024

hm, the page shows a lot of sectors though when there should only be 33
https://www.dev.checklistbank.org/catalogue/3/publisher/0674aea0-a7e1-11d8-9534-b8a03c50a862

from checklistbank.

thomasstjerne avatar thomasstjerne commented on July 4, 2024

You are right - fixed now

from checklistbank.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.