Auto-Discovery Auto-Discovery Specification

Working Draft 7 April 2007

This Version
<http://suika.fam.cx/www/2006/auto-discovery>
Latest Version
<http://suika.fam.cx/www/2006/auto-discovery>
Author
<>

Abstract

...

Status of This Document

This section describes the status of this document at the time of its publication. Other documents might supersede this document.

Oops, it's too late for the April Fool!

This document is a working draft. It might be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.

Comments on this document are welcome and may be sent to the author.

Translations of thie document might be available. The English version of the document is the only normative version.

Introduction

Recently, a number of auto-discovery conventions are proposed and implemented in various Web browsers and so-called Web 2.0 services. They provide means to extract links to resources (or other useful information) from Web documents in somewhat reliable ways. However, the syntax of these techniques vary and the implementators have to add specific code for each auto-discovery technique.

The Auto-Discovery Auto-Discovery is a mechanism to discover auto-discovery element that contains links (or other information) for auto-discovery techniques. With the Auto-Discovery Auto-Discovery, user agents can detect auto-discovery elements without any particular knowledge to a specific auto-discovery technique.

Terminology

The key words MUST, MUST NOT, SHOULD, and SHOULD NOT in this document are to be interpreted as described in RFC 2119 [KEYWORDS].

Embeding Auto-Discovery Auto-Discovery Link

An Auto-Discovery Auto-Discovery link is a hyperlink to an auto-discovery element. The referenced element is the outermost element for the auto-discovery.

The referencing element is the element representing an Auto-Discovery Auto-Discovery link.

The referencing element MUST be a link element in the http://www.w3.org/1999/xhtml namespace.

The referencing element MUST have the rel attribute which contains meta as its only link relationship value.

The referencing element MUST have the href attribute whose value is a same-document IRI reference [IRI] referencing a referenced element within the same document. The referenced element MUST NOT be a referencing element.

Ensure that same-document IRI reference is a defined term.

The referencing element might have any other attributes as defined in relavant specifications. For example, a referencing element that points a referenced element which only applied to specific media might have the media attribute specified.

It is necessary for a referencing element to be inserted to the position where it is allowed. For example, no elements in the HTML namespace other than head is allowed to contain link elements [HTML5].

Note also that referencing elements might appear in non-HTML documents. For example, they might be used in the rss element of an RSS feed document.

Auto-Discovering Auto-Discovery Elements

...

Examples

This section is informative.

...
Auto-Discovery Auto-Discovery for TrackBack Auto-Discovery

  <rdf:RDF
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
      xml:id="trackback">
    <rdf:Description
        rdf:about="http://www.foo.example/archive.html#foo"
        dc:identifier="http://www.foo.example/archive.html#foo"
        dc:title="Foo Bar"
        trackback:ping="http://www.foo.example/tb.cgi/5" />
  </rdf:RDF>
  <link rel="meta" href="#trackback">
Auto-Discovery Auto-Discovery for Atom Auto-Discovery

<link rel="meta" href="#atom">
<link id="atom" rel="feed" href="feed.atom" type="application/atom+xml">

References

Normative References

HTML5
Web Applications 1.0, WHATWG Working Draft. Work in progress. Latest version of the specification is referenced.
IRI
RFC 3987. The exact version of the specification is referenced.
KEYWORDS
RFC 2119. The exact version of the specification is referenced.

Informative References

ACOUNTAUTODISCOVERY
...
ATOMAUTODISCOVERY
I-D
COMMENTAPI
The Comment API, The Well-Formed Web, BitWorking, Inc, .
FEEDAUTODISCOVERY
wiki
FOAFAUTODISCOVERY
...
MOBILEAUTODISCOVERY
...
OPMLAUTO
OPML Auto-discovery Bookmarklet, CleverClogs, Marjolein Hoekstra, 15 October 2006.
PINGBACK
...
RSSAUTO
RSS auto-discovery, dive into mark, Mark Pilgrim, 30 May 2002.
Important change to the LINK tag, dive into mark, Mark Pilgrim, 2 June 2002.
TRACKBACK
TrackBack Technical Specification, Six Apart, Version 1.2, 1 August 2004.
WIDGETS
...
XMLID
xml:id