<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id><title>Brasil</title><summary type="plain/text">Brasil, an amazing country.</summary><content type="application/xhtml"><xh:div> <b>Brasil</b> é um país muito bonito... e a melhor cidade é a de <b>São Paulo</b> ...</xh:div></content><link rel="credit-cards" type="application/atom+xml&profile=""> href="">"http://destination.example.com/destination/brazil/credit-cards"/></entry>or
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id><title>Brasil</title><summary type="plain/text">Brasil, an amazing country.</summary><content type="application/xhtml"><xh:div> <b>Brasil</b> é um país muito bonito... e a melhor cidade é a de <b>São Paulo</b> ...</xh:div></content><d:category><d:type>COUNTRY</d:type></d:category><link rel="credit-card" type="application/atom+xml&profile=""> href="">"http://destination.example.com/credit-card/amex"/><link rel="credit-card" type="application/atom+xml&profile=""> href="">"http://destination.example.com/credit-card/visa"/><link rel="credit-card" type="application/atom+xml&profile=""> href="">"http://destination.example.com/credit-card/mastercard"/></entry>
Julio,
I am afraid you need to provide more context....I don't get what you want to do.
Jan
-----------------------------------
On Feb 2, 2010, at 11:33 AM, Julio Lima wrote:
> Hi,
> I'm working on a atom-entry spec for a "destination" feed. This
> destination has relation with "credit-card" (all credit cards usually
> accepted on that destination). Of course, one destination may have
> more than one credit card associated.
> So I thought on two different approaches :
>
> First one, listing all links direct on entry (destination.xml) and
> another way is to link to a entry point that list all credit cards
> accepted by a destination (destination2.xml) :
>
> https://gist.github.com/5a38922984fd94398012
> Which one would you use? Any pros & cons ?
>
> Thanks a lot!
> Julio
>
Jan Algermissen, Consultant
NORD Software Consulting
Mail: algermissen@xxxxxxx
Blog: http://www.nordsc.com/blog/
Work: http://www.nordsc.com/
-----------------------------------