tags:

views:

57

answers:

1

How do I add extra data into an atom feed that does not map into the standard entry nodes (title, link, id, updated, summary)? Is it possible to add my own custom xml here and still be compliant with the spec?

+2  A: 

There are several different ways documented at http://www.atomenabled.org/developers/syndication/atom-format-spec.php#extending_atom.

You can add extension elements at the end of your atom:entry.

<atom:entry>
   <!--- all the normal stuff --->
   <mything:Thing xmlns:mything="http://example.com/example.xsd"&gt;
      <!--- whatever --->
   </mything:Thing>
</atom:entry>
Doug McClean
thanks I'll read the spec now
NabilS