<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Blog | yusukekamiyamane</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/" />
    <link rel="self" type="application/atom+xml" href="http://yusukekamiyamane.com/blog/atom.xml" />
    <id>tag:yusukekamiyamane.com,2008-05-13:/blog//1</id>
    <updated>2008-12-24T05:18:47Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.1</generator>

<entry>
    <title>Tangofy</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/12/24.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.24</id>

    <published>2008-12-24T05:16:32Z</published>
    <updated>2008-12-24T05:18:47Z</updated>

    <summary>Tangofy verschönert WordPress 2.7 Icons ...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="icon" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p><a href="http://op111.net/p65">Tangofy verschönert WordPress 2.7 Icons</a></p>
<p>ほお。</p>]]>
        
    </content>
</entry>

<entry>
    <title>アイコンセットランキング</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/12/19.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.23</id>

    <published>2008-12-19T06:33:18Z</published>
    <updated>2008-12-23T13:23:56Z</updated>

    <summary>50 Most Beautiful Icon Sets Created in 2...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="icon" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p><a href="http://www.noupe.com/icons/50-most-beautiful-icon-sets-created-in-2008.html">50 Most Beautiful Icon Sets Created in 2008</a></p>
<p>11位という中途半端な位置にFugue Iconsがひっそりと。今更ながらベクター系ばかりだ。</p>]]>
        
    </content>
</entry>

<entry>
    <title>ブロック要素の高さを揃える</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/12/05.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.22</id>

    <published>2008-12-05T03:35:02Z</published>
    <updated>2008-12-05T03:51:33Z</updated>

    <summary>高さというより下端だけど。 equal-bottom-nに対応する要素の下端を揃...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p>高さというより下端だけど。</p>
<p><code>equal-bottom-n</code>に対応する要素の下端を揃える。</p>]]>
        <![CDATA[<p><a href="/blog/2008/12/05/sample/index.html" target="_blank">サンプル</a></p>
<pre name="code" class="js">$ (function () {
    for (var i = 1; $ (".equal-bottom-" + i).length; i++) {
        var block = $ (".equal-bottom-" + i);
        var height = 0;
        block.each (function () {
            height = Math.max ($ (this).offset ().top + $ (this).height (), height);
        });
        block.each (function () {
            $ (this).height (height - $ (this).offset ().top);
        });
    }
});</pre>
<pre name="code" class="css">div.box {
    border: 1px solid #000;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 10px;
}
div.grid {
    _height: 1%;
    *zoom: 1;
}
div.grid:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
div.grid div.column {
    float: left;
}
p {
    margin-bottom: 0;
    margin-top: 0;
}</pre>
<pre name="code" class="xml">&lt;div class="grid"&gt;
    &lt;div class="column" style="margin-right: 20px; width: 200px;"&gt;
        &lt;div class="box equal-bottom-1"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="column" style="margin-right: 20px; width: 200px;"&gt;
        &lt;div class="box equal-bottom-1"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="column" style="width: 200px;"&gt;
        &lt;div class="box equal-bottom-1"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;div class="grid"&gt;
    &lt;div class="column" style="margin-right: 20px; width: 200px;"&gt;
        &lt;div class="box"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
        &lt;div class="box equal-bottom-2"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="column" style="margin-right: 20px; width: 200px;"&gt;
        &lt;div class="box equal-bottom-2"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="column" style="width: 200px;"&gt;
        &lt;div class="box"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
        &lt;div class="box equal-bottom-2"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;div class="grid"&gt;
    &lt;div class="column" style="margin-right: 20px; width: 200px;"&gt;
        &lt;div class="box"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
        &lt;div class="box"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
        &lt;div class="box equal-bottom-3"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
        &lt;div class="box equal-bottom-4"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="column" style="margin-right: 20px; width: 200px;"&gt;
        &lt;div class="box equal-bottom-3"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
        &lt;div class="box equal-bottom-4"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="column" style="width: 200px;"&gt;
        &lt;div class="box equal-bottom-4"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;</pre>]]>
    </content>
</entry>

