Skip to content

Instantly share code, notes, and snippets.

@gnippy
Created January 14, 2014 21:31
Show Gist options
  • Select an option

  • Save gnippy/8426156 to your computer and use it in GitHub Desktop.

Select an option

Save gnippy/8426156 to your computer and use it in GitHub Desktop.
VK Post (Activity Streams Format)
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:service="http://activitystrea.ms/service-provider" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:gnip="http://www.gnip.com/schemas/2010" xmlns:atommedia="http://purl.org/syndication/atommedia">
<id>-56442684-1389729639-912</id>
<published>2014-01-14T20:00:39Z</published>
<updated>2014-01-14T20:00:39Z</updated>
<title>Surf's up ™ posted a note to VK</title>
<category term="NotePosted" label="Note Posted"/>
<link rel="alternate" type="text/html" href="https://vk.com/wall-56442684_912"/>
<source>
<link rel="self" type="application/json" href="https://api.vk.com/method/newsfeed.search?q=sochi&count=100&extended=1"/>
<title>VK - Keyword - Search - sochi</title>
<updated>2014-01-14T21-26-37Z</updated>
<gnip:rule xmlns:gnip="http://www.gnip.com/schemas/2010">sochi</gnip:rule>
</source>
<service:provider>
<name>VK</name>
<uri>www.VK.com</uri>
</service:provider>
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
<activity:object>
<activity:object-type>http://activitystrea.ms/schema/1.0/note</activity:object-type>
<id>-56442684-1389729639-912</id>
<content>
Мотивирует! Thank You, Mom!<br>#Sochi #Olympic #Winter #Motivation
</content>
<link rel="alternate" type="text/html" href="https://vk.com/wall-56442684_912"/>
<link rel="preview" href="http://cs607723.vk.me/u148280674/video/s_cb4a5a09.jpg"/>
<gnip:statistics favoriteCount="2"/>
<link rel="enclosure" type="video" href="https://vk.com/video-56442684_167438913" preview="http://cs607723.vk.me/u148280674/video/s_cb4a5a09.jpg" atommedia:duration="121"/>
</activity:object>
<author>
<name>Surf's up ™</name>
<uri>http://vk.com/surfs_u</uri>
</author>
<activity:actor>
<activity:object-type>http://activitystrea.ms/schema/1.0/organization</activity:object-type>
<link rel="alternate" type="text/html" length="0" href="http://vk.com/surfs_u"/>
<link rel="avatar" href="http://cs320431.vk.me/v320431317/4bdc/t-ACGJ3Cb3o.jpg"/>
<id>56442684</id>
</activity:actor>
<gnip:matching_rules>
<gnip:matching_rule rel="source">sochi</gnip:matching_rule>
</gnip:matching_rules>
</entry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment