<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/python/tags/svg</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 21:33:39 GMT</pubDate>
<item>
<title>(Python) Simple SVG Streaming Server - weilawei</title>
<link>http://snipplr.com/view/64802/simple-svg-streaming-server/</link>
<description><![CDATA[ <p>This is a simple SVG streaming server, running on the bottle microframework. It has 3 utility functions which are used as decorators on routes. They enable timing a route, caching a route, and creating a route which provides a Cairo context which is then converted to a Base64 encoded data URL with an SVG image. In another snippet, I give the client-side implementation using HTML, Javascript/jQuery, and Canvas.

This sample can currently display a clock (clock.svg) (incorrectly rotated 90 degrees...but it wasn't enough of a priority to fix. it's just an example.), show a static line of text (window.svg), or serve static files (the necessary client-side JS and HTML).

The client is at http://snipplr.com/view/64803/simple-svg-streaming-client/.</p> ]]></description>
<pubDate>Mon, 07 May 2012 00:39:24 GMT</pubDate>
<guid>http://snipplr.com/view/64802/simple-svg-streaming-server/</guid>
</item>
</channel>
</rss>