<entry>
    <title>なんちゃってvalign</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/12/04.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.21</id>

    <published>2008-12-03T23:01:41Z</published>
    <updated>2008-12-03T23:10:46Z</updated>

    <summary>やはり出来ると便利なので。...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p>やはり出来ると便利なので。</p>]]>
        <![CDATA[<p><a href="/blog/2008/12/04/sample/index.html" target="_blank">サンプル</a></p>
<pre name="code" class="js">$ (function () {
    $ ("div.grid.middle &gt; div.column").addClass ("middle");
    $ ("div.grid.bottom &gt; div.column").addClass ("bottom");
    $ ("div.grid div.column").filter (".middle, .bottom").each (function () {
        var height = 0;
        $ (this).siblings ().each (function () {
            height = Math.max (height, $ (this).height ());
        });
        var margin = Math.max (height - $ (this).height (), 0);
        $ (this).css ("margin-top", ($ (this).hasClass ("middle") ? Math.floor (margin / 2) : margin) + "px");
    });
});</pre>
<pre name="code" class="css">div.grid {
    _height: 1%;
    *zoom: 1;
}
div.grid:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
div.grid div.column {
    float: left;
}</pre>
<pre name="code" class="xml">&lt;div class="grid middle"&gt;
    &lt;div class="column" style="margin-right: 20px; width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;div class="column" style="margin-right: 20px; width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;div class="column" style="width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;div class="grid bottom"&gt;
    &lt;div class="column" style="margin-right: 20px; width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;div class="column" style="margin-right: 20px; width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;div class="column" style="width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;hr /&gt;
&lt;div class="grid"&gt;
    &lt;div class="column middle" style="margin-right: 20px; width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;div class="column" style="margin-right: 20px; width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
    &lt;div class="column bottom" style="width: 100px;"&gt;&lt;p&gt;ほげほげほげほげほげ...&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;</pre>]]>
    </content>
</entry>

<entry>
    <title>テーブルのセルの中をいい感じに</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/11/18.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.20</id>

    <published>2008-11-18T07:32:21Z</published>
    <updated>2008-12-03T23:06:12Z</updated>

    <summary><![CDATA[&lt;td&gt;&lt;ul /&gt;&lt;/td&gt;と&lt;td...]]></summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p><code>&lt;td&gt;&lt;ul /&gt;&lt;/td&gt;</code>と<code>&lt;td&gt;ほげほげ&lt;ul /&gt;&lt;/td&gt;</code>、両方とも<code>ul</code>が<code>:first-child</code>になるのは困ることが多いので<code>:first-node</code>疑似クラスを使えるようにする。</p>
<p><code>:-moz-first-node</code>と同じ。</p>]]>
        <![CDATA[<p><a href="/blog/2008/11/18/sample/index.html" target="_blank">サンプル</a></p>
<pre name="code" class="js">jQuery.extend (jQuery.expr [":"], {
    "first-node": function (a) {
        var b = a.parentNode.childNodes;
        for (var i = 0; i &lt; b.length; i++) {
            var c = b [i];
            if (c.nodeType == 1) {
                return c.parentNode.getElementsByTagName ("*")[0] == a;
            }
            if (jQuery.trim (c.nodeValue)) {
                return false;
            }
        }
        return false;
    }
});
$ (function () {
    $ ("td &gt; :first-node").addClass ("first-node-of-td");
});</pre>]]>
    </content>
</entry>

<entry>
    <title>横幅不定のブロック要素を中央・右揃え</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/11/15.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.19</id>

    <published>2008-11-15T02:00:50Z</published>
    <updated>2008-11-15T06:57:31Z</updated>

    <summary>要するに横幅を自動で設定してやるだけ。...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p>要するに横幅を自動で設定してやるだけ。</p>]]>
        <![CDATA[<p><a href="/blog/2008/11/15/sample/index.html" target="_blank">サンプル</a></p>
<pre name="code" class="js">$ (function () {
    $ (".left, .center, .right").each (function () {
        $ (this).css ({
            display: "block",
            float: "none",
            width: $ (this).css ({ display: "inline-block", float: "left" }).width ()
        });
    });
});</pre>
<pre name="code" class="css">.left {
    margin-left: 0;
    margin-right: auto;
}
.center {
    margin-left: auto;
    margin-right: auto;
}
.right {
    margin-left: auto;
    margin-right: 0;
}</pre>
<pre name="code" class="xml">&lt;ul class="left"&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class="left"&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class="center"&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="center"&gt;ほげほげほげほげほげ...&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class="right"&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li&gt;ほげほげほげほげほげ...&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
    &lt;li class="right"&gt;ほげほげほげほげほげ...&lt;/li&gt;
&lt;/ul&gt;</pre>]]>
    </content>
</entry>

<entry>
    <title>ダイアログを出さずにウィンドウを閉じる</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/10/12a.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.18</id>

    <published>2008-10-12T07:29:08Z</published>
    <updated>2008-10-24T05:32:39Z</updated>

    <summary>window.open以外の方法で開いたウィンドウをwindow.closeで閉...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p><code>window.open</code>以外の方法で開いたウィンドウを<code>window.close</code>で閉じるときに「ウィンドウは、表示中の...」というダイアログを出さずにウィンドウを閉じる。</p>
