Blog2004 ≫ RSS Enclosure malarkey

Trying to put enclosures in my RSS using XML::RSS, but no matter what I try to add, the enclosure is ignored...

%item = (
  'enclosure' => {
    'type' => '[text/html](/wiki/#html)',
    'length' => '877',
    'url' => 'http://www.lauraashley.com/'
  },
  'link' => 'http://www.clarkeology.com/stokey/22/12/',
  'description' => 'Just trying to get a catalogue from lauraashley.com...',
  'pubDate' => 'Tue, 2 Nov [2004](/wiki/#2004) 13:41:33 GMT',
  'permaLink' => 'http://www.clarkeology.com/stokey/22/12/',
  'title' => 'If you [blog](/wiki/#blog) it, they will come'
)
$[rss](/wiki/#rss)->add_item( %item );

The item's added every time, but the enclosure is ignored... are enclosures not supported in [RSS](/wiki/#rss) 2.0? It's driving me mad...

💬 RSS

⬅️ :: ➡️

Paul Clarke's blog - I live in Hythe near Folkestone. Married to Clare and father to two, I'm a full stack web engineer, + I do js / Node, some ruby, python, php ect ect. I like pubbing, running, eating, home-automation and other diy jiggery-pokery, history, family tree stuff, TV, squirrels, pirates, lego, and TIME TRAVEL.