Feedly用ブックマークレット
以前から使っていたものが微妙だったので作り直した。
JavaScript部分は以下のようになっている。
void(feedtag=document.evaluate('//link[@rel="alternate"][@type="application/atom+xml" or @type="application/rss+xml"]', document, null, XPathResult.ANY_UNORDERED_NODE_TYPE).singleNodeValue); if(feedtag) { location.href='https://feedly.com/i/subscription/feed/'+encodeURIComponent(feedtag.href); } else { window.alert('No feed found'); };