<p>将来にわたって問題ないのかどうかはあやしい。</p>]]>
        <![CDATA[<p><a href="/blog/2008/10/12a/sample/index.html" target="_blank">サンプル</a></p>
<pre name="code" class="js">window._close = window.close;
window.close = function () {
    (window.open ("", "_top").opener = top)._close ()
};</pre>
<pre name="code" class="xml">&lt;a href="javascript:window.close ();"&gt;閉じる&lt;/a&gt;</pre>]]>
    </content>
</entry>

<entry>
    <title>Fugue Icons 1.0</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/10/12.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.17</id>

    <published>2008-10-12T04:00:44Z</published>
    <updated>2008-10-12T04:04:19Z</updated>

    <summary>いい加減に作るか、ということで1000個にしてバージョン1.0リリース。 随分サ...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="icon" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p>いい加減に作るか、ということで1000個にして<a href="http://www.pinvoke.com/">バージョン1.0リリース</a>。</p>
<p>随分サボったけど4ヶ月でこれなら十分がんばりましたで賞ぐらいは。</p>]]>
        
    </content>
</entry>

<entry>
    <title>Twitterのタイムラインを読み込む</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/10/11.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.16</id>

    <published>2008-10-11T14:47:43Z</published>
    <updated>2008-10-12T01:27:10Z</updated>

    <summary>日付部分がアレなのがアレ。...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        日付部分がアレなのがアレ。
        <![CDATA[<p><a href="/blog/2008/10/11/sample/index.html">サンプル</a></p>
<pre name="code" class="js">$ (function () {
    $ ("&lt;script type='text/javascript' src='http://twitter.com/statuses/user_timeline/[ユーザー名].json?callback=twitterCallback&amp;amp;count=10'&gt;&lt;/scr" + "ipt&gt;").appendTo ("body");
    twitterCallback = function (result) {
        if (result.length) {
            var list = $ ("&lt;dl /&gt;").appendTo ("div#twitter");
            $.each (result, function (i, entry) {
                $ ("&lt;dt&gt;" + entry.created_at + "&lt;/dt&gt;").appendTo (list);
                $ ("&lt;dd&gt;&lt;a href='http://twitter.com/[ユーザー名]/statuses/" + entry.id + "'&gt;" + entry.text + "&lt;/a&gt;&lt;/dd&gt;").appendTo (list);
            });
        }
    };
});</pre>
<pre name="code" class="xml">&lt;div id="twitter"&gt;&lt;/div&gt;</pre>]]>
    </content>
</entry>

<entry>
    <title>検索キーワードに関連するブログ記事リストを表示</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/10/02.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.15</id>

    <published>2008-10-02T09:30:39Z</published>
    <updated>2008-10-11T11:58:08Z</updated>

    <summary>JavaScriptで検索キーワードを取得して、Google AJAX Sear...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p><a href="http://yusukekamiyamane.com/blog/2008/09/30.html">JavaScriptで検索キーワードを取得</a>して、<a href="http://code.google.com/intl/ja/apis/ajaxsearch/">Google AJAX Search API</a>にぶっこむだけ。</p>]]>
        <![CDATA[<p><strong>例:</strong></p>
<p>当サイト。</p>
<ol>
<li>Googleとかで「<a href="http://www.google.co.jp/search?hl=ja&amp;q=Fugue+Icons&amp;lr=lang_ja">Fugue Icons</a>」や「<a href="http://www.google.co.jp/search?hl=ja&amp;q=jQuery+%E6%B3%A8%E9%87%88%E3%83%AA%E3%82%B9%E3%83%88&amp;lr=lang_ja">jQuery 注釈リスト</a>」などと検索</li>
<li>検索結果からブログ記事を見る</li>
<li>右上とか、<a href="http://yusukekamiyamane.com/">ホーム</a>とか</li>
</ol>
<p>検索キーワードはセッションCookieで保持。</p>]]>
    </content>
</entry>

<entry>
    <title>JavaScriptで検索キーワードを取得</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/09/30.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.14</id>

    <published>2008-09-29T18:25:23Z</published>
    <updated>2008-10-11T04:36:55Z</updated>

    <summary>超適当版。 文字コード周りはEscape Codec Libraryで。 引数r...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p>超適当版。</p>
