splitbrain / dokuwiki-plugin-ditaa

Renders ASCII flowcharts contained in a DokuWiki page to images
http://www.dokuwiki.org/plugin:ditaa
5 stars 5 forks source link

Use an action plugin instead of the simple img.php #12

Closed gamma closed 9 years ago

gamma commented 9 years ago

The problem was that the rendered ditaa file disappeared with the cache and was not re-rendered when accessed. Now we bind the ditaa to the current page, via metadata, and access it via the md5 hash. This way we can easily create the image without knowing if the page still has a valid cache file for the ditaa (we simply recreate that as needed).