diff options
Diffstat (limited to 'doc/examples/example.rss')
| -rw-r--r-- | doc/examples/example.rss | 101 | 
1 files changed, 101 insertions, 0 deletions
| diff --git a/doc/examples/example.rss b/doc/examples/example.rss new file mode 100644 index 0000000..b3cef4a --- /dev/null +++ b/doc/examples/example.rss @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="UTF-8"?> +<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"> +<channel> +  <title>My Totally Awesome Piccast</title> +  <link>http://example.com/</link> +  <description>Photos by shade of color... golly!</description> +  <category>Art</category> +  <media:content  +      url="http://example.com/icon.png" +      fileSize="123456" +      type="image/png" +      medium="image" +      height="256" +      width="256" +  /> +   +  <item> +    <title>Green Images</title> +    <description>A whole bunch of images... all are green!</description> +    <link>http://example.com/2011/04/green-images/</link> +    <pubDate></pubDate> +    <media:group> +      <media:content +          isDefaul="true" +          url="http://example.com/static/abc123.png" +          filesize="123456" +          type="image/png" +          medium="image" +          height="1024" +          width="768" > +        <media:thumbnail +            url="http://example.com/static/abc123_thumb.png" +            height="256" +            width="256" /> +      </media:content> +      <!-- an alternative media:content could go here as a mirror --> +      <link>http://example.com/2011/04/green-images/#img2</link> +      <media:title>A big green apple</media:title> +      <media:description>It's a granny smith from the UK</media:description> +      <media:rating scheme="urn:simple">nonadult</media:rating> +      <media:rating scheme="urn:nsfw">sfw</media:rating> +      <media:hash>5b3674eaba15b3674eaba1bb</media:hash> +      <media:credit role="photographer">Some Person</media:credit> +    </media:group> +    <media:group> +      <media:content +          isDefaul="true" +          url="http://example.com/static/abc123.png" +          filesize="123456" +          type="image/png" +          medium="image" +          height="1024" +          width="768" > +        <media:thumbnail +            url="http://example.com/static/abc123_thumb.png" +            height="256" +            width="256" /> +      </media:content> +      <!-- an alternative media:content could go here as a mirror --> +      <link>http://example.com/2011/04/green-images/#img2</link> +      <media:title>A big green apple</media:title> +      <media:description>It's a granny smith from the UK</media:description> +      <media:rating scheme="urn:simple">nonadult</media:rating> +      <media:rating scheme="urn:nsfw">sfw</media:rating> +      <media:hash>5b3674eaba15b3674eaba1bb</media:hash> +      <media:credit role="photographer">Some Person</media:credit> +    </media:group> +  </item> + +  <item> +    <title>Red Images</title> +    <description>A whole bunch of images... all are red!</description> +    <link>http://example.com/2011/04/red-images/</link> +    <pubDate></pubDate> +    <media:group> +      <media:content +          isDefaul="true" +          url="http://example.com/static/abc123.png" +          filesize="123456" +          type="image/png" +          medium="image" +          height="1024" +          width="768" > +        <media:thumbnail +            url="http://example.com/static/abc123_thumb.png" +            height="256" +            width="256" /> +      </media:content> +      <!-- an alternative media:content could go here as a mirror --> +      <link>http://example.com/2011/03/red-images/#img2</link> +      <media:title>A big red apple</media:title> +      <media:description>It's not a granny smith from the UK</media:description> +      <media:rating scheme="urn:simple">nonadult</media:rating> +      <media:rating scheme="urn:nsfw">sfw</media:rating> +      <media:hash>5b3674eaba15b3674eaba1bb</media:hash> +      <media:credit role="photographer">Some Person</media:credit> +    </media:group> +  </item> + +</channel> +</rss> | 
