On the normal drupal feed (rss) the attachment (image, files, etc) are present in the feed when you select "full node display" but not with atom feed.
The rss feed:
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://widget.pierrecrot.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Migro widget - </title>
<link>http://widget.pierrecrot.com</link>
<description></description>
<language>en</language>
<item>
<title>Action 2</title>
<link>http://widget.pierrecrot.com/?q=node/2</link>
<description><p>Hello sdflj sdf</p>
</description>
<comments>http://widget.pierrecrot.com/?q=node/2#comments</comments>
<pubDate>Wed, 02 Apr 2008 06:41:51 -0600</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">2 at http://widget.pierrecrot.com</guid>
</item>
<item>
<title>Actions 1</title>
<link>http://widget.pierrecrot.com/?q=node/1</link>
<description><p>Mon action</p>
</description>
<enclosure url="http://widget.pierrecrot.com/files/aboutus.jpg" length="59724" type="image/jpeg" /> ## HERE AN ATTACHMENT ##
<pubDate>Wed, 02 Apr 2008 06:25:06 -0600</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">1 at http://widget.pierrecrot.com</guid>
</item>
</channel>
</rss>
The atom feed:
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Migro widget</title>
<link rel="alternate" type="text/html" href="http://widget.pierrecrot.com"/>
<link rel="self" type="application/atom+xml" href="http://widget.pierrecrot.com/?q=atom/feed"/>
<id>http://widget.pierrecrot.com/?q=atom/feed</id>
<updated>2008-04-02T06:39:58-06:00</updated>
<entry>
<title>Action 2</title>
<link rel="alternate" type="text/html" href="http://widget.pierrecrot.com/?q=node/2" />
<id>http://widget.pierrecrot.com/?q=node/2</id>
<published>2008-04-02T06:41:51-06:00</published>
<updated>2008-04-02T06:41:51-06:00</updated>
<author>
<name>admin</name>
</author>
<summary type="html"><![CDATA[<p>Hello sdflj sdf</p>
]]></summary>
<content type="html"><![CDATA[<p>Hello sdflj sdf</p>
]]></content>
</entry>
<entry>
<title>Actions 1</title>
<link rel="alternate" type="text/html" href="http://widget.pierrecrot.com/?q=node/1" />
<id>http://widget.pierrecrot.com/?q=node/1</id>
<published>2008-04-02T06:25:06-06:00</published>
<updated>2008-04-02T06:39:58-06:00</updated>
<author>
<name>admin</name>
</author>
<summary type="html"><![CDATA[<p>Mon action</p>
]]></summary>
<content type="html"><![CDATA[<p>Mon action</p>
]]></content>
</entry>
</feed>
I use the feed to communicate with a flash widget so i need the image...
Thanks for your module :)
Comments
Comment #1
deekayen commentedValid request.
[insert standard "I'm busy" statement here] I don't know when I'll get to it.
Comment #2
gagarine commentedThanks :)
Comment #3
dave reid99% sure that #579286: XML output completely broken and nodes rendered incorrectly is the underlying problem.