I'd like to allow visitors to easily grab an rss feed from any search query on my site. I see that wordpress.com are doing it (and providing JSON output, too). I assume it would use this function:
But I don't know how to take that and make it available in any chosen theme for visitors to use.
Can anyone help? Thanks.