How to publish an Orchard List as custom XML or JSON

Ideally, I would like to provide a list of custom content types through an RSS feed. However, I would be pleased if I could just get all the elements in the list and publish it as custom XML or JSON. Can someone provide a piece of code that will be used to get all the elements for a given list id?

+3
source share
1 answer

Here is the answer I gave on the Orchard forums:

This is not the case by default, and I think we should fix it in 1.1 (I wrote http://orchard.codeplex.com/workitem/17399 to track it, feel free to vote for it).

. , IFeedManager . . : http://weblogs.asp.net/bleroy/archive/2010/04/07/rss-feeds-in-orchard.aspx

+3

Source: https://habr.com/ru/post/1794867/


All Articles