view rdf-pastebin/index.html @ 1:2d859f5e3676

ClioPatria instances now have path prefixes that match those of the instance within the main server, so that internal links work
author Chris Cannam
date Tue, 31 Oct 2017 11:47:10 +0000
parents 1e44d666ced1
children
line wrap: on
line source
<!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: &lt;http://xmlns.com/foaf/0.1/&gt;.
@prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt;.
@prefix : &lt;#&gt;.

# 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 &lt;http://sws.geonames.org/6058560/&gt;.

# Other identities
:me owl:sameAs &lt;http://dbtune.org/last-fm/kurtjx&gt;.
</textarea>
</p>
<p>
<input type="submit" name="press" value=" OK "/>
</p>
</form>

</body>

</html>