Copied to clipboard

Flag this post as spam?

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


  • Carlos 338 posts 472 karma points
    Dec 21, 2011 @ 18:52
    Carlos
    0

    Media search using XSLTsearch

    I made 2 custom media types and added some custom properties.  How can I pull those media items into the my XSLTsearch?  

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Dec 21, 2011 @ 19:12
    Douglas Robar
    0

    It's nearly impossible to make XSLTsearch work with media items (at least with any performance) because the media information isn't stored in the xml of the site and requires database hits to retrieve before it can be handled by XSLT. 

    If you need to search inside media you'll need to use Examine.

    cheers,
    doug. 

  • Carlos 338 posts 472 karma points
    Dec 21, 2011 @ 19:16
    Carlos
    0

    I see.  Thanks for the reply. I wish we were using 4.7. Examine would be much easier to use.  Using 4.5.2.  Haven't found too many examine tutorials for 4.5.2 beside creating a .Net control.  Razor is going to be a nice switch when we move over.

    May try a work around creating doc types and just putting the link to the item in the doc type and have that in the tree with the rest of the content.

    Thanks for the reply. Great work on this search though.  Very quick and powerful.

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Dec 21, 2011 @ 19:21
    Douglas Robar
    0

    Yup, that's the way to do it... create a content node for your media instead (using either a media picker or upload control). Then XSLTsearch will work nicely. Your template will determine how the 'page' is displayed/downloaded so you've got lots of flexibility.

    cheers,
    doug. 

Please Sign in or register to post replies

Write your reply to:

Draft