Hi all,

I Was thinking today, wondering if it would be possible to create theme for Drupal that renders output completly in SVG? With SVG coming built in the next Firefox, more and more people will begin incorporating SVG into their websites.

This is not very pratical, I know, but creating a theme like this could really demonstrate the flexibility of Drupal as more than just an HTML content managment system... Drupal could be the ultimate XML engine.

Anyone else thought about this?

Comments

ghankstef’s picture

I'm a big fan of xslt (essentially stylesheets for xml). They let you convert one kind of xml into another xml format - xhtml, rss, wml, svg and even pdf are possible. IE 6 and Firexfox/Mozilla can already render xslt stlyesheets so you can essentially offload this part to the client

This is the "theming engine" behind some CMS project (Apache Lenya for example).

I'd love to see a drupal theme engine that uses xml/xslt. Maybe I'll work on it at some point but I'm still just getting my feet wet with Drupal

naught101’s picture

This is a brilliant idea. I just thought of it too, nice to see someone's ahead of me :)

I would eventually love to see the entire web based on svg - diagrams are an awesome way to communicate, and html just doesn't do it.

An svg-based theme with CSS (http://www.w3.org/TR/SVG11/styling.html#StylingWithCSS) would make a great second theme for a website - ie. the default theme is a normal html theme, but users can choose to use and svg theme (that, ofcourse, is WAAAY better :) )