Take a look at the demo content in 0.9.6 for a great example.
Thanks for the quick reply Mark, what demo code are you referring to?
I’ve just downloaded version 2.0 - am I going down the right path?
Do you have an example of a ditto call which takes a year and month as input parameters and outputs an archive list of all the articles just in that month?