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

Unclear how to determine a WebId from a POD #1399

Closed
melvincarvalho opened this issue Jan 29, 2020 · 4 comments
Closed

Unclear how to determine a WebId from a POD #1399

melvincarvalho opened this issue Jan 29, 2020 · 4 comments

Comments

@melvincarvalho
Copy link
Contributor

Was discussing this with @angelo-v

When going to the root of a pod /, in the current template the webid is written in plain text

However, it seems not obvious how to determine programmatically the WebId that owns a pod

Is there some pod specific metadata floating around, or could we come up for a design, if not?

@melvincarvalho
Copy link
Contributor Author

Simple low tech solution:

Put the creator in index.ttl

@bourgeoa
Copy link
Member

You can find it in https://yourPod/.meta

@melvincarvalho
Copy link
Contributor Author

Great, thanks!

@kjetilk
Copy link
Member

kjetilk commented Jan 29, 2020

Ah, hold on, the .meta thing isn't necessarily what you should be looking at, the data in there is included with the container, so you should request / with Accept: text/turtle.
Working out something consistent around this has been tricky, in the future, you'd get RDFa with it so that you can always get some RDF. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants