フィードをオートディスカバリーするXPath、Firefox互換
フィードをオートディスカバリーする XPath - IT戦記
http://mxr.mozilla.org/mozilla/source/browser/base/content/pageinfo/feeds.js#39
http://mxr.mozilla.org/mozilla/source/browser/base/content/utilityOverlay.js#639
'/x:html/x:head/x:link[@href and (contains(concat(" ",translate(normalize-space(@rel),"DEF","def")," ")," feed ") or (contains(concat(" ",translate(normalize-space(@rel),"AELNRT","aelnrt")," ")," alternate ") and not(contains(concat(" ",translate(normalize-space(@rel),"EHLSTY","ehlsty")," ")," stylesheet ")) and (starts-with(normalize-space(@type),"application/rss+xml") or starts-with(normalize-space(@type),"application/atom+xml") or ((starts-with(normalize-space(@type),"text/xml") or starts-with(normalize-space(@type),"application/rdf+xml") or starts-with(normalize-space(@type),"application/xml")) and contains(concat(" ",translate(normalize-space(@title),"RS","rs")," ")," rss ")))))]'
x:というのはデフォルト名前空間を取るためのprefixなので、resolver使わないなら消してもOK。