File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 104104
105105 Server::respond ($ response );
106106 break ;
107- case "/storage/profile " :
108- case "/storage/profile/ " :
109- $ profile = <<<EOF
110- @prefix : <#>.
111- @prefix acl: <http://www.w3.org/ns/auth/acl#>.
112- @prefix foaf: <http://xmlns.com/foaf/0.1/>.
113- @prefix ldp: <http://www.w3.org/ns/ldp#>.
114- @prefix schema: <http://schema.org/>.
115- @prefix solid: <http://www.w3.org/ns/solid/terms#>.
116- @prefix space: <http://www.w3.org/ns/pim/space#>.
117- @prefix vcard: <http://www.w3.org/2006/vcard/ns#>.
118- @prefix pro: <./>.
119- @prefix inbox: </inbox/>.
120- @prefix yle: </storage/>.
121-
122- <> a foaf:PersonalProfileDocument; foaf:maker :me; foaf:primaryTopic :me.
123-
124- :me
125- a schema:Person, foaf:Person;
126- acl:trustedApp
127- [
128- acl:mode acl:Append, acl:Read, acl:Write;
129- acl:origin <http://podpro.dev:443>
130- ];
131- ldp:inbox inbox:;
132- space:preferencesFile </storage/settings/prefs.ttl>;
133- space:storage yle:;
134- solid:account yle:;
135- solid:oidcIssuer <https://solid.local>;
136- solid:privateTypeIndex </storage/settings/privateTypeIndex.ttl>;
137- solid:publicTypeIndex </storage/settings/publicTypeIndex.ttl>;
138- foaf:name "Yvo Brevoort".
139- EOF ;
140- header ('Content-Type: text/turtle ' );
141- echo $ profile ;
142- break ;
143107 case "/dashboard " :
144108 case "/dashboard/ " :
145109 $ user = User::getLoggedInUser ();
You can’t perform that action at this time.
0 commit comments