I wrote a number of plugins and every time I review the code of them I found someting can be improved or adjusted. I’m not talking about bugs but different way to implement the plugin actions. This tutorial will be a set of post where I dissect “my way to write a plugin”. I don’t think it’s the best, most complete tutorial, but it m ay be useful… so… lets start.
Before all we need to decide the plugin purpose, it’s features, it’s limits. I want to write a very (very) simple plugin to generate a very (very) simple XML sitemap of this blog. As you know there are such kind of plugins, there is no need to write a new one, but this is a tutorial!