abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: XHTML Content
Date Tue, 27 Jun 2006 14:52:20 GMT
The spec also says that applications can use the div to aid in
displaying the content.  What I would prefer is that abdera simply treat
the div as content and let the application using abdera do the right
thing with it.

- James

Stephen Duncan wrote:
>> From the spec: "The XHTML div element itself MUST NOT be considered
> part of the content."
> http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.4.1.3.3.p.1
> 
> 
> How should Abdera help people handle this?  Should getContent return
> only the content inside the div (It currently includes the div)?
> Should setContentAsXhtml(String) provide the surrounding div instead
> of requiring is as part of the string?  Should there be a
> getContentAsHtml?  If so, would this also be where relative uri's
> could be resolved?
> 

Mime
View raw message