Figured out how to hook into the main db functionality by including the relevant libraries in reports.php. Worked out how to extract parameters from the URL using the B2Evo param() function. Began building the SQL string we'll need to pass to the database to get back a list of posts. Found a number of difficulties; posts are not directly in blogs, they're associated with categories (through two different tables), and categories are associated with blogs. Got some way into it; more tomorrow.