08/06/08 00:49:23 wk4QX8Kv0
>>748
作ってみた。もし自分で改良中ならゴメンナサイ。このフィルタは見ないでください。
ちなみに下のフィルタは2列表示専用のRanking NGtitle。まぁ通常の場合にも使えますが。
[Patterns]
Name = "Nico: Ranking 1line -> 2line (080608)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.nicovideo.jp/ranking/"
Limit = 4096
Match = "(<table\swidth=$AV(640))$SET(#=<table width="960")"
"|$NEST(<tr,>\s($NEST(<td,</td>) $NEST(<td,</td>))\0 $NEST(<td,\sclass=$AV(data)\swidth=$AV(100%)>\1,</td>)\s,</tr>)"
" $NEST(<tr,><td\scolspan=$AV(3)*,</tr>)"
" $NEST(<tr,>\s($NEST(<td,</td>) $NEST(<td,</td>))\2 $NEST(<td,\sclass=$AV(data)\swidth=$AV(100%)>\3,</td>)\s,</tr>)"
" $NEST(<tr,><td\scolspan=$AV(3)\4,</tr>)"
"$SET(#="
"<tr>\n\0\n<td class="data">\1</td>\n\2\n<td class="data">\3</td>\n</tr>\n<tr><td colspan="6"\4</tr>)"
Replace = "\@"
[Patterns]
Name = "Nico: Ranking NGtitle for 2line (080608)"
Active = TRUE
URL = "$TYPE(htm)www.nicovideo.jp/ranking/"
Limit = 2048
Match = "$NEST(<td\sclass=$AV(rank_num)\snowrap,</td>)"
" $NEST(<td,</td>)"
" $NEST(<td,*"
"($NEST(<a,\sclass=$AV(video)[^>]+>*$LST(NGtitle)*,</a>)"
"|<a\sclass=$AV(video)\shref=$AV(URLリンク(www.nicovideo.jp)(NGtitle)))"
"*,</td>)"