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,827 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
ID: 34205401
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
ID: 34236748
Thank you for this... I'll submit this to our developers.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

856 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