The atom and the rss skins are treated the same way by
stripping off images and hyperlinks though in atom
content text can be specified as xhtml.
Using rss any html markup interferes with the rss namespace but not
so in atom.
Using rss any markup can been encoded. In general
there's no need to do that for atom. If you do so for atom (as the specs still allow)
today's news readers do
not revert the encoding and recover the correct html.
I dunno why.
What we can do:
- The
$minimalist
flag in TWiki::UI::View.pm
should only be set for rss and not for atom.
- the WebAtomBase should be enhanced to make use of the xhtml content type
MD
It can get tricky if we add rendered XHTML to the mix since it needs to be closed properly. For example, take the first 100 characters as the summary, format it to XHTML: There is an issue if you cut off a closing tag, such as a
form
,
a
,
table
tag. The diffs script does that, but there are still cases where it fails to form nice XHTML.
--
PTh