Mercurial > hg > dbtune-site
diff rdf-pastebin/index.html @ 0:1e44d666ced1
Import site from parrot
author | Chris Cannam |
---|---|
date | Fri, 13 Oct 2017 09:23:49 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rdf-pastebin/index.html Fri Oct 13 09:23:49 2017 +0100 @@ -0,0 +1,58 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + +<head> +<title>DBTune - Music-Related RDF</title> + +<style type="text/css" media="all"> + @import url(style.css); +</style> +<link rel="meta" type="application/rdf+xml" title="FOAF" href="http://moustaki.org/foaf.rdf" /> +</head> + +<body> + +<h1 style="font-size: 250%;">RDF posting service</h1> + +<h2>Description</h2> +<p>This service is just a small hack, allowing to post RDF and serve +it from this server. This is just intended for tutorial purposes. +</p> +<p> +To use it, you can can fill in the form below, or use <b>curl</b> +at <b>http://dbtune.org:1112</b>, posting two fields: <b>name</b> +and <b>turtle</b>. +</p> + +<h2>Post it!</h2> +<form method="POST" action="http://dbtune.org:1112/"> +<p> +Nickname: <input type="text" name="name" value="kurtjx"/> +</p> +<p> +<textarea name="turtle" rows="30" cols="80"> +@prefix foaf: <http://xmlns.com/foaf/0.1/>. +@prefix owl: <http://www.w3.org/2002/07/owl#>. +@prefix : <#>. + +# Basic description of me +:me a foaf:Person. +:me foaf:name "Kurt". + +# Where am I? Use sindice.com, type "london geonames" +:me foaf:based_near <http://sws.geonames.org/6058560/>. + +# Other identities +:me owl:sameAs <http://dbtune.org/last-fm/kurtjx>. +</textarea> +</p> +<p> +<input type="submit" name="press" value=" OK "/> +</p> +</form> + +</body> + +</html> +