Changed a few regex to cope with changes to Folksy markup.
Added hard limit to the number of pages requested.