25 September 2009

what is Distro XML

Long time ago I came to know about Linux Family Tree graph.
Ex -

But most of the images are in png format. If somebody want to add a new Distro inside it will be difficult.

So here is a solution :
One can comeup with writing xml file for all Distro like

<Distro id="fedora11">
<dateofrelease month"6" date="9" year="2009"/>

one can get long list of distro's information on

If we can prepare such xml file for all distro then it will be easy to convert them to svg or png format. This Distro XML file can be used used along with XSLT transformation to generate svg image. This file can be use to process that how many distro use kernel 2.6 and up. Or one can plot number of Distros vs Time graph by 10 lines of jQuery Code.


Jeff Schiller said...

I like your XSLT idea, but that may be overkill.

Our own Fyrd/Alexis is one of the maintainers of this document: which is obviously similar in nature.

Narendra Sisodiya said...

Thanks Jeff, I was not knowing Fyrd/Alexis is the maintainer. (we are so much like minded ). One can directly "Get/POST" distro xml file and parse it using jQuery and generate svg/png(canvas) images on browser too. There will be one more advantage : Every Distro can publish their distroinfo.xml file and all such file can be easily combined as one image. I see Distroxml file "Business Card" of a Distro.

Narendra Sisodiya said...

Good news. idea of DistroXML has taken in the form of project - Here is the link - Thanks to "Jeppe Toustrup" for trusting idea.