Print Version Email Page Add to Favorites Comments Alert Me Add to My Links

Tuesday, July 01, 2008

Read More link on SharePoint Blog Posts

Introduction
People generally does not like to read the long posts. SharePoint 2007 - Blog does not provide with any feature to restrict the number of characters / lines to be displayed on the Blog Posts. The Blog Authors (like me) likes to write the long posts. With few such a blog posts on SharePoint - Blog site, makes the Home Page scrollable. As a result, the blog posts at the end of the page gets ignored by the readers.

Solution
The solution to this, I thought of is to use XSLT.

  1. Open your sharepoint site in SharePoint Designer 2007.
  2. Open default.aspx in Design View.
  3. Click Insert -> SharePoint Controls -> Data View.
  4. Select Posts from available data sources.
  5. Switch to Code Window.
  6. Modify the code as below:

8 comments:

Unknown said...

Nanddeep -- I am struggling with this problem right now. Since your post is a couple of years old, I wonder if there is any updated way you know of to insert "read more" in a SharePoint blog post?

Nanddeep Nachan said...

Hello Catherine,
Could you please detail out on the issues you are facing?

Nanddeep Nachan said...

Hello Catherine,
Could you please detail out on the issues you are facing?

Nanddeep Nachan said...

Hello Catherine,
Could you please detail out on the issues you are facing?

dave said...

Is there a way to limit only one Blog Post on the home page as a summary view. I don't have publishing activated as a feature. I am using SharePoint 2010.

Vladimir said...

Is there any way to achieve this in SP 2010? Thanks.

Rob Bowman said...

Nanddeep, I am also having a few small issues. I would love to use this! Can we correspond via email to work out the details?

Anonymous said...

Hello Nanddeep,

Will this code for SharePoint 2010 Announcements More...

thanks for your help in advance

Thanks
Noble
coolnoble@gmail.com

World Clock