|
|
This work is licensed under a Creative Commons |
Even though XLink is an interesting and sufficient foundation for the project of this course, it does have some problems for the AJAXLink application. The most important observation is that XLink is underspecified and missing important complementary specifications in various areas. The two most important areas are linkbase access (how to selectively retrieve XLinks) and link visualization (how to render a link once it has been retrieved). This lecture proposes a simple XLink visualization algorithm.
resources are untyped (no MIME type identification)locator-identified resources is given by HTTPlabel/from/to way of connection resources probably is not the best solutionembed HTML into a GIF fragment onRequest?role)title children)locator or embedded as resource)role)title children)label/from/toarcrole)title children)show and actuate)onLoad is found, no interactive navigation is requiredonLoad arcs probably should be considered an errorfrom is equal to label)title as text for the entryarcrole as additional information (maybe used for styling)label=to)title as text for the entryrole as additional information (maybe used for styling)locator or a resourceDoc or Dieinteraction for Pluto permalink URI (created with
xlink2lil.xsl)<?xml version="1.0" encoding="UTF-8"?> <links> <link start="http://docordie.blogspot.com/2006/08/sorry-pluto-and-some-thoughts-about.html" title="Sorry Pluto… And Some Thoughts About Categorization"> <first title="Post Time"> <second>2006-08-27</second> </first> <first title="Post Author"> <second title="Bob Glushko" href="http://www.ischool.berkeley.edu/~glushko/" /> </first> <first title="Blog Home"> <second title="Doc Or Die" href="http://docordie.blogspot.com/" /> </first> </link> <link start="http://docordie.blogspot.com/2006/08/sorry-pluto-and-some-thoughts-about.html" title="Category Craziness in "Decapod Duels""> <first title="Related Post"> <second title="Category Craziness in "Decapod Duels"" href="http://docordie.blogspot.com/2006/12/category-craziness-in-decapod-duels.html" /> </first> </link> </links>
lil2html.xsl transforms LIL into YUI HTMLlil2html.xsl is only a rough sketch and not completecosmos2blink.xsl → xlink2lil.xsl → lil2html.xsl goes all the waylink schema(labels, arcs, and roles)
xlink2lil)lil2html/lil2xul)HTML schemato use (what semantics are reflected in the HTML)
link schema, this can serve as a foundation for an interaction style
debugging modecould always make all resources navigable
synthetic links
link mashups)
Declarative Web 2.0is useful for better context publishing
sweet spotof expressiveness vs. complexity is a hard task
xlink2lil.xsl & lil2html.xsl are good enough for our purposes