<p>文字コード周りは<a href="http://nurucom-archives.hp.infoseek.co.jp/digital/escape-codec-library.html">Escape Codec Library</a>で。</p>
<p>引数<code>referrer</code>はチェック用。</p>]]>
        <![CDATA[<p><a href="/blog/2008/09/30/sample/index.html">サンプル</a></p>
<pre name="code" class="js">function getSearchQuery (referrer) {
    if (/[?&](kw|MT|name|p|q|qt|query|search|word)=([^&]+)/.test (referrer || document.referrer)) {
        var query = RegExp.$2;
        return eval ("Unescape" + GetEscapeCodeType (query) + "('" + query.replace (/\+/g, " ") + "')").replace (/^\s+|\s+$/g, "");
    }
    return null;
}</pre>]]>
    </content>
</entry>

<entry>
    <title>SWFObjectとSafari</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/09/29c.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.13</id>

    <published>2008-09-29T13:35:35Z</published>
    <updated>2008-10-11T04:38:01Z</updated>

    <summary>プラグインを無効にしている場合にもまじめにインストールされているバージョンを返し...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        プラグインを無効にしている場合にもまじめにインストールされているバージョンを返してくれるのだけど、都合が悪いので0を返してくれるように改造。
        <![CDATA[<p><strong>オリジナル:</strong></p>
<pre name="code" class="js">...if(navigator.plugins&&navigator.mimeTypes.length)...</pre>
<p><strong>改造版:</strong></p>
<pre name="code" class="js">...if(navigator.plugins&&navigator.mimeTypes.length&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)...</pre>]]>
    </content>
</entry>

<entry>
    <title>Fugue Iconsだか何だか</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/09/29b.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.12</id>

    <published>2008-09-29T12:57:10Z</published>
    <updated>2008-09-29T13:26:17Z</updated>

    <summary>971個まで作ったところで仕事で中断。戻ってきたら超興味なくなっていた。 勢いっ...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="icon" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p>971個まで作ったところで仕事で中断。戻ってきたら超興味なくなっていた。</p>
<p>勢いって大切。</p>]]>
        
    </content>
</entry>

<entry>
    <title>フィードを読み込む</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/09/29a.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.11</id>

    <published>2008-09-29T12:38:50Z</published>
    <updated>2008-10-11T04:38:43Z</updated>

    <summary>Google AJAX Feed APIとjQueryで簡単に。...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="code" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p><a href="http://code.google.com/intl/ja/apis/ajaxfeeds/">Google AJAX Feed API</a>とjQueryで簡単に。</p>]]>
        <![CDATA[<p><a href="/blog/2008/09/29a/sample/index.html">サンプル</a></p>
<pre name="code" class="js">google.load ("feeds", "1");
google.load ("jquery", "1.2.6");
google.setOnLoadCallback (function () {
    var feed = new google.feeds.Feed ("http://news.google.com/?output=rss");
    feed.setNumEntries (10);
    feed.load (function (result) {
        if (!result.error) {
            var list = $ ("&lt;dl /&gt;").appendTo ("div#feed");
            $.each (result.feed.entries, function (i, entry) {
                $ ("&lt;dt&gt;" + entry.publishedDate + "&lt;/dt&gt;").appendTo (list);
                $ ("&lt;dd&gt;&lt;a href='" + entry.link + "'&gt;" + entry.title + "&lt;/a&gt;&lt;/dd&gt;").appendTo (list);
            });
        }
    });
});</pre>
<pre name="code" class="xml">&lt;div id="feed"&gt;&lt;/div&gt;</pre>]]>
    </content>
</entry>

<entry>
    <title>Fugue Iconsまたまた</title>
    <link rel="alternate" type="text/html" href="http://yusukekamiyamane.com/blog/2008/07/29.html" />
    <id>tag:yusukekamiyamane.com,2008:/blog//1.9</id>

    <published>2008-07-28T23:49:18Z</published>
    <updated>2008-07-28T23:56:15Z</updated>

    <summary>Speckyboyにも掲載された。 96 of the Best Ever Fr...</summary>
    <author>
        <name>y</name>
        
    </author>
    
        <category term="icon" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="ja" xml:base="http://yusukekamiyamane.com/blog/">
        <![CDATA[<p>Speckyboyにも掲載された。</p>
<p><a href="http://speckyboy.com/2008/07/28/96-best-ever-free-icon-sets-for-web-designers-developers-and-bloggers/">96 of the Best Ever Free Icon Sets - For Web Designers, Developers and Bloggers</a></p>
<p>アイコンは現在826個。目標の1000個はまだまだ。</p>]]>
        
    </content>
</entry>

</feed>
