This project has moved. For the latest updates, please go here.

Getting 'blog' comments and posts

May 15, 2012 at 11:03 PM
Edited May 15, 2012 at 11:09 PM

Is it possible to use SPServices to get comments and posts from a blog workspace?

I have a webpart site, and I would like to use SPServices to extract text for the latest posts in a similar way that you would use GetListItems to extract data from lists and display in a CEWP.

If it is possible can someone point me to an example of how this can be done - and any information on any challenges with accessing blog data from a webpart in sharepoint with SPServices.

(I guess I could always use a basic RSS reader in a CEWP as a worst case - but would like the flexibility of using SPServices)

Appreciate any feedback


May 16, 2012 at 2:43 AM

Sure. Posts in a blog site are stored in a list called Posts and the comments are stored in a list called Comments. You can retreive those items in the same way as any others with GetListItems.


May 16, 2012 at 5:54 AM

Many thanks - sounds so obvious now!