hAtomエントリー抽出

    @@ -1,7 +1,7 @@ /* - * @title livedoorブログエントリ抽出 - * @description livedoorブログの{トップページ、個別ページ}からエントリを抽出して表示 - * @include http://blog.livedoor.jp/ + * @title hAtomエントリー抽出 + * @description hAtom対応ページ(livedoorブログ等)の{トップページ、個別ページ}からエントリーを抽出して表示 + * @include http://* * @license MIT License */ -(function(){d=document.getElementsByClassName("hentry");f="";for(var i=0; i<d.length;i++) {f += d[i].outerHTML;};document.write("<html><body>"+f+"</body></html>");})(); +(function(){d=document.getElementsByClassName("hentry");f="<html><body>";for(var i=0; i<d.length;i++) {t=d[i].getElementsByClassName("entry-title")[0].outerHTML;e=d[i].getElementsByClassName("entry-content")[0].outerHTML;f+=t+e};document.write(f+"</body></html>")})();
  • /*
     * @title hAtomエントリー抽出
     * @description hAtom対応ページ(livedoorブログ等)の{トップページ、個別ページ}からエントリーを抽出して表示
     * @include http://*
     * @license MIT License
     */
    (function(){d=document.getElementsByClassName("hentry");f="<html><body>";for(var i=0; i<d.length;i++) {t=d[i].getElementsByClassName("entry-title")[0].outerHTML;e=d[i].getElementsByClassName("entry-content")[0].outerHTML;f+=t+e};document.write(f+"</body></html>")})();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2010/06/08 12:40:04 - 2010-06-08
  2. 2010/06/08 12:37:52 - 2010-06-08
  3. 2010/05/27 15:39:49 - 2010-05-27
  4. 2010/05/26 15:10:06 - 2010-05-26
  5. 2010/05/26 14:58:20 - 2010-05-26
  6. 2010/05/26 14:54:20 - 2010-05-26
  7. 2010/05/26 14:53:54 - 2010-05-26
  8. 2010/05/26 14:53:14 - 2010-05-26