gnu-social/plugins/OStatus/extlib/XML/Feed/samples/flickr.feed
Brion Vibber dc09453a77 First steps on converting FeedSub into the pub/sub basis for OStatus communications:
* renamed FeedSub plugin to OStatus
* now setting avatar on subscriptions
* general fixes for subscription
* integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly
* set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though)
* a few bits of code documentation
* HMAC support for verified distributions (safest if sub setup is on HTTPS)

And a couple core changes:
* minimizing HTML output for exceptions in API requests to aid in debugging
* fix for rel=self link in apitimelineuser when id given

This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions.
Needs some further cleanup to treat posts as status updates instead of link references.
2010-02-08 11:15:29 -08:00

184 lines
11 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title>jamesstewart - Everyone's Tagged Photos</title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/tags/jamesstewart/"/>
<link rel="icon" type="image/jpeg" href="http://www.flickr.com/images/buddyicon.jpg"/>
<info type="text/html" mode="escaped">A feed of jamesstewart - Everyone's Tagged Photos</info>
<modified>2005-08-01T18:50:26Z</modified>
<generator url="http://www.flickr.com/">Flickr</generator>
<entry>
<title>Oma and James</title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/30484029@N00/30367516/"/>
<link rel='enclosure' type="application/xml" href="http://james.anthropiccollective.org" />
<id>tag:flickr.com,2004:/photo/30367516</id>
<issued>2005-08-01T18:50:26Z</issued>
<modified>2005-08-01T18:50:26Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/30484029@N00/&quot;&gt;kstewart&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/30484029@N00/30367516/&quot; title=&quot;Oma and James&quot;&gt;&lt;img src=&quot;http://photos23.flickr.com/30367516_1f685a16e8_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;Oma and James&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have a beautiful Oma and a gorgeous husband.&lt;/p&gt;</content>
<author>
<name>kstewart</name>
<url>http://www.flickr.com/people/30484029@N00/</url>
</author>
<dc:subject>jamesstewart oma stoelfamily</dc:subject>
</entry>
<entry>
<title></title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/buddscreek/21376174/"/>
<id>tag:flickr.com,2004:/photo/21376174</id>
<issued>2005-06-25T02:00:35Z</issued>
<modified>2005-06-25T02:00:35Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/buddscreek/&quot;&gt;Lan Rover&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/buddscreek/21376174/&quot; title=&quot;&quot;&gt;&lt;img src=&quot;http://photos17.flickr.com/21376174_4314fd8d5c_m.jpg&quot; width=&quot;240&quot; height=&quot;160&quot; alt=&quot;&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;AMA Motocross Championship 2005, Budds Creek, Maryland&lt;/p&gt;</content>
<author>
<name>Lan Rover</name>
<url>http://www.flickr.com/people/buddscreek/</url>
</author>
<dc:subject>amamotocrosschampionship buddscreek maryland 2005 fathersday motocrossnational rickycarmichael 259 jamesstewart 4</dc:subject>
</entry>
<entry>
<title></title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/buddscreek/21375650/"/>
<id>tag:flickr.com,2004:/photo/21375650</id>
<issued>2005-06-25T01:56:24Z</issued>
<modified>2005-06-25T01:56:24Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/buddscreek/&quot;&gt;Lan Rover&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/buddscreek/21375650/&quot; title=&quot;&quot;&gt;&lt;img src=&quot;http://photos16.flickr.com/21375650_5c60e0dab1_m.jpg&quot; width=&quot;240&quot; height=&quot;160&quot; alt=&quot;&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</content>
<author>
<name>Lan Rover</name>
<url>http://www.flickr.com/people/buddscreek/</url>
</author>
<dc:subject>amamotocrosschampionship buddscreek maryland 2005 fathersday motocrossnational 259 jamesstewart</dc:subject>
</entry>
<entry>
<title></title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/buddscreek/21375345/"/>
<id>tag:flickr.com,2004:/photo/21375345</id>
<issued>2005-06-25T01:54:11Z</issued>
<modified>2005-06-25T01:54:11Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/buddscreek/&quot;&gt;Lan Rover&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/buddscreek/21375345/&quot; title=&quot;&quot;&gt;&lt;img src=&quot;http://photos15.flickr.com/21375345_4205fdd22b_m.jpg&quot; width=&quot;160&quot; height=&quot;240&quot; alt=&quot;&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</content>
<author>
<name>Lan Rover</name>
<url>http://www.flickr.com/people/buddscreek/</url>
</author>
<dc:subject>amamotocrosschampionship buddscreek maryland 2005 fathersday motocrossnational 259 jamesstewart</dc:subject>
</entry>
<entry>
<title>Lunch with Kari &amp; James, café in the crypt of St Martin in the fields</title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/fidothe/16516618/"/>
<id>tag:flickr.com,2004:/photo/16516618</id>
<issued>2005-05-30T21:56:39Z</issued>
<modified>2005-05-30T21:56:39Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/fidothe/&quot;&gt;fidothe&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/fidothe/16516618/&quot; title=&quot;Lunch with Kari &amp;amp; James, café in the crypt of St Martin in the fields&quot;&gt;&lt;img src=&quot;http://photos14.flickr.com/16516618_afaa4a395e_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;Lunch with Kari &amp;amp; James, café in the crypt of St Martin in the fields&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</content>
<author>
<name>fidothe</name>
<url>http://www.flickr.com/people/fidothe/</url>
</author>
<dc:subject>nokia7610 london stmartininthefields clarepatterson jamesstewart parvinstewart jimstewart susanstewart</dc:subject>
</entry>
<entry>
<title>Stewart keeping it low over the obstacle.</title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/pqbon/10224728/"/>
<id>tag:flickr.com,2004:/photo/10224728</id>
<issued>2005-04-21T07:30:29Z</issued>
<modified>2005-04-21T07:30:29Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/pqbon/&quot;&gt;pqbon&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/pqbon/10224728/&quot; title=&quot;Stewart keeping it low over the obstacle.&quot;&gt;&lt;img src=&quot;http://photos7.flickr.com/10224728_b756341957_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;Stewart keeping it low over the obstacle.&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</content>
<author>
<name>pqbon</name>
<url>http://www.flickr.com/people/pqbon/</url>
</author>
<dc:subject>ama hangtown motocross jamesstewart bubba</dc:subject>
</entry>
<entry>
<title>king james stewart</title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/jjlook/7152910/"/>
<id>tag:flickr.com,2004:/photo/7152910</id>
<issued>2005-03-22T21:53:37Z</issued>
<modified>2005-03-22T21:53:37Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/jjlook/&quot;&gt;jj look&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/jjlook/7152910/&quot; title=&quot;king james stewart&quot;&gt;&lt;img src=&quot;http://photos7.flickr.com/7152910_a02ab5a750_m.jpg&quot; width=&quot;180&quot; height=&quot;240&quot; alt=&quot;king james stewart&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;11th&lt;/p&gt;</content>
<author>
<name>jj look</name>
<url>http://www.flickr.com/people/jjlook/</url>
</author>
<dc:subject>dilomar05 eastside austin texas 78702 kingjames stewart jamesstewart borrowed</dc:subject>
</entry>
<entry>
<title>It's a Grind, downtown Grand Rapids (James, Susan, Jim, Harv, Lawson)</title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/fidothe/1586562/"/>
<id>tag:flickr.com,2004:/photo/1586562</id>
<issued>2004-11-20T09:34:28Z</issued>
<modified>2004-11-20T09:34:28Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/fidothe/&quot;&gt;fidothe&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/fidothe/1586562/&quot; title=&quot;It's a Grind, downtown Grand Rapids (James, Susan, Jim, Harv, Lawson)&quot;&gt;&lt;img src=&quot;http://photos2.flickr.com/1586562_0bc5313a3e_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;It's a Grind, downtown Grand Rapids (James, Susan, Jim, Harv, Lawson)&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</content>
<author>
<name>fidothe</name>
<url>http://www.flickr.com/people/fidothe/</url>
</author>
<dc:subject>holiday grandrapids jamesstewart</dc:subject>
</entry>
<entry>
<title>It's a Grind, downtown Grand Rapids (James, Susan, Jim, Harv, Lawson)</title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/fidothe/1586539/"/>
<id>tag:flickr.com,2004:/photo/1586539</id>
<issued>2004-11-20T09:28:16Z</issued>
<modified>2004-11-20T09:28:16Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/fidothe/&quot;&gt;fidothe&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/fidothe/1586539/&quot; title=&quot;It's a Grind, downtown Grand Rapids (James, Susan, Jim, Harv, Lawson)&quot;&gt;&lt;img src=&quot;http://photos2.flickr.com/1586539_c51e5f2e7a_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;It's a Grind, downtown Grand Rapids (James, Susan, Jim, Harv, Lawson)&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</content>
<author>
<name>fidothe</name>
<url>http://www.flickr.com/people/fidothe/</url>
</author>
<dc:subject>holiday grandrapids jamesstewart</dc:subject>
</entry>
<entry>
<title>It's a Grind, James and Jim can't decide)</title>
<link rel="alternate" type="text/html" href="http://www.flickr.com/photos/fidothe/1586514/"/>
<id>tag:flickr.com,2004:/photo/1586514</id>
<issued>2004-11-20T09:25:05Z</issued>
<modified>2004-11-20T09:25:05Z</modified>
<content type="text/html" mode="escaped">&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/people/fidothe/&quot;&gt;fidothe&lt;/a&gt; posted a photo:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flickr.com/photos/fidothe/1586514/&quot; title=&quot;It's a Grind, James and Jim can't decide)&quot;&gt;&lt;img src=&quot;http://photos2.flickr.com/1586514_733c2dfa3e_m.jpg&quot; width=&quot;240&quot; height=&quot;180&quot; alt=&quot;It's a Grind, James and Jim can't decide)&quot; style=&quot;border: 1px solid #000000;&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
</content>
<author>
<name>fidothe</name>
<url>http://www.flickr.com/people/fidothe/</url>
</author>
<dc:subject>holiday grandrapids jamesstewart johnkentish</dc:subject>
</entry>
</feed>