I want to use XSLT search to search site content. We don't need to search the text within files but we'd like to be able to search tags applied to media. Is this possible?
Am not sure if you will get results for tags but you can try using the caption as an option(like when uploading your image in media and giving it a title name which you get back by using @nodeName . When the page will be rendered in the browser XSLT Search should be able to look for it.
No, that doesn't work. It's only searching the content tree as far as I can tell. It needs to also search the media tree for nodeName and other attributes, e.g. tags, alt text.
What if you rename your image in your media section? Cos that information is contained within your site's xml (which is what XSLTsearch has access to and is therefore searchable.
Media information is not held in Umbraco.config which is what XSLTSearch is searching which I think answers my own question. Presumably I will need to pull in the media XML into the main search xml to do this.
Searching tagged media with XSLT Search
Hi
I want to use XSLT search to search site content. We don't need to search the text within files but we'd like to be able to search tags applied to media. Is this possible?
Hi Dan,
Am not sure if you will get results for tags but you can try using the caption as an option(like when uploading your image in media and giving it a title name which you get back by using @nodeName . When the page will be rendered in the browser XSLT Search should be able to look for it.
No, that doesn't work. It's only searching the content tree as far as I can tell. It needs to also search the media tree for nodeName and other attributes, e.g. tags, alt text.
What if you rename your image in your media section? Cos that information is contained within your site's xml (which is what XSLTsearch has access to and is therefore searchable.
Media information is not held in Umbraco.config which is what XSLTSearch is searching which I think answers my own question. Presumably I will need to pull in the media XML into the main search xml to do this.
is working on a reply...