Skip to content

Instantly share code, notes, and snippets.

@robjohnson
Created November 18, 2010 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robjohnson/705443 to your computer and use it in GitHub Desktop.
Save robjohnson/705443 to your computer and use it in GitHub Desktop.
Tweet from Gnip in XML Activity Streams
<entry xmlns="http://www.w3.org/2005/Atom">
<id>tag:search.twitter.com,2005:18935866023</id>
<published>2010-07-19T18:37:51Z</published>
<updated>2010-07-19T18:37:51Z</updated>
<title>hobbesjobs (Chris Nelson) posted a note on Twitter</title>
<summary type="html">"Burger King Corporation makes no claim that any product meets the requirements of a vegetarian diet." This includes THEIR VEGGIE BURGER!</summary>
<category term="StatusPosted" label="Status Posted"/>
<category term="NotePosted" label="Note Posted"/>
<link rel="alternate" type="text/html" href="http://twitter.com/hobbesjobs/statuses/18935866023"/>
<source>
<link rel="self" type="application/atom+xml" href="http://search.twitter.com/search.atom?q=product&rpp=99&since_id=18935866023"/>
<title>Twitter - Keyword - Notices - product</title>
<updated>2010-07-19T11-37-59Z</updated>
</source>
<service:provider xmlns:service="http://activitystrea.ms/service-provider">
<name>Twitter</name>
<uri>http://www.twitter.com/</uri>
<icon/>
</service:provider>
<activity:verb xmlns:activity="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</activity:verb>
<activity:object xmlns:activity="http://activitystrea.ms/spec/1.0/">
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
<id>object:tag:search.twitter.com,2005:18935866023</id>
<content type="html">"Burger King Corporation makes no claim that any <b>product</b> meets the requirements of a vegetarian diet." This includes THEIR VEGGIE BURGER!</content>
<link rel="alternate" type="text/html" href="http://twitter.com/hobbesjobs/statuses/18935866023"/>
</activity:object>
<author>
<name>hobbesjobs</name>
<uri>http://twitter.com/hobbesjobs</uri>
</author>
<activity:author xmlns:activity="http://activitystrea.ms/spec/1.0/">
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
<link rel="alternate" type="text/html" length="0" href="http://twitter.com/hobbesjobs"/>
<link rel="avatar" type="image/png" href="http://a0.twimg.com/profile_images/1039463968/7bbf6359-7425-4440-af71-ac8fc6d8f6e4_normal.png"/>
<id>http://twitter.com/hobbesjobs</id>
</activity:author>
<activity:actor xmlns:activity="http://activitystrea.ms/spec/1.0/">
<activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
<link rel="alternate" type="text/html" length="0" href="http://twitter.com/hobbesjobs"/>
<link rel="avatar" type="image/png" href="http://a0.twimg.com/profile_images/1039463968/7bbf6359-7425-4440-af71-ac8fc6d8f6e4_normal.png"/>
<id>http://twitter.com/hobbesjobs</id>
</activity:actor>
</entry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment