Support more/all attributes having URLs

hass - September 15, 2009 - 21:46
Project:Pathologic
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Currently the module only fixes src/href attributes. There are a few more... It would be great if the module will be extended by the rest of the available attributes. I have found some more in linkchecker... hopefully nearly complete - you may like to take a look.

Examples (some of them depend on context):
1. pluginurl
2. pluginspage
3. data
4. codebase
5. value
6. poster

More funny regexes for this can be found in linkchecker module...

I would also suggest to use or at least take a look to the upcoming http://api.drupal.org/api/function/filter_dom_load/7. When I used this in linkchecker D7 - I was so positively impressed how easy and much more reliable it is without loosing any functionality and becoming a more reliable link extraction process for some tags with subtags like object/param or audio/source, etc. Maybe of interest for pathologic too - the only requirement seems to be PHP5 what may be a show stopper in D6 times...

 
 

Drupal is a registered trademark of Dries Buytaert.