/// <summary> /// Serves a Rss feed. /// </summary> /// <returns></returns> public ActionResult Rss() { List <Media> mediae = _mediaRepository.Retrieve25RecentPhotosByUserId(Owner.Id); RssService service = new RssService(); string url = GetUrl(); string fullPath = string.Format("http://{0}/", url); string feed = service.Render(mediae, Owner, fullPath); return(Content(feed, "text/xml")); }