People that include the full text in their RSS 2.0 feed instead of just
an automatically truncated "excerptoid" make me happy. However,
including the full text in a while still
keeping the exceptoid in the makes me sad. I'm not
even sure what the motivation is to having ,
since as far as I know you can put that sort of thing in an RSS 2.0
just fine.
So, I finally got around to doing something about it.
In Radio, I've gone into xml.rss.compileService and added this bundle:
bundle { //use content:encoded if possible
try{contentEncoded=xml.getAddress(item,"encoded")};
if defined(contentEncoded) {
cdata=decode(contentEncoded^.["/cdata"]);
if sizeOf(cdata)>sizeOf(description) {
description=cdata}}}
I'm sure this is a completely unsafe way of grabbing a
out of the xmlstruct, but hey... it works so
far!
8:56:36 PM
Categories: Radio
|