Changeset 464
- Timestamp:
- 04/01/06 21:46:01
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Filter/EntryFullText.pm
r463 r464 88 88 } 89 89 90 # failed to extract: store whole HTML if the config is on 91 if ($self->conf->{store_html_on_failure}) { 92 $args->{entry}->body($args->{content}); 93 return 1; 94 } 95 90 96 $context->log(warn => "Extract content failed on " . $args->{entry}->permalink); 91 97 } … … 136 142 C<.pl> files under assets plugin directory. 137 143 144 =head1 CONFIG 145 146 =over 4 147 148 =item store_html_on_failure 149 150 Even if fulltext handlers fail to extract content body from HTML, this 151 option enables to store the whole document HTML as entry body. It will 152 be useful to use with search engines like Gmail and Search:: plugins. 153 Defaults to 0. 154 155 =back 156 138 157 =head1 WRITING CUSTOM FULLTEXT HANDLER 139 158
