List assets containing specific URLs

(Nick Papadatos) #1

Matrix Version: 5.5.4

I’m hoping someone can help me but is there a way to list all assets that contain a specific URL within the body content of a given root node?


(John gill) #2

No great ways.

Any real ./?a=12345 hrefs in container html should have NOTICE links created so you should you can surface them via an Asset Listing page restricted to:

  • direct links
  • NOTICE links
  • Up the tree
  • restrict results to the root node in question

but that won’t find those uses that don’t create a NOTICE link, such as:

  • URL hrefs
  • hrefs from MD fields (assetid or URL)

URLs do not get indexed by the search index, so Search Page can’t ehlp. Data Search Tool could be useful if it’s installed and you’re a sysadmin.

Failing that, it’s time to scrape the whole subsection of the site and grep the results.

(Nick Papadatos) #3

Thanks John

So the Data Search Tool ended up doing the trick :slight_smile: