Page 1 of 1

RSS Aggregator & enclosures

Posted: Mon Mar 23, 2009 10:37 am
by Tscherno
Hi,

i'm using the RSS Aggregator Plugin to parse my Stumble Upon Comments to fill my Blog. I've just seen that stumbleupon is now putting a little thumbnail as enclosure into the feed:
http://www.stumbleupon.com/syndicate.ph ... comments=1

Is it possible to use them with the plugin and put it also in each blog post?

Re: RSS Aggregator & enclosures

Posted: Mon Mar 23, 2009 12:51 pm
by garvinhicking
Hi!

Not really. You would need to patch the plugin to check those XML fields, and put it into whatever field you might need/want.

The core problem is that enclosed XML elements use the value as an attribute, and not as a XML field value. This is really an abuse of how XML should be used like; Onyx and other parsers really give you trouble when fetching attributes. Otherwise, you would just have added $item['enclosure'] to the $entry['body'] field and be happy with...

Regards,
Garvin