html标题%3ctitle%3e,EmbeddingRDFinHTML

In the beginning, there was the HTML meta element.

Then came PICS, which could be carried inside meta elements.

Then came RDF, in some ways a generalization of PICS, written in XML,

and XHTML, also written in XML. Whence comes the question...

How do I put RDF in my HTML document?

With the growing number of GrddlImplementations...

use a profile of HTML designed for the RDF schema you're interested in

check out Joe Lambda's homepage and proceed in the best "view source" tradition.

see the online service started by Dom Nov 2003

check the proposed spec

earlier design sketch: relational data views of XHTML via XSLT Dan Connolly (Thursday, 29 May)

join the public-rdf-in-xhtml-tf mailing list discussion, started May 21 2003

Use a data: URL (http://www.ietf.org/rfc/rfc2397.txt) and add the URL-encoded RDF as the href attribute of a in your

.

in particular...

How do I put bibliographic metadata ala DublinCore in my HTML document?

Use the dialect from Encoding Dublin Core Metadata in HTML, December 1999 by J. Kunze, the profile above, and the formal interpreter in XSLT

hmm... photo metadata... see ImageDescription

How do I put rights metadata in my HTML document ala CreativeCommons?

How can I use my HTML document to make FOAF metadata?

How can I make an RSS feed from my HTML page?

How do I connect my web page to a geographic lat/long location?

how about travel schedules?

How do I make a namespace document that works with HTML browsers but formally relates various resources?

try the RDDL dialect of HTML (Sep 2003 version) with the grokRDDL interpreter

but stay tuned to namespaceDocument in the TAG issue list

see also: RDDL home

earlier work on schemas in HTML: HyperRDF

Some older ideas and the corresponding drawbacks:

appendix B of the 1999 RDF spec suggests sticking RDF in the head of an HTML document (more in Part I of RDF in HTML: Approaches)

but the result doesn't conform to the XHTML specs, so

build a modular DTD (details in Part II of RDF in HTML: Approaches)

but you have to tweak the DTD every time you use a new RDF property

wrap the RDF in a

.

looks silly in a browser that can't handle CSS

see DTD problems above

The initial CreativeCommons deployment involves putting RDF inside comments inside HTML.

PPR:HotComments?!?! Blech!

make a separate RDF file and link to it

but

It is often easier to add an HTML document than another kind of document (for example in a Wiki...)

HTML documents get crawled already, and are better connected than RDF documents

We want something readable at the end of a URI without figuring out content negotiation, etc.

references, newest first:

RDF in XHTML tasks approaches from Joseph Reagle

paper on revising of RDF/XML by Dave Beckett including known problems, requirements for new syntaxes, analysis of existing work.

RDF and HTML session in the March 2003 Semantic Web Architecture meeting in Cambridge

RDF/XML with HTML and XHTML in the RDF Syntax WD (January 2003)

TagIssue:RDFinXHTML-35

A strawman Unstriped syntax for RDF in XML esp section "RDF in HTML - Transparent or not?", Jun 1999 by TimBL

Shoe from Heflin, Hendler and company (LinkMe). Their approach has been to stick formulas inside HTML all along.

, ProxyTopic of public-rdf-in-xhtml-tf

Comments:

In the HTML 4.01 specs, it is said "The ADDRESS element may be used by authors to supply contact information for a document or a major part of a document such as a form. This element often appears at the beginning or end of a document."

But you are putting licence information (CC example) which is not contact information. -- KarlDubost.

I guess I owe a comment on the HTML 4.01 spec then; I think the ADDRESS element is where you sign the page; i.e. you show who's responsible for the page. And copyright info is often part of a page's signature. -- DanConnolly

This document is very interesting because it has a lot of links but it's also very hard to read, because you have to go back and forward with the Joe User home page. --KarlDubost

The spec suggests that the rel attribute of the link tag be "transformation" and that's what Joe Lambda's page uses, yet View > Source of the page http://www.w3.org/2003/g/data-view shows it using rel="xslt2rdf". Are both OK? -- SPage

"xslt2rdf" was the name used in an old version of the spec; while it's still supported in one of the implementations, "transformation" is the one that must be used; I've updated data-view to use the latter. --DomHazael

If you use a data: URL in a , it's pretty easy, and compatible with many many versions of HTML and HTML-processing agents:

It's just so deliciously wrong. --EvanProdromou

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值