473,385 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Embeding RDF in XHTML

While converting my main web site opening page to
XHTML yesterday, I was a little shocked to find out
that there is no standard way to embed RDF directly
in XHTML and still have XHTML validate.

I saw some good ideas that involved linking, but without
a standard, how are RDF spiders to find the RDF on the web?

I ended up putting comment tags around my RDF (yuck!).
At least my RDF spider peeks inside comments, but other
people would probably miss it.

Any ideas?

Thanks,
Mark

-- Mark Watson, author and Java consultant
-- Open content web books at www.markwatson.com
Jul 20 '05 #1
4 1794
Mark Watson wrote:
While converting my main web site opening page to
XHTML yesterday, I was a little shocked to find out
that there is no standard way to embed RDF directly
in XHTML and still have XHTML validate.

I saw some good ideas that involved linking, but without
a standard, how are RDF spiders to find the RDF on the web?

I ended up putting comment tags around my RDF (yuck!).
At least my RDF spider peeks inside comments, but other
people would probably miss it.

Any ideas?


FWIW, I tend to use seperate files for the RDF and the HTML. My
homepage links to a seperate RDF description. It's not perfect
either but perhaps slightly less yucky than using comment tags.

Jeen
--
Jeen Broekstra http://www.cs.vu.nl/~jbroeks/

Come quickly, I am tasting stars!
-- Dom Perignon, upon discovering champagne.
Jul 20 '05 #2
Hello Jeen,

I checked out your site. I see that you are a Sesame developer - Sesame
is very cool!

I think that I might use your approach and also my approach.

The problem with linking to RDF is that there is no
standard so RDF spiders can not find linked RDF.

Thanks,
Mark

Jeen Broekstra <jb*****@not4mail.cs.vu.nl> wrote in message news:<sl********************@flits.cs.vu.nl>...
FWIW, I tend to use seperate files for the RDF and the HTML. My
homepage links to a seperate RDF description. It's not perfect
either but perhaps slightly less yucky than using comment tags.

Jeen

Jul 20 '05 #3
Mark Watson wrote:
I checked out your site. I see that you are a Sesame
developer - Sesame is very cool!
Heh, thanks, glad you like it.
I think that I might use your approach and also my approach.

The problem with linking to RDF is that there is no standard
so RDF spiders can not find linked RDF.


On a tangent: are you developing your own RDF spider or are you
using existing software? I'm thinking about setting up an
experiment involving spidering myself, so if you have any
pointers I would appreciate it.

Jeen
--
Jeen Broekstra http://www.cs.vu.nl/~jbroeks/

Marriage, n.:
The evil aye.
Jul 20 '05 #4
On 3 Oct 2003 08:30:00 GMT, Jeen Broekstra <jb*****@not4mail.cs.vu.nl>
wrote:
if you have any pointers I would appreciate it.


ILRT @ Bristol Uni. Libby Miller's (and many others') FOAF etc. work

--
Smert' spamionam
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sascha Kerschhofer | last post by:
Hi, I am embeding my SVG Files in HTML in this way: <OBJECT DATA="foo.svg" WIDTH="300" HEIGHT="200" TYPE="image/svg+xml"> (using Acrobat SVG Viewer) Since I create the SVG dynamicaly the WIDTH...
0
by: Peter Rohleder | last post by:
Hi, I have a few simple questions in order to use modularized xhtml and getting it to work. A simple example may make this obviouse: Lets say we want to create a simple xml-file to reflect...
32
by: jp29 | last post by:
My take on problems composing, serving and rendering XHTML documents/web pages: 1. Typical conscientious web authors are producing XHTML documents (Web pages) that feature valid Markup and with...
16
by: Mcginkel | last post by:
I am trying to find a way to load XHTML content in an Iframe. I use to do this in html by using the following code : var iframeObject = document.createElement("iframe");...
82
by: Buford Early | last post by:
I read this in http://annevankesteren.nl/2004/12/xhtml-notes "A common misconception is that XHTML 1.1 is the latest version of the XHTML series. And although it was released a bit more than a...
2
by: Joris Janssens | last post by:
I'm trying to write a program for validating XHTML 1.1-documents against the XHTML 1.1 DTD (which is actually the same as validating an XML-file) but I always get a "(404) Not found" error. This...
12
by: Alex D. | last post by:
How can I stop asp.net from rendering XHTML istead of HTML? My javascripts are rendering wrong because of that. It is rendering &amp; to clients instead of &. Any help? Thanks, Alejandro.
11
by: Michael Powe | last post by:
How can I make an XHTML-compliant form of an expression in this format: document.write("<scr"+"ipt type='text/javascript' src='path/to/file.js'>"+"</scr"+"ipt>"); this turns out to be a...
1
by: tokcy | last post by:
Hi, I am embeding flash player in my site but i have some problem like... suppose i have 5 songs and i am playing one song but i want to play another while first one is not completed then both...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.