186(guide)

説明

CSS関係のTipsとProxomitronのフィルタの話がメインです。

1000-02-02 Sun?D Referred Tr

[][] ?D Referred Tr

順番は守る様に。

Name = "?D Referred Tr(msn)"
Active = TRUE
URL = "(d|diary).hatena.ne.jp/"
Bounds = "<li*</li>"
Limit = 9000
Match = "<li>\1<a href="\2">http://search\.msn\.*/*\?*q=\4(\&*|)</a></li>"
Replace = "<li>\1 (msn) <a href="\2"> \4 </a></li>"

Name = "?D Referred Tr(Google&Yahoo&goo&biglobe&nifty&excite&infoseek&aol)"
Active = TRUE
URL = "(d|diary).hatena.ne.jp/"
Bounds = "<li*</li>"
Limit = 9000
Match = "<li>\1<a href="\2">http://(www|(web|cgi\.|ocn|odn|)search|so-net|dion|ocn|odn|home|apple|(aol|)search\.jp)\.(google|yahoo|goo|biglobe|nifty|excite|infoseek|aol)\3\.*/*\?*(p|q|s|MT|Text|search|qt|query)=\4(\&*|)</a></li>"
Replace = "<li>\1 (\3) <a href="\2"> \4 </a></li>"

Name = "?D Referred Tr(D_Keyword,KeywordD,ASIN)"
Active = TRUE
URL = "(d|diary).hatena.ne.jp/"
Bounds = "<li*</li>"
Limit = 9000
Match = "<li>\1<a href="\2">http://(d|diary).hatena.ne.jp/(keyword|keyworddiary|asin)\3/\4</a></li>"
Replace = "<li>\1 <span style="color:#00ff00">(\3)</span> <a href="\2">\4</a></li>"

Name = "?D Referred Tr(D_noD)"
Active = TRUE
URL = "(d|diary).hatena.ne.jp/"
Bounds = "<li*</li>"
Limit = 9000
Match = "<li>\1<a href="\2">http://(d|diary).hatena.ne.jp/\3/</a></li>"
Replace = "<li>\1 <span style="color:#f00000">(Diary)</span> <a href="http://a.hatena.ne.jp/\3/simple">[A]</a> <a href="\2">id:\3</a></li>"

Name = "?D Referred Tr(D_+D)"
Active = TRUE
URL = "(d|diary).hatena.ne.jp/"
Bounds = "<li*</li>"
Limit = 9000
Match = "<li>\1<a href="\2">http://(d|diary).hatena.ne.jp/\3/\4</a></li>"
Replace = "<li>\1 <span style="color:#f00000">(Diary)</span> <a href="http://a.hatena.ne.jp/\3/simple">[A]</a> <a href="http://d.hatena.ne.jp/\3/">id:\3</a> : <a href="\2">\3 / \4</a></li>"

Name = "?D Referred Tr(A_map_forID)"
Active = TRUE
URL = "(diary|d).hatena.ne.jp/"
Bounds = "<li*</li>"
Limit = 9000
Match = "<li>\1<a href="\2">http://(antenna|a).hatena.ne.jp/map?http://(diary|d).hatena.ne.jp/\3/</a></li>"
Replace = "<li>\1 (A_Map) <a href="http://a.hatena.ne.jp/\3/simple">[A]</a> <a href="\2">[A_Map]</a>"
          " <a href="http://d.hatena.ne.jp/\3/">id:\3</a></li>"

Name = "?D Referred Tr(A_map_noID)"
Active = TRUE
URL = "(diary|d).hatena.ne.jp/"
Bounds = "<li*</li>"
Limit = 9000
Match = "<li>\1<a href="\2">http://(antenna|a).hatena.ne.jp/map?http://\3</a></li>"
Replace = "<li>\1 (A_Map) <a href="\2">[A_Map]</a> <a href="http://\3">http://\3</a></li>"

Name = "?D Referred Tr(A)"
Active = TRUE
URL = "(diary|d).hatena.ne.jp/"
Bounds = "<li*</li>"
Limit = 9000
Match = "<li>\1<a href="\2">http://(antenna|a).hatena.ne.jp/\3/\4</a></li>"
Replace = "<li>\1 <span style="color:#0000f0">(Antenna)</span> <a href="http://a.hatena.ne.jp/\3/simple">[A]</a> <a href="http://d.hatena.ne.jp/\3/">id:\3</a> /  \4</li>"