[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3206
  • Last Modified:

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

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
kirkmeldrum
Asked:
kirkmeldrum
1 Solution
 
logideepakCommented:
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
 
kirkmeldrumAuthor Commented:
Thank you for this... I'll submit this to our developers.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now