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,967 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

728 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