Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This is not a module, but a drush script, which is a fairly straight-forward exercise in string manipulation, searching for links (anchor tags) that are missing title attributes. It does this in a very crude way, searching only the body field as rendered by a node_load() call.

However, the exercise of writing it (and the preceding hunt for some Drupal Best Practice on this) was instructive. One can imagine any number of uses for a script(s) like this, if it had some features like:

  • Configurable search/replace strings
  • More wizard-like configs ie. "find img tags with no alt tag"
  • CCK-aware search/replace
  • More robust checking/parsing of tags and secure handling of user input (which in my case is minimal and tightly-controlled, at least for the duration of this script's usefulness)
  • a webUI, I guess? ;)

This blog post explains the story behind this project in more detail.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Project categories: Content editing experience
  • Created by spiderman on , updated