Don’t call me DOM

5 March 2010

Native Apps vs mobile Web

Yesterday night, I was participating to a BarCamp in Sophia-Antipolis (where W3C European offices are located) on the “mobile Internet” theme.

Among the topics that were discussed, one theme popped up in several of the sessions I took part to: the differences between “native” mobile applications and mobile Web sites, in particular to answer the question that a number of people asked on which path they should choose for their content or service.

3 March 2010

Timeline in SVGs

Filed under:

I wrote a year ago an XSLT style sheet that can be handy in creating graphical timelines: it takes a simple XML file describing the said timeline, and turns it into an SVG image.

The XML file should look like:

<timeline>
  <start>2009-01-01</start>
  <end>2009-12-31</end>
  <line>
   <bar><start>2009-01</start><end>2009-05</end><name>Task A.1</name></bar>
   <bar><start>2009-07</start><end>2009-10</end><name>Task A.2</name></bar>

  </line>
  <line>
   <bar><start>2009-01</start><end>2009-08</end><name>Task B</name></bar>
  </line>

</timeline>

And turns it into an SVG timeline that looks like:

Rendering of the XML timeline above

It could use some graphical enhancements, a better SVG markup, and many other improvements, but since I already had a couple of occasions to use it for my own purposes, I’m assuming it might serve as useful inspiration for others who would need something similar.

Picture of Dominique Hazael-MassieuxDominique Hazaël-Massieux (dom@w3.org) is part of the World Wide Web Consortium (W3C) Staff; his interests cover a number of Web technologies, as well as the usage of open source software in a distributed work environment.