> Is there another option to check our external links?
The latest version of the broken link checker does not have a dependency
on the CMS so it can be run on any machine that has access to the
repository and the internet. See the wiki for more information:
http://wiki.hippo.nl/display/CMS/Checking+internal+and+external+links+wi
th+the+link+checker
Here is an example of its use:
BrokenLinkCheckerRunConfigurationBean config = new
BrokenLinkCheckerRunConfigurationBean();
config.setDocumentTreeToCheckRootUrl("http://localhost:60000/default/fil
es/default.www/content/bulk");
config.setDocumentsBaseUrl("/default/files/default.www");
config.setInternalLinksBaseUrl("http://localhost:60000/default/files/def
ault.www");
config.setRepositoryUsername("root");
config.setRepositoryPassword("*********");
config.setResultDocumentUrl("http://localhost:60000/default/files/defaul
t.www/broken-links.xml");
config.addInternalUrlPrefixToIgnore("/assets/binaries/");
config.addInternalUrlPrefixToIgnore("/binaries/");
BrokenLinkCheckerRun run = new BrokenLinkCheckerRun(config);
run.execute();
Johan
********************************************
Hippocms-dev: Hippo CMS development public mailinglist