Output Kentico 8 page content to xml feed

Kirill C asked on September 4, 2014 18:52

Is there a way to output page content to xml feed (just page content , no master page)? I want to output the rendered content from repeaters and editable text components (basically everything within the page placeholder for a certain page). Something like this: www.site.com/page/xml (In this case the xml will be the feed of everything from the /page/).

I tried using Documents DataSource for the page (menu item), but couldn't render its content..

Recent Answers


Brenden Kehren answered on September 4, 2014 20:47

Have you looked at the RSS Feed webpart and documentation?

0 votesVote for this answer Mark as a Correct answer

Kirill C answered on September 4, 2014 22:35

Yep, but this just shows the method of outputting RSS feed for a certain document type/ fields for the document type in a list. Could it work for a page itself? For example I want one feed that renders HTML that's on the page (mix of repeaters / static text.. etc whatever is being rendered).

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 5, 2014 01:53

A page consists of several doc types and editable text (if applicable). I don't believe there is any kind of webpart that will do what your looking for without some custom code on your end. Your webpart would have to look at a URL and look for all doc types and get the data from those doc types. Sounds like a simple task although I think it will involve some thinking/planning.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.