Indexing HTML Attributes
Categories
Component ID
Component name
Component type
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
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.
