just put recode.exe in your path and let it it do it's job when the WebParser plugin has finished.
Code: Select all
[MeasureWebparser1]
Measure=Plugin
Plugin=WebParser
Url=https://drupal.org/node/1424096
RegExp="(?siU).*<div class="codeblock"><code><channel><br /> (.*)<br />"
DecodeCharacterReference=0
FinishAction=[!UpdateMeter *][!Redraw]
StringIndex=1
[MeasureWebparser2]
Measure=Plugin
Plugin=WebParser
Url=https://drupal.org/node/1424096
RegExp="(?siU).*<div class="codeblock"><code><channel><br /> (.*)<br />"
DecodeCharacterReference=1
FinishAction=[!UpdateMeasure Command_1][!CommandMeasure Command_1 Run]
StringIndex=1
[Command_1]
Measure=Plugin
Plugin=RunCommand
DynamicVariables=1
Parameter="echo "[MeasureWebparser2]" | "#@#addons\recode.exe" html...utf8"
OutputType=UTF8
RegExpSubstitute=1
Substitute="\n":"","\r":"",'^"':"",'" $':""
FinishAction=[!UpdateMeter *][!Redraw]
Edit: the regular expression in the example skin no longer works. i am too lazy to update.