updated specific configuration for parsing

This commit is contained in:
Nicolas Lœuillet
2014-07-13 10:15:40 +02:00
parent 58dbe10388
commit 4e067ceabd
952 changed files with 7585 additions and 5682 deletions

24
inc/3rdparty/site_config/standard/stackoverflow.com.txt vendored Normal file → Executable file
View File

@ -1,14 +1,14 @@
body: //div[@class='post-text' or @class='user-action-time' or @class='user-details' or @class='vote'] | //div[@id='answers-header']//h2
replace_string(<div class="user-details"><br></div>): <!-- nothing -->
replace_string(<div class="vote">): <div class="vote"><h3>Vote count:
strip_id_or_class: vote-up
strip_id_or_class: vote-down
strip_id_or_class: star-off
strip_id_or_class: favoritecount
strip_id_or_class: -share
strip_id_or_class: badgecount
body: //div[@class='post-text' or @class='user-action-time' or @class='user-details' or @class='vote'] | //div[@id='answers-header']//h2
replace_string(<div class="user-details"><br></div>): <!-- nothing -->
replace_string(<div class="vote">): <div class="vote"><h3>Vote count:
strip_id_or_class: vote-up
strip_id_or_class: vote-down
strip_id_or_class: star-off
strip_id_or_class: favoritecount
strip_id_or_class: -share
strip_id_or_class: badgecount
test_url: http://stackoverflow.com/questions/4484289/id-like-to-understand-the-jquery-plugin-syntax