On Thu, Sep 18, 2008 at 11:28 PM, DeWitt Clinton <[EMAIL PROTECTED]> wrote:

> I.e., if people really do want to go there, why not at least stay consistent
> with the HTML4/CSS2 media naming conventions?
>
>   http://www.w3.org/TR/html4/types.html#h-6.13
>   http://www.w3.org/TR/CSS2/media.html
>
> But instead of changing the rel value away from the perfectly reasonable
> "alternate", why not just add @media to the link?
>
> <link rel="alternate"
>       media="print"
>       type="text/html"
>       href="http://www.xml.com/?print=1"/>
>
> This is also where HTML5 is headed:
>
>   http://www.w3.org/html/wg/html5/#the-link
>

A while ago we discussed with people from mobile content publisher and
aggregator to make a standard to embed links to mobile optimized page
in XHTML, RSS and Atom. We named it Mobile Link Discovery and its
XHTML version is currently widely used including Google mobile search
engine.
http://www.sixapart.jp/docs/tech/mobile_link_discovery_en.html

This uses XHTML's standard link rel="alternate" tags with
media="handheld" attribute set. I guess using rel="print" here would
do the same thing to embed links to printer friendly links. Our spec
was focused on XHTML version and included a draft suggestion about
doing the same with <atom:link> but it turned out some feed parsers
just got confused with multiple atom:link rel="alternate" (and also
could be invalid if there are multiple links with the same MIME type
which we weren't aware at the time) and hence hasn't been widely used.


-- 
Tatsuhiko Miyagawa

Reply via email to