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,771 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

773 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