Added function to pull blog posts from SQLite3 database.