Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Tweet marked up in xml

436 views

Published on

Published in: Technology, News & Politics
  • Login to see the comments

  • Be the first to like this

Tweet marked up in xml

  1. 1. Tweet Marked up in XML This tweet was fetched from the Twitter Search API using a PHP script. We searchedfor Tweets with a geographic boundary of twenty-five kilometers around a point inTripoli. The script returned JSON formatted results, which we then converted to XML. Incontrast to the eight Tweet fields captured in the HyperCities Egypt dataset, the Tweetmarked up below shows almost all of the fields that can be captured.1 <status> 1. <created_at>Tue May 31 03:57:36 +0000 2011</created_at> <id>75410574627971073</id> <text>New #NATO strikes as Kadhafi says ready for ceasefire - France24 http://f24.my/jX4XAL</text>* <source><a href="http://www.memesift.com" rel="nofollow">memesift</a></source> <truncated>false</truncated> <favorited>false</favorited> <in_reply_to_status_id/><in_reply_to_user_id/> <in_reply_to_screen_name/><retweet_count>0</retweet_count> <retweeted>false</retweeted> 2. <user> <id>236089495</id> <name>Defence World</name> <screen_name>DefenceWorld</screen_name> <location>UK</location> <description>The latest news on conflicts around the world, terrorism, foreign policy and the defence industry. Curated from global news sources.</description> <profile_image_url>http://a1.twimg.com/profile_images/1344393549/radar_normal.jp g</profile_image_url> <url>http://paper.li/DefenceWorld/paper</url> <protected>false</protected> <followers_count>432</followers_count> <profile_background_color>131516</profile_background_color> <profile_text_color>333333</profile_text_color> <profile_link_color>009999</profile_link_color> <profile_sidebar_fill_color>efefef</profile_sidebar_fill_color> <profile_sidebar_border_color>eeeeee</profile_sidebar_border_color> <friends_count>412</friends_count> <created_at>Sun Jan 09 19:45:46 +0000 2011</created_at>1 To view the script we used, download the following file:http://search.twitter.com/search.json?show_user=true&rpp=10&lang=en&geocode=32.85,13.21,25.0km
  2. 2. <favourites_count>0</favourites_count> <utc_offset/><time_zone/> <profile_background_image_url>http://a1.twimg.com/images/themes/theme14/bg.gif</pr ofile_background_image_url> <profile_background_tile>true</profile_background_tile> <profile_use_background_image>true</profile_use_background_image <notifications/> <geo_enabled>true</geo_enabled> <verified>false</verified> <following/><statuses_count>7349</statuses_count> <lang>en</lang> <contributors_enabled>false</contributors_enabled> <follow_request_sent/><listed_count>24</listed_count> <show_all_inline_media>false</show_all_inline_media> <default_profile>false</default_profile> <default_profile_image>false</default_profile_image> <is_translator>false</is_translator> </user> 3. <geo> <georss:point>32.90219879 13.18579960</georss:point> </geo> <coordinates><georss:point>32.90219879 13.18579960</georss:point></coordinates> <place/> <contributors/> 4. <entities><user_mentions/> <urls> <url end="87" start="67"> <url>http://f24.my/jX4XAL</url> <expanded_url/> </url> </urls> <hashtags> <hashtag end="9" start="4"> <text>NATO</text> </hashtag> </hashtags> </entities> </status> *Shortened URL within tweet text still renders - http://www.france24.com/en/20110531-new-nato-strikes-kadhafi-says-ready-ceasefire

×