This script retrieves posts tagged with a specific term from tumblr (the /tagged API endpoint documented here) and creates:
Source code and some documentation are available here.