Is there some program (preferably mac) or firefox plugin that can check a local site for links just listed like this:
<a href=\"#\">Whatever</a>
I've tried to use some other link checker programs, but whenever it tries the # link, it thinks it's a good link because it would go to www.whatever.com/index.php#
Is there something that will let me specify what to look for in the href quotations?
I don't believe there is any tool that will do this for you, besides downloading the site and using your code editor to do a search of all the files within your project. Dreamweaver can do this, Coda, Textmate, etc.
Alternately, you can use Firebug to search for the "#" character, or "href="#"" if you would prefer (just use the search bar in the upper right of the FIrebug window) but I don't believe you can search multiple files at once. You'd have to do it one page at a time.
Sorry, missed your comment about it being a local site. Yes, Coda can do this.
-- Hit Command-F to bring up the find dialog -- Make sure to check the "find in" checkbox in the left files column -- specify what you are looking for in the first "find" input box -- Hit the "find" button just below the "find" input box
I've tried to use some other link checker programs, but whenever it tries the # link, it thinks it's a good link because it would go to www.whatever.com/index.php#
Is there something that will let me specify what to look for in the href quotations?
Thanks.
Command-F
href="#
Find all
Alternately, you can use Firebug to search for the "#" character, or "href="#"" if you would prefer (just use the search bar in the upper right of the FIrebug window) but I don't believe you can search multiple files at once. You'd have to do it one page at a time.
Sorry for taking a while to get back to this!
If you have Dreamweaver (please confirm!) it's very simple to do exactly what I said.
Simply select the directory of the site (in DW), then Ctrl-F, type in href="#, then "Find All" (or Alt-L).
I do this constantly for site wide searches on sites that are 2,000+ pages.
-- Hit Command-F to bring up the find dialog
-- Make sure to check the "find in" checkbox in the left files column
-- specify what you are looking for in the first "find" input box
-- Hit the "find" button just below the "find" input box
I use this quite often myself.