Skip to content

Instantly share code, notes, and snippets.

@mamund
Last active May 28, 2021 07:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mamund/9447935 to your computer and use it in GitHub Desktop.
Save mamund/9447935 to your computer and use it in GitHub Desktop.
an UBER representation (and resulting HTML document) that uses transclusions
<html>
<head>
<title>Person</title>
<link rel="related" href="http://example.org/uber/person-uber.xml" />
</head>
<body>
<dl>
<dt>NAME:</dt>
<dd>Mike Amundsen</dd>
<dt>PHOTO:</dt>
<dd><img src="http://amundsen.com/images/mca-photos/mca-icon-c.jpg" /></dd>
<dt>RSSFEED:</dt>
<dd><iframe src="http://amundsen.com/blog/feed/" /></dd>
<dt>BLOG:</dt>
<dd><a href="http://amundsen.com/blog">Mike's Blog</a></dd>
</dl>
</body>
</html>
<uber version="1.0">
<data id="name">Mike Amundsen</data>
<data id="photo"
href="http://amundsen.com/images/mca-photos/mca-icon-c.jpg"
transclude="true" accepting="image/*" />
<data id="rssfeed"
href=""
transclude="true" accepting="application/rss+xml" />
<data id="blog" href="http://amundsen.com/blog" transclude="false">Mike's Blog</data>
</uber>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment