Getting the post URL from a 'blog post'

May 23, 2012 at 5:04 PM

I'm completely drawing a blank trying to pull the URL for a blog post list to use in a custom news slider that I'm trying to put together.

Unlike announcements, the URLs for blog posts are incredibly messy and it's not really possible to easily construct it with just an ID and some parameters.   Can anyone possibly point me in the right direction?  

Thanks!

 

May 23, 2012 at 5:17 PM

Replying to myself... I found the parameter (of course after looking for hours and finally posting a question about it)

And you can construct the URL with just the ID as referenced here: http://www.bentedder.com/rollup-articles-across-a-site-collection-using-jquery-in-sharepoint-2010/

The ows_EncodedAbsUrl is the field in case anyone else has a hard time tracking it down.

 

 

Coordinator
May 24, 2012 at 2:43 AM

It's just the Posts list in the blog site, as you've figured out. Glad you got it.

M.