Comments (12)
An idea is to allow a user to add his username/id from other websites. We have this kind of mecanism when you edit your phones on your user profile. This way, we could have:
facebook:[email protected]
github:jdoe
bitbucket:johndoe123
...
from w3c-api.
That's perfectly fine, but the important thing (from my use case POV) is less to capture the information than to find the reverse: given a GH ID (or possibly other), what's the W3C user?
from w3c-api.
I have a few concerns about this. One of the reason we are not relying on the W3C username is to make it harder to crawl our data. Since the GH ID is public, it will be easier to find the user profiles.
Also, maintaining urls specific to GH can be a problem. What if people give up on GH for another system?
Another idea is to add the url to your W3C profile on your GH profile. Unfortunately, there's room for only one URL.
from w3c-api.
Easier, yes, but what information can you get from our API that you can't get from GitHub? Some, perhaps, but nothing radical. It doesn't allow you to crawl our data all that much — the GH data is already crawlable.
If people move on to another system we introduce a new endpoint and retire this one. It's not like we're building the Parthenon or something.
If you put the URL to your W3C profile in your GH profile, you are making this exactly as crawlable as you objected to in your first sentence... We'll also get partial and wrong data, and prevent people who want the linkage from having a link to themselves (which matters for those of us who use GitHub as a showcase).
It's okay if you don't want to do that, but I'd like to know because if not I'll need to build such a mapping into my tooling anyway :)
from w3c-api.
as we are making progress in capturing the linked identity between github and w3c accounts, this feature request is becoming important again.
For the repo manager, it would be ideal if we didn't have to manage affiliations there, but instead be able to fetch it automatically from the W3C database, which right now we can only do after having manually established to whom a github account belongs.
(paging @jean-gui since he has been working on the github integration)
from w3c-api.
@dontcallmedom How do you see this implemented. Should the URL (/users/github/jean-gui for example) redirect to the corresponding user, or should it display user profile directly?
from w3c-api.
I have no strong preference, but I suspect having an intermediary resource might become useful, e.g. to show additional metadata about the connection between the w3c & github account (when the connection was made, if it was oauth validated, etc).
I think maybe starting with /users/github/jean-gui giving a simple HAL link to the w3c API endpoint for the user would leave us enough room for improvement.
from w3c-api.
I'm not sure it's very useful to provide that intermediate view. All the information about the connection between the w3c and github accounts is already in the user: https://api.w3.org/users/ll90noiui680c8k848sgkcow4ow44ss
from w3c-api.
ok, then I guess a redirect is probably best (although I would feel better about if if #59 got fixed)
from w3c-api.
What's the content at the end of that user link, @jean-gui ?
(I only see Missing API Key, and I don't want to get my heart broken again by digging deeper myself.)
from w3c-api.
It's just my user with verified information about my Github account.
from w3c-api.
@dontcallmedom Done! See http://api.w3.org/users/connected/github/1479073. Unfortunately you have to use Github IDs rather than logins because this is the only information that we know to be exposed and unique for any OAuth connection (we may want to add more services later).
from w3c-api.
Related Issues (20)
- Users aren't all men HOT 1
- W3C
- IPP URLs in old format HOT 3
- Looking up users by W3C ID HOT 3
- Add filter to specification-series by superseded status HOT 4
- Wrong specification-series names generated for WebCodecs codec registration specs HOT 1
- Search users of an organization who are not participating in any working group HOT 4
- w3c-api
- Api HOT 1
- Add Swagger/OpenAPI files to repo HOT 2
- Annotate CR publications with substantive status
- Expose Community Groups reports HOT 5
- Expose specification's tags HOT 3
- is a participant an IE? HOT 2
- Group shortnames HOT 12
- Improving /specifications HOT 1
- Rewrite the W3C API on top of Symfony API Platform
- API doesn't version-less shortnames for leveled specifications HOT 9
- New endpoint to retrieve levels of a "shortname without level" HOT 2
- Wiki Login problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from w3c-api.