rexml/httpwrite, why must you mock me?

Grant Hollingworth grant at antiflux.org
Tue Sep 27 08:55:26 EDT 2005


* why the lucky stiff <why at hobix.com> [2005-09-27 00:36]:
> Regarding the rewrite of non-HTML goods, maybe a `mime_type' directive 
> or `allow_non_html' directive?

Two MIME type directives might be needed: one to state the type the URI
will return (default text/html), and one for the type the feed should be
treated as.  The second would be mostly for RSS feeds, which are
notorious (well, in some circles) for using text/xml or even text/plain.

FeedTools (or similar) could handle application/atom+xml
and application/rss+xml (and whatever other feed types there are) while
REXML would take application/xml and text/xml (and whatever other plain
XML types).


More information about the Mousehole-scripters mailing list