Custom Dashdboard Widget not working

Please provide an example of the PHP code behind your image of the "finished" Edublogs example in the usage section.

I've tried a dozen different ways to produce something similar and all it keeps doing is stringing everything together in one long sentence.