473,757 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1811
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*****@not4ma il.cs.vu.nl> wrote in message news:<sl******* *************@f lits.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*****@not4ma il.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
3185
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 and HEIGHT is unknown, when loading the HTML page. Can I embed SVG like I can do it with images without defining WIDTH and HEIGHT. Simply "oversize" both attributes unnecessarily produces scrollbars in the browser window.
0
1659
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 a faq-structure.
32
4533
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 the content (MIME) type specified as text/html (http://keystonewebsites.com/articles/mime_type.php). These pages are then loaded on to their Server where they are served to Rendering Agents (browsers) as HTML (SGML application) documents with no...
16
7117
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"); MyDiv.appendChild(iframeObject); var data = "<html><head><title>testing</title></head><body>data</body></html>" iframeObject.contentDocument.open(); iframeObject.contentDocument.writeln(data);
82
5709
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 year later then the first version of XHTML 1.0, the second edition is actually newer. Furthermore, XHTML 1.1 is not really the follow-up of XHTML 1.0" I thought that XHTML 1.1 was the follow-up to XHTML 1.0 and that XHTML 2.0 will someday be the...
2
2641
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 is the program itself : ******************************************************************** using System; using System.Xml; using System.Xml.Schema;
12
2414
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
3112
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 non-trivial exercise. inserting '&lt;' and '&gt;' causes the browser to write the text to the page as literal text rather than as the intended script element. Using escape codes seemed to work (makes it standard compliant) but the text is not written to...
1
1236
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 songs are playing that do not i want ... i want like at time only one shog should play. Is there any scripting to do this? I am giving the code which i have embed
0
9487
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9297
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10069
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9904
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9884
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9735
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7285
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
3
3395
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2697
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.