1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Content Feeds: RSS mapping to Blog Posts

Content Feeds: RSS mapping to Blog Posts

2 posts, 0 answered
  1. James
    James avatar
    3 posts
    Registered:
    16 Mar 2011
    13 Apr 2011
    Link to this post
    I'm trying to create a Content Feed from an RSS Feed to publish as collection of Blog Posts.  Currently I have "Content to include" pointing to my RSS feed (a locally hosted .ashx service).  I've then set a "Publish as.." to point to my Blog.

    Using the default mapping I an able to correctly map map the "RSS Item Title" to the "Feed Object Title" then save this as the "Blog Post Title" on my new post.  So everything is great there.

    However for Blog Post Content (body) I can't get anything in my RSS xml to map to the "RSS Item Summary" 

    Also, if I map content(RSS) to content(Feed Obj) to content(Blog Obj) I get the value in my RSS feed from "<description>" which makes no sense to me.

    i've tried:
    <Source></Source>
    <source></source>
    <summary></summary>
    <Summary></Summary>
    <content></content>
    </Content></Content>

    Does anyone know how Sitefinity is trying to parse this RSS feed??
  2. Ivan Pelovski
    Ivan Pelovski avatar
    43 posts
    Registered:
    24 Sep 2012
    15 Apr 2011
    Link to this post
    Hi James,

    Sitefinity does not use directly the XML element names but the names of the properties of the SyndicationItem type. So Summary in the mappings refers to the property of the type. In RSS the Summary property of a SyndicationItem is rendered in the "description" element. In Atom protocol the Summary property is rendered in the "summary" element. Inside the publishing system of Sitefinity if no Content of the syndication item is provided than the value of the Summary property is used for content.
    As a solution we suggest using the Atom protocol in your feed. Please let us know if that solution will work for you.

    All the best,
    Ivan Pelovski
    the Telerik team

2 posts, 0 answered