This project is not covered by Drupal’s security advisory policy.

Indexing HTML Attributes

This module allows site maintainer to index HTML Element's attribute information in search indexes. It also works with apachesolr search modules.

INSTALLATION

- This module requires http://drupal.org/project/simplehtmldom to parse the DOM tree.
- Download and enable the module at admin/settings/module
- Configure this module at admin/settings/search, see the screen shot

CONFIGURATION EXAMPLE:

- Add one HTML tag information/rule per line
- HTML Attribute Indexing Rule syntax: [HTML Tag]|[Tag's Attribute[,Tag's Attributes]]
- Example 1: img|title,alt
- Example 2: a|name

USE CASES:
There are several cases in which default behavior does not allow any functionality to index content that is not visible, it can be HTML hidden attribute where author in stead of displaying it may only want to index information.

Another case, in which an author wants to index "title" or "alt" information of an image attribute. I'll try to add more use cases.

Project Information

  • Maintenance status: Unknown
  • Development status: Under active development
  • Module categories: Search
  • Downloads: 1,138
  • Last modified: 2 December 2014
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Downloads