W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Problems with the Atom Conversion algorithm.

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 9 Aug 2010 19:11:10 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1008091822510.13495@ps20323.dreamhostps.com>
On Fri, 11 Jun 2010, Tab Atkins Jr. wrote:
> 
> 1. The HTML algo puts the url for atom:link elements in the content of 
> the <link>.  It should be in the @href of the <link>.

Fixed.


> 3. The HTML algo sets the @type attribute on atom:content to "xml" in 
> some circumstances.  It should be "xhtml".

Fixed.


> 4. The HTML algo should include an <xml:base> element in the produced 
> feed so that relative links work correctly.

Done. (Note: there's no such thing as an xml:base element, it's an 
attribute.)


> 5. I'm not 100% certain on this one, but I think that, in the current
> step 15.8 of the HTML algo, it should produce a <div> element in the
> XHTML namespace.

As far as I can tell, it does.


> The algo currently doesn't specify a namespace for the element.

Which element?


On Fri, 11 Jun 2010, Edward O'Connor wrote:
> >
> > 2. The <title> of atom entries is constrained to contain text only,
> 
> That's not quite right. <atom:title> is an Atom Text Construct, which, 
> despite having the word 'text' in its name, can contain all sorts of 
> things. <atom:title> is the same as <atom:summary>, <atom:content>, and 
> <atom:rights>, so the algo should handle it in the same way as it does 
> <atom:content>.

Fixed, I think.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 9 August 2010 12:11:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC