XML RSS 0.91 elements visualization - SVG generation with php

This example shows how to create a simple SVG graphic with an arbitrary amount of RSS items read from a URL and drawn around along an arc you can define. XML items are read via Simple XML (so you need PHP 5 to run this !). Radius will adapt to number of elements, but you can manually tune things. Drawing starts to right of the circle (unless you change the start angle) and continues clockwise. If you use more than 20 elements make the radius multiplier very small or else you have to pan the image to see the elements (Alt-mousedrag in SVG viewer)). If you empty input fields results are undetermined (this simple example code, that you can easily fix)

THIS EXAMPLE DOESN'T WORK ANYMORE ON OUR LIVE SERVER .... for security reasons - DKS 2011

To have a look at the source code, please simply consult the current directory and lock at either *.phps or *.text files with the same name. You also can look at a simpler example: elements-on-arc-with-php.php

Select a RSS 0.91 feed:
Center of circle: x = y =
radius multiplier = (multiplier * number of elements = radius of the circle)
Words / line = (words / line)
Display angle = (by default a half circle in degrees: 180)
Start angle = (start position of arc in degrees: 0 to 360)
Show spikes ?

D.K.S. - April 2005