We get this question quite a bit:
Question: Can I add a RSS product feed to spit out products by a category in AspDotNetStorefront. Or generally, does AspDotNetStorefront support “RSS feeds”.
Answer: Yes, the storefront knows how to send out RSS feeds, of almost any arbitrary data contents, via this page: rssfeed.aspx
The way the page works, is it invokes an XmlPackage specified on the query string invocation, like in:
Http://www.yourdomain.com/rssfeed.aspx?channel=ABC
And then it invokes the XmlPackage: /xmlpackages/rss.ABC.xml.config to build a data set, and transform it into any valid RSS feed output Xml based on your consumer. Of course "ABC" name is arbitrary, just has to match your package name.
The XmlPackage then can query anything (just like any XmlPackage) and can also even work off of other QueryString input as well!
E.g.
Rssfeed.aspx?channel=getproductsbycat&categoryid=3
The rss.getproductsbycat.xml.config (you write it) XmlPackage now can query the db for these products (for cat 3) and spit out any product data you wanted. The XmlPackage would pick off the querystring param, build the db query using it, retrieve the product records, and xform into output any product fields you want.
This works for lots of other types of RSS notifications also.
This is a very powerful feature, and not well documented, or even know. We literally have 100 features like this that we should explain/document better, so we’re going to make an effort to do this.