FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 when to use atom constrcuts and atom tags? View next topic
View previous topic
Post new topicReply to topic
Author Message
honey101



Joined: 23 Nov 2009
Posts: 3

PostPosted: Tue Nov 24, 2009 12:35 am Reply with quoteBack to top

hello I just want to ask something if you don't mind... I am wondering when to use atom constructs and when to use the tags in atom 1.0?

for instance:

The "atom:entry" Element
atomEntry = element atom:entry {
atomCommonAttributes,
(atomAuthor*
& atomCategory*
& atomContent?
& atomContributor*
& atomId
& atomLink*
& atomPublished?
& atomRights?
& atomSource?
& atomSummary?
& atomTitle
& atomUpdated
& extensionElement*)
}

or just use this one instead?

<entry>
<title>Atom draft-07 snapshot</title>
<link rel="alternate" type="text/html"
href="http://example.org/2005/04/02/atom"/>
<link rel="enclosure" type="audio/mpeg" length="1337"
href="http://example.org/audio/ph34r_my_podcast.mp3"/>
<id>tag:example.org,2003:3.2397</id>
<updated>2005-07-31T12:29:29Z</updated>
<published>2003-12-13T08:29:29-04:00</published>
<author>
<name>Mark Pilgrim</name>
<uri>http://example.org/</uri>
<email>f8dy@example.com</email>
</author>
<contributor>
<name>Sam Ruby</name>
</contributor>
<contributor>
<name>Joe Gregorio</name>
</contributor>
<content type="xhtml" xml:lang="en"
xml:base="http://diveintomark.org/">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>[Update: The Atom draft is finished.]</p>
</div>
</content>
</entry>


thank you..

_________________
"In this fallen world, there is no such thing as perfect"
View user's profileVisit poster's website
honey101



Joined: 23 Nov 2009
Posts: 3

PostPosted: Tue Nov 24, 2009 12:36 am Reply with quoteBack to top

honey101 wrote:
hello I just want to ask something if you don't mind... I am wondering when to use atom constructs and when to use the tags in atom 1.0?

for instance:

The "atom:entry" Element
atomEntry = element atom:entry {
atomCommonAttributes,
(atomAuthor*
& atomCategory*
& atomContent?
& atomContributor*
& atomId
& atomLink*
& atomPublished?
& atomRights?
& atomSource?
& atomSummary?
& atomTitle
& atomUpdated
& extensionElement*)
}

or just use this one instead?

<entry>
<title>Atom draft-07 snapshot</title>
<link rel="alternate" type="text/html"
href="http://example.org/2005/04/02/atom"/>
<link rel="enclosure" type="audio/mpeg" length="1337"
href="http://example.org/audio/ph34r_my_podcast.mp3"/>
<id>tag:example.org,2003:3.2397</id>
<updated>2005-07-31T12:29:29Z</updated>
<published>2003-12-13T08:29:29-04:00</published>
<author>
<name>Mark Pilgrim</name>
<uri>http://example.org/</uri>
<email>f8dy@example.com</email>
</author>
<contributor>
<name>Sam Ruby</name>
</contributor>
<contributor>
<name>Joe Gregorio</name>
</contributor>
<content type="xhtml" xml:lang="en"
xml:base="http://diveintomark.org/">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>[Update: The Atom draft is finished.]</p>
</div>
</content>
</entry>


thank you..

_________________
"In this fallen world, there is no such thing as perfect"
View user's profileVisit poster's website
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme