W3C home > Mailing lists > Public > semantic-web@w3.org > February 2011

Re: RDF question.

From: Hugh Glaser <hg@ecs.soton.ac.uk>
Date: Thu, 24 Feb 2011 17:57:04 +0000
To: William Phipps <wphipps78@gmail.com>
CC: "<semantic-web@w3.org>" <semantic-web@w3.org>
Message-ID: <EMEW3|6abbc9bc908e0c3e9b5fa69017edbf90n1NHvI02hg|ecs.soton.ac.uk|DA781E2D-5692-4D88-8877-D1C609831D69@ecs.soton.ac.uk>
I am not sure what is the problem, if you can't just create the page with the appropriate extension.

If you want it to look like linked data, you might find the following useful.
Basically if you have all the files with the right extensions in the directory, then it will work.

If you are generating from php I suspect you will need something like
header("Content-type: application/rdf+xml");

You would need to give a more detailed account of exactly what you are trying to do for someone to give more help.

Good luck

On 24 Feb 2011, at 17:30, William Phipps wrote:

> Folks,
> I need to format some page results in RDF. The page needs to end with
> the .rdf extension, rather then then .php or .html, reflecting this.
> Can anyone here help me with this, or put me onto a good place to help
> me work out how I can do this?
> Best wishes,
> Will

Hugh Glaser,  
              Intelligence, Agents, Multimedia
              School of Electronics and Computer Science,
              University of Southampton,
              Southampton SO17 1BJ
Work: +44 23 8059 3670, Fax: +44 23 8059 3045
Mobile: +44 78 9422 3822, Home: +44 23 8061 5652
Received on Thursday, 24 February 2011 17:57:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:42:25 UTC