I'm trying to display the managed path a site is on in my search results.
To be more clear: I have setup a core results webpart which fires a custom query to retrieve all site collections within a certain search scope. These are in a webapplication which has a couple of managed paths (wildcard) setup, which somewhat classify the site (apps, teams, etc.). To enhance the search results webpart, I'd like to show this 'category' to the user.
I have the URL property / variable available in XSLT, but that contains the entire site URL. That means I'll have to parse that and get the sitename. With C# or a regex I'd be able to, but in XSLT it seems not that straightforward.
Or I could add a column to the search results which holds the managed path, but I'm unsure wether that column is at all available. Is there a good reference which colums can be added?