Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Son of BartleBlog XIII: your blog software doesn't do this

The nerdi­est fea­ture of all time... sim­ple SVN logs.

Here's the RST code:

.. svnlog:: https://ra-blog.googlecode.com/svn/trunk/
  :limit: 3

And here is what it does:



You can see the en­tries are nice­ly for­mat­ted. That's be­cause this re­struc­tured text di­rec­tive con­nects to your SVN server, re­trieves the changel­og, pars­es it, tries to process the in­di­vid­u­al en­tries as re­struc­tured tex­t, and then for­mats and spits it out again.

I de­cid­ed to add the re­cur­sive pars­ing be­cause I tend to for­mat ev­ery­thing I write as valid re­struc­tured text any­way. But that means I can in­clude im­ages, ta­bles, files, and even oth­er logs in my en­tries.

How is it use­ful? Well, I in­tend to have my pro­ject­s' pages writ­ten us­ing this. This way I don't need to keep a changel­og.

Al­so, I bet the ti­tle is right ;-)


Contents © 2000-2024 Roberto Alsina