FOAF namespace configuration

Re


	<seanb <irc://irc.w3.org:6665/seanb,isnick>> 	ACTION: DanBri to send a 
report on the configuration he used to the list


...the config below is what we currently have live for 
http://xmlns.com/foaf/0.1/

I looked at the W3C recipies note at the time, but for some reason that 
currently escapes me, couldn't make verbatim use of it.

We use a "Slash" namespace, with a single HTML document, per 
http://www.w3.org/TR/swbp-vocab-pub/#recipe4

 From looking again, I guess the main difference is that the HTML 
content is served directly from ns URI, and not 303'd. Maybe we should 
be migrating the FOAF spec URL system closer to that direction...

Dan

.htaccess (truncated) copied below:

Redirect 303 /foaf/0.1/topic_interest http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/homepage http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/firstName http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/aimChatID http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/geekcode http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/page http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/publications http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/made http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/givenname http://xmlns.com/foaf/0.1/
Redirect 303 /foaf/0.1/msnChatID http://xmlns.com/foaf/0.1/
# ...and more of the same

RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^foaf/0.1/ /foaf/0.1/index.rdf [R=303]

# for testing
RewriteCond %{HTTP_ACCEPT} x-application/owldl\+xml
RewriteRule ^foaf/0.1/ /foaf/0.1/index.owldl [R=303]

Received on Tuesday, 12 December 2006 17:49:20 UTC