Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Evans 629 posts 1016 karma points
    Aug 11, 2011 @ 08:24
    Dan Evans
    0

    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?

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 11, 2011 @ 08:35
    Fuji Kusaka
    0

    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.

     

     

  • Dan Evans 629 posts 1016 karma points
    Aug 11, 2011 @ 08:43
    Dan Evans
    0

    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.

  • Fuji Kusaka 2203 posts 4220 karma points
    Aug 11, 2011 @ 08:48
    Fuji Kusaka
    0

    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.

     

     

  • Dan Evans 629 posts 1016 karma points
    Aug 11, 2011 @ 09:27
    Dan Evans
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft