Solved

How can I edit the XSLT File that is generating the RSS feed for a SharePoint list?

Posted on 2010-11-24
2
2,647 Views
Last Modified: 2013-11-18
We have a calendar on our SharePoint Intranet (MOSS 2007)that our Public Web site (Hosted on a cascade server) is pulling RSS feeds from. Unfortunately, the RSS feeds are not in the format that we would prefer. Rather than creating tags or elements for each field/column in the calendar events, almost fields are being inserted into the <Description> element and are being separated by <div> elements.

I have read that SharePoint is not sharing the raw XML of the RSS feed, but instead an XSLT is formatting the list into an HTML page where users can subcribe to the RSS feed. Unfortunately, the formats are not correct...

Example: We have fields in the calendar for Date, start time, end time, and Description...
What we would like to see in the RSS feed is:

<Date>11/24/10</Date>
<Start Time>3:00 PM</Start Time>
<End Time>5:00 PM</End Time>
<Description>description of calendar event</Description>

Instead, we are seeing:

<Description>
<div><B>Date:</B>11/24/10</div>
<div><B>Start Time:</B>3:00 PM</div>
<div><B>End Time:</B>5:00 PM</div>
<div><B>Description:</B>description of calendar event</div>
</Description>

Is there a way we can edit the XLST that SharePoint is using to generating this html page so the RSS feed is formatted in the format we are looking for? If so, how can I locate the XSLT in MOSS 2007
0
Comment
Question by:kirkmeldrum
2 Comments
 
LVL 5

Accepted Solution

by:
logideepak earned 500 total points
Comment Utility
There are three ways to do this
1) Use content editor webpart and write your own custom xslt
2) Use sharepoint designer, create a data view webpart and then modify the xslt in the designer itself
3) create a visual web part and create a custom view to get the formatted result in the same fashion
0
 

Author Closing Comment

by:kirkmeldrum
Comment Utility
Thank you for this... I'll submit this to our developers.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now