Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Source" to every Version and show it in footer #381

Open
wellemut opened this issue Sep 23, 2021 · 10 comments
Open

Add "Source" to every Version and show it in footer #381

wellemut opened this issue Sep 23, 2021 · 10 comments
Assignees
Labels
0 API 01 question 10 high-priority 21 backend Issues for openfairdb.org 41 Pilots Relevant for our local and thematic partners, as powerusers of the map 42 Admins Issues needed for Admins and very close partners

Comments

@wellemut
Copy link
Member

wellemut commented Sep 23, 2021

To be in line with Creative Commons Regulations and ODbL-Laws, we need to show every contributer or Datasource for an entry.

  • Backend: Therefore we have to extend the ofDB with a field for the "Datasource" of this specific version. In this field there should be a link to the initial source. So by clicking on this link, the user should be redirected to the entry on another plattform. In case this is not possible, it can be a general Link like https://www.stadtwandler.org/ or even just a Name, like "Wikidata".
  • Frontend: In the Footer of each entry has to be a link "Sources" which leads to the ofDB-Page of that entry (i.e. https://openfairdb.org/entries/a3f7793fd645449d9a844e350e377e61) where you see a list of all contributers and source of that entry!
    grafik

That also means, that when we are importing new entries, the source has to be named in the imported version.
Even though, the latest version of an entry is a mix of all versions before, it will have as "Source" the last editor. Therefore, if the user clicks on sources in the footer, we show all sources, not only the last one.

@wellemut wellemut self-assigned this Sep 23, 2021
@wellemut wellemut added 10 high-priority 21 backend Issues for openfairdb.org 41 Pilots Relevant for our local and thematic partners, as powerusers of the map 42 Admins Issues needed for Admins and very close partners 0 API osm 01 question labels Sep 23, 2021
@samuk
Copy link

samuk commented Sep 30, 2021

Is there any time estimate for when this will be implemented, please?

@flosse
Copy link
Collaborator

flosse commented Sep 30, 2021

Is there any time estimate for when this will be implemented, please?

There are simply two ways you can estimate it:

  1. Do it yourself and create a pull request
  2. Pay someone who can do this for you

@samuk
Copy link

samuk commented Sep 30, 2021

So a long time then?

@wellemut
Copy link
Member Author

Is there any time estimate for when this will be implemented, please?

At the moment this is not needed because nearly all entries come from anonymous users.

This is only required when we start systematically import data. And the import system ist the complicated part, which we will start to develop next year.

When do you need it and why? @samuk

@samuk
Copy link

samuk commented Sep 30, 2021

I'm looking to run this query https://api.ofdb.io/v0/search?text=transitiontown&categories=&bbox=46.09609080214316%2C-0.42846679687500006%2C54.61025498157912%2C17.446289062500004&limit=1000:

And display the pins on the map here: https://transitioninitiative.org/

The links would send the user back to your site, eg https://openfairdb.org/entries/a3f7793fd645449d9a844e350e377e61 for further information from a small popup.

@samuk
Copy link

samuk commented Oct 15, 2021

@wellemut have you got any thoughts on this issue? We're quite keen to represent German Transition initiatives on our map. Sponsorship/financial support is not out of the question, depending on the amount required. An alternate solution might be to include the links/emails to the initiatives in the API response? It would then be usable for us.

@wellemut
Copy link
Member Author

wellemut commented Oct 15, 2021

Hi @samuk
What you are asking for is something completly different. Because you need the link to the entry in our databasis. This issue is about how to add a Source-information to any version of an entry in our databasis. So in fact, if we would have this field, you still would not get the URL of the entry, but rather a username of the editor or a source like "Wikipedia"...

In your case, you should just create you URL by yourself, which is fairly easy. Just take the ID like 16e7a8f88c2040588c3061a0a6c15194 and put https://kartevonmorgen.org/#/?entry= before

Does this help you?
I would be very happy if that helps you to display the german transition initiatives too.

@samuk
Copy link

samuk commented Oct 16, 2021

Yes that makes sense! We'll have a go and report back. Thanks..

@wellemut
Copy link
Member Author

wellemut commented Feb 9, 2023

Yes that makes sense! We'll have a go and report back. Thanks..

How is it going @samuk ?

@samuk
Copy link

samuk commented Feb 9, 2023

We've recently done some work on Murmurations, which to some extent solves the 'getting them all on one map' issue: https://map.murmurations.network/?tags=transition

We haven't yet integrated this map into our Transition Groups map. We hope to return to this work soon.

@flosse flosse removed the osm label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 API 01 question 10 high-priority 21 backend Issues for openfairdb.org 41 Pilots Relevant for our local and thematic partners, as powerusers of the map 42 Admins Issues needed for Admins and very close partners
Projects
Status: 📋 Backlog Prio C
Development

No branches or pull requests

3 participants