You could just search the local files for the include directive.
Otherwise, a wget mirror and grep should do the trick (with a good bit
more work, though).
From: UF Web types [mailto:[log in to unmask]] On Behalf Of
Horne, James A.
Sent: Wednesday, March 11, 2009 10:04 AM
To: [log in to unmask]
Subject: Searching for a repetitive URL
We would like to find every instance where we link to another site
within our pages, in other words we know we have a link to another site
in many places as the link is in an include file that is our footer but
would like to see a reliable number of times this link appears
throughout our site. Searching for the text associated with the url
obviously doesn't do what we need as the text appears many times without
the url included. Searching local files is of no help either as it only
sees the include once.
In Google I typed "site:ourdomain.ufl.edu theotherdomain.org" This
returned 334 results which sounds close. Are there other suggestions to
definitively reveal the number of times a link to another domain
embedded within our pages appears?