[pmwiki-users] Finding all external links
Patrick R. Michaud
pmichaud at pobox.com
Thu Sep 15 12:13:56 CDT 2005
On Thu, Sep 15, 2005 at 06:59:44PM +0200, bram wrote:
> is there an easy way to get a list of extern links on a page?
>
> I would like to create a dead link checker.
You mean from PHP? How about simply looking for anything
that matches the 'http:' pattern?
Another possibility is to intercept the handling of 'http:'-links
and do something else with them -- this is what the urlapprove.php
script does (i.e., look there for an example of how it can be done).
Hope this helps,
Pm
More information about the pmwiki-users
mailing list