Wubot::Reactor::ImageStrip - strip image tags from a field
version 0.1_7
- name: strip images from 'body' field and store results in the field body_text plugin: ImageStrip config: field: body - name: strip images from the body field in-situ plugin: ImageStrip config: field: body newfield: body
The ImageStrip plugin attempts to remove any img or iframe tags from a message field. The original field content is not overwritten by default. If you do not specify a 'newfield', then the image-stripped content will be stored in a new field that matches the original field but ends in _text. If you specify a 'newfield' in the config, then the image-stripped text will be stored in that field. If you want to replace the contents of an existing field with the image-stripped content, then use the same field for both 'field' and 'newfield'.
To install Wubot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wubot
CPAN shell
perl -MCPAN -e shell install Wubot
For more information on module installation, please visit the detailed CPAN module installation guide.