Getting 'blog' comments and posts

May 16, 2012 at 12:03 AM
Edited May 16, 2012 at 12:09 AM

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

Thanks

Coordinator
May 16, 2012 at 3: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.

M.

May 16, 2012 at 6:54 AM

Many thanks - sounds so obvious now!

Cheers