-
Notifications
You must be signed in to change notification settings - Fork 47
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 attribution data. #125
Comments
To move the conversation from slack to this issue, here's a short summary of my proposal: I'd suggest to add an optional field
For simplicity I'd only add two fields Each app and the website should be updated as well, maybe we can make the data source a bit more prominent generally as the first question when someone uses the app the first time often appears to be "where do you get the data from?". |
How do you guys suggest we should display this in the apps? Any good ideas? |
I think displaying in the apps can be app specific. I would add it to the about page in my app.
|
Do we want to add this to:
? |
What about in the index, but for each city? I though that was the general idea all along? {
"api_version": "1.0",
"cities": {
"Bonn": {
"active_support": false,
"coords": {
"lat": 50.73438,
"lng": 7.09548
},
"name": "Bonn",
"source": "http://www.bcp-bonn.de",
"url": "http://www.bcp-bonn.de",
"attribution": {
"name": "...",
"url": "...",
"license": "..."
}
},
"Dresden": {
"active_support": true,
"coords": {
"lat": 51.05089,
"lng": 13.73832
},
"name": "Dresden",
"source": "https://apps.dresden.de/ords/f?p=1110",
"url": "https://www.dresden.de/parken",
"attribution": {
"name": "...",
"url": "...",
"license": "..."
}
},
[...] |
Hi, |
|
I find the difference between license and name pretty clear, eg the comment above: name: mandsch, license: dl-de-by-20. If no license is provided we could omit this field. |
@jk, thanks for the feedback. That's exactly what I was looking for. Good
|
@mandsch I'm not the one you want to mention. Perhaps you want to try again. |
OT: It seems that GitHub does not include my username into its emails... |
New suggestion:
|
Let's make all fields optional and it won't be such a big deal 😉 |
So should attribution then be also optional or empty? ;) |
obviously optional, although it wouldn't make much sense having it with nothing inside 😜 |
Well more null than optional since the server defaults to null for not given (optional) values. |
I have created a pull request: #127. |
I'm guessing this can be closed now? |
Yep, since it's merged and online already. |
Add attribution data to each city.
The text was updated successfully, but these errors were encountered: