<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Web備忘録</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/" />
    <link rel="self" type="application/atom+xml" href="http://www.kosaki.name/atom.xml" />
    <id>tag:www.kosaki.name,2007-12-07://2</id>
    <updated>2009-11-05T03:31:49Z</updated>
    <subtitle>web標準 xhtml css cms など、ウェブサイト構築上の備忘録</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.1</generator>

<entry>
    <title>Joomla! のフォーム作成エクステンション『Rsform!』(pro) で送信完了後ページ設定</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/cms/joomla/joomla-rsformpro/" />
    <id>tag:www.kosaki.name,2009://2.64</id>

    <published>2009-11-05T02:35:59Z</published>
    <updated>2009-11-05T03:31:49Z</updated>

    <summary>Joomla! のフォーム作成エクステンション『Rsform!』(pro) で、コンバージョンを測るための送信完了後ページの設定方法</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CMS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Joomla" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="joomla" label="Joomla!" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="コンポーネント" label="コンポーネント" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>Joomla! という CMS は初だったので、今後のためにメモ</h2>
<ol>
<li>コンポーネント</li>
<li>RSform!pro</li>
<li>Manage Forms</li>
<li>対象のフォームを選択</li>
<li>Ediv Form タブを選択</li>
</ol>
<p>上記の流れでへ編集画面へ移動し、<br />
「Return URL」へ送信後の URL を入力する。<br />
例） http://www.kosaki.name/thnx.html</p>
<p>
※「Edit the Thank You Message」のソースを空にしないと、上記で入力した URL へ移動しない。
</p>]]>
        
    </content>
</entry>

<entry>
    <title>MT 4 の body にカテゴリ別の id・class をつける方法メモ（Webページ向け）</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/cms/movable-type/mt-4-body-idclass-web/" />
    <id>tag:www.kosaki.name,2009://2.63</id>

    <published>2009-09-18T13:37:30Z</published>
    <updated>2009-09-18T13:42:27Z</updated>

    <summary>MT 4 の ウェブページの body に、カテゴリ別の id・class をつける方法メモ</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CMS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="body" label="body" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="class" label="class" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="css" label="css" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="id" label="id" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt" label="MT" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt42" label="MT4.2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ウェブページ" label="ウェブページ" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="カテゴリ" label="カテゴリ" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[ウェブページのテンプレートにて･･･<br /><br />&lt;link rel="stylesheet" href="/common/css/&lt;MTTopLevelFolder&gt;&lt;$MTFolderBasename$&gt;&lt;/MTTopLevelFolder&gt;.css" type="text/css" /&gt;<br />--<br />&lt;body id="p&lt;MTTopLevelFolder&gt;&lt;$MTFolderBasename$&gt;&lt;/MTTopLevelFolder&gt;" class="&lt;$MTPageBasename$&gt;"&gt;<br /><br /><br /><br />上記を設定することにより、カテゴリ・ページ毎のCSS設定がやりやすくなる。<br />]]>
        
    </content>
</entry>

<entry>
    <title>MT 4 のパンクズリスト作成方法メモ</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/cms/movable-type/mt-4-breadcrumb/" />
    <id>tag:www.kosaki.name,2009://2.62</id>

    <published>2009-09-18T07:49:13Z</published>
    <updated>2009-09-18T12:09:19Z</updated>

    <summary>MT 4 ウェブページ用のパンクズリスト作成方法メモ</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CMS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="mt" label="MT" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt42" label="MT4.2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="タグ" label="タグ" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="パンクズ" label="パンクズ" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[MT 4 でのパンクズリストの作成メモ<br /><br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;ol class="braadcrumb"&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href="&lt;$MTBlogURL$&gt;"&gt;Home&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;MTParentCategories&gt;&lt;li&gt;&lt;a href="&lt;$MTCategoryArchiveLink$&gt;"&gt;&lt;$MTCategoryLabel$&gt;&lt;/a&gt;&lt;/li&gt;&lt;/MTParentCategories&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;$MTEntryTitle$&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/ol&gt;<br /><br />&lt;MTParentCategories&gt;：表示ページの上位のカテゴリ(フォルダ)の分、繰り返す<br />&lt;$MTCategoryLabel$&gt;：カテゴリ(フォルダ)のラベル]]>
        
    </content>
</entry>

<entry>
    <title>さくらインターネットレンタルサーバで MT4 の拡張子を PHP にした場合のエラー対策</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/cms/movable-type/sakuraphp/" />
    <id>tag:www.kosaki.name,2009://2.61</id>

    <published>2009-07-04T06:38:04Z</published>
    <updated>2009-07-04T07:01:58Z</updated>

    <summary>さくらインターネットレンタルサーバで MT4 の拡張子を PHP にした場合のエラー対策</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CMS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="mt" label="MT" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt42" label="MT4.2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="php" label="PHP" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="php" label="php" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="さくらインターネット" label="さくらインターネット" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>MT4 の公開設定を PHP に</h2>
<p>MT４ の管理画面にて、[設定] - [公開] ページの「ファイルの拡張子」を「PHP」にした場合に、そのページファイルが表示されなかった（InternalServerError）ので、調べたところ...</p>

<h3>原因</h3>
<p>PHPはCGIとして動作し、ファイルもディレクトリもパーミッションは755もしくは705である必要があるが、PHPファイルのパーミッションが「666」等で作成されていた。</p>


]]>
        <![CDATA[<h3>対策</h3>
<p><a href="http://www.movabletype.jp/cgi-bin/mt4/mt-search.cgi?search=cgiwrap&IncludeBlogs=10">http://www.movabletype.jp/cgi-bin/mt4/mt-search.cgi?search=cgiwrap&IncludeBlogs=10</a><br />
<a href="http://www.movabletype.jp/cgi-bin/mt4/mt-search.cgi?search=Perms&IncludeBlogs=10">http://www.movabletype.jp/cgi-bin/mt4/mt-search.cgi?search=Perms&IncludeBlogs=10</a>
</p>
<p><strong>mt-config,cgi に、<br />
HTMLUmask 0022<br />
DirUmask 0022<br />
UploadUmask 0022<br />
DBUmask 0022<br />
HTMLPerms 0777<br />
UploadPerms 0777<br />
を追加し、上書きで完了。
</strong></p>]]>
    </content>
</entry>

<entry>
    <title>Zencart で「環境依存文字のチェック」や「半角カタカナを全角カタカナに変換」する javascript</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/cms/zen-cart/zencart-javascript/" />
    <id>tag:www.kosaki.name,2009://2.60</id>

    <published>2009-06-17T10:15:00Z</published>
    <updated>2009-06-17T10:20:42Z</updated>

    <summary>Zencart で「環境依存文字のチェック」や「半角カタカナを全角カタカナに変換」する javascript のご紹介</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CMS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Javascript" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="XHTML,CSS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Zen Cart" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="js" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="zencart" label="ZenCart" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="チェック" label="チェック" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="半角カタカナ" label="半角カタカナ" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="機種依存" label="機種依存" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<p><a href="http://www.h5.dion.ne.jp/~tangos/zencart/charCheck2.html" target="_blank">http://www.h5.dion.ne.jp/~tangos/zencart/charCheck2.html</a></p>

<p>上記サイトの3つの Javascript ファイルを「includes/templates/template_default/jscript/」ディレクトリに配置するだけで簡単に可能です！</p>]]>
        
    </content>
</entry>

<entry>
    <title>MT4 に絵文字を使用させるプラグイン emoddy</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/cms/movable-type/mt4-emoddy/" />
    <id>tag:www.kosaki.name,2009://2.59</id>

    <published>2009-05-11T02:48:47Z</published>
    <updated>2009-05-11T03:12:35Z</updated>

    <summary>MT4 に絵文字を使用させるプラグイン emoddy のご紹介</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CMS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="Movable Type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt" label="MT" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt41" label="MT4.1" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt42" label="MT4.2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="プラグイン" label="プラグイン" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="絵文字" label="絵文字" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<p>MT4 に絵文字を使用させるプラグイン emoddy のご紹介。<br />
（配布サイトより引用）</p>
<p>Movable Type 4.0, 4.1, 4.2 に対応（09/05/11 現在）</p>
<p>サンプル：<img src="http://www.kosaki.name/weblog/mt-static/plugins/emoddy/images/emoticons/gemini.gif" alt="icon:gemini"><img src="http://www.kosaki.name/weblog/mt-static/plugins/emoddy/images/emoticons/happy01.gif" alt="icon:happy01"><img src="http://www.kosaki.name/weblog/mt-static/plugins/emoddy/images/emoticons/wobbly.gif" alt="icon:wobbly"><img src="http://www.kosaki.name/weblog/mt-static/plugins/emoddy/images/emoticons/smoking.gif" alt="icon:smoking"></p>
<h2>特徴</h2>
<ul>
<li>設置が簡単</li>
<li>コメントにも対応可能</li>
<li>好きなディレクトリに簡単に画像の追加が可能</li>
</ul>
<p>emoddy ダウンロードサイト：<a href="http://css-happylife.com/log/movabletype-plugin/000727.shtml" target="_blank">http://css-happylife.com/log/movabletype-plugin/000727.shtml</a></p>]]>
        
    </content>
</entry>

<entry>
    <title>CSS でナビゲーション画像のロールオーバー設定</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/xhtmlcss/css/css/" />
    <id>tag:www.kosaki.name,2009://2.58</id>

    <published>2009-03-12T04:26:10Z</published>
    <updated>2009-03-12T04:47:48Z</updated>

    <summary>一枚のナビゲーション画像を、通常時とロールオーバー時で表示を切り替える方法</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CSS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="XHTML,CSS" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="css" label="CSS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ナビゲーション" label="ナビゲーション" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ロールオーバー" label="ロールオーバー" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>a:hover でのナビゲーションの画像表示の変更方法</h2>
<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="navi_dummy.gif" src="http://www.kosaki.name/2009/03/12/navi_dummy.gif" width="100" height="100" class="mt-image-right" style="float: right; margin: 0 0 20px 20px;" /></span>
<p>一枚のナビゲーション画像を、通常時とロールオーバー時で表示を切り替える方法として、サンプル用画像として、この画像を使用。</p>
<p>今回は上半分を通常時、下半分をロールオーバー時用として作成。（画像ロード時の切り替え時のタイムロスを少なくするため）</p>
<h2>サンプル html(body内)</h2>
<pre><code>
&lt;ul&gt;
&lt;li class="testClassName1"&gt;&lt;a href="#"&gt;ナビメニュー１&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>
<h2>サンプル css</h2>
<pre></code>
&lt;style type="text/css"&gt;
&lt;!--
.testClassName a {
display: block; /* a をブロック化し、 */
width: 100px; /* 幅の設定と */
height: 50px; /* 高さの設定 */
background: url(naviImg.gif) no-repeat center top; /* 通常時の背景画像（上半分）の設定 */
text-indent: -1000em; /* テキストをマイナスインデントで飛ばす */
}
.testClassName a:hover {
background: url(naviImg.gif) no-repeat center bottom; /* ロールオーバー時の背景画像（下半分）の設定 */}
-->
&lt;/style&gt;
</code></pre>]]>
        
    </content>
</entry>

<entry>
    <title>htaccess でリダイレクト</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/tips/htaccess/htaccess-1/" />
    <id>tag:www.kosaki.name,2008://2.57</id>

    <published>2008-12-22T11:55:03Z</published>
    <updated>2008-12-22T12:13:40Z</updated>

    <summary>SEO にも効果がある htaccess を使用したリダイレクト方法</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="htaccess" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="htaccess" label="htaccess" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="seo" label="SEO" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="リダイレクト" label="リダイレクト" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<p><em>.htaccess ファイルは、サーバの挙動を決定する設定ファイルのひとつです。通常、サーバの設定は httpd.conf ファイル ( /usr/local/apache/conf/httpd.conf を探してください ) に記述しますが、このファイルはサーバ管理者しか編集できません。一方、.htaccess ファイルは各ユーザが、各ディレクトリ単位で設定できます。</em></p>
<a href="http://mikeneko.creator.club.ne.jp/~lab/web/htaccess/usage.html" target="_blank">htaccessの設定方法</a>などはここでは省略し、
&lt;meta http-equiv="refresh" ～
よりもスマートな、htaccess を使用したリダイレクト方法。

<p><br />
以下、とあるサイトからの引用<br />
<blockquote><pre><code>Redirect permanent /test/ http://www.shtml.jp/htaccess/<br />
</code></pre>とすれば、http://www.shtml.jp/test/以下にあるファイルへのアクセスがあった場合には、リダイレクトされます。例えば、 http://www.shtml.jp/test/basic.htmlへのアクセスは、http: //www.shtml.jp/htaccess/basic.htmlへリダイレクトされます。</blockquote></p>

<p>また、画像などにも使用可能<br />
<blockquote><pre><code>RedirectMatch (.*)\.gif$ http://www.anotherserver.jp$1.jpg</code></pre>などとします。<br />
ここで、正規表現を簡単に説明しますと、「括弧（）」で囲まれた部分に入るものが$1に置き換えられます。<br />
例えば、「http: //www.example.com/test/abc.gif」へのアクセスは「http://www.anotherserver.jp」と「$1 = /test/abc」と「.jpg」を合体させた「http://www.anotherserver.jp/test/abc.jpg」に転送されるという意味になります。</blockquote></p>]]>
        <![CDATA[<p>------------------------<br />
<strong>「.htaccess」メモ</strong></p>

<p>301リダイレクト（永久的）<br />
RedirectPermanent<br />
⇒　URL やファイル名の変更時など</p>

<p>302リダイレクト（一時的）<br />
RedirectTemp<br />
⇒　メンテナンス時など</p>

<p>例）htmlにアクセスがあったらphpに自動転送<br />
RedirectMatch (.*)\.html$ $1.php</p>]]>
    </content>
</entry>

<entry>
    <title>MT 4.2 のタグクラウドの javascript を外す</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/cms/movable-type/mt-42-javascript/" />
    <id>tag:www.kosaki.name,2008://2.56</id>

    <published>2008-11-08T05:38:27Z</published>
    <updated>2008-11-08T05:51:40Z</updated>

    <summary>MT 4.2 になってから、デフォルトで設定されているタグクラウドのリンクが javascript になっているので、通常のリンクに修正する方法</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CMS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="Movable Type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt42" label="MT4.2" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="タグクラウド" label="タグクラウド" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>MT 4.2 になってから、デフォルトで設定されているタグクラウドのリンクが javascript になっているので、通常のリンクに修正する方法</h2>
<pre>
<code>
&lt;mt:If tag="Tags"&gt;
&lt;div class="widget-tag-cloud widget"&gt;
    &lt;h3 class="widget-header"&gt;タグクラウド&lt;/h3&gt;
    &lt;div class="widget-content"&gt;
        &lt;ul&gt;
    &lt;mt:Tags top="20"&gt;
            &lt;li class="rank-&lt;$mt:TagRank max="10"$&gt;"&gt;&lt;a href="&lt;$mt:TagSearchLink encode_js="1"$&gt;" rel="tag"&gt;&lt;$mt:TagName$&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/mt:Tags&gt;
        &lt;/ul&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;/mt:If&gt;
</code>
</pre>
<p>...と、javascript の記述を外すだけでOK</p>]]>
        
    </content>
</entry>

<entry>
    <title>特定のディレクトリ内のファイルへのナビゲーション作成（php5）</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/tips/php/pageswitch/" />
    <id>tag:www.kosaki.name,2008://2.55</id>

    <published>2008-11-06T08:54:10Z</published>
    <updated>2008-11-08T05:45:16Z</updated>

    <summary>特定のディレクトリ内のファイル一覧を取得しナビゲーションを作成する方法（php5）</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="Tips" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="php" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="php" label="php" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ナビゲーション" label="ナビゲーション" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ページナビ" label="ページナビ" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>特定のディレクトリ内のファイルへのナビゲーション作成（php5）</h2>

<p>仕事で使用したのでメモ。</p>
<p>下記、phpファイル（正しくはファイル名に「php」を含むもの）へのリンクを作成したい場合。</p>

<pre><code>

 &lt;?php
	$a = scandir("ディレクトリのパス", 1); // $a は配列になる。この場合は降順。
 	$i = 1 ;
	echo " &lt;ul class='pageSwitch'&gt;";
	foreach ($a as $value) {
		if(eregi("php", $value)) { // 「php」をファイル名に含む場合。
			echo " &lt;li&gt;&lt;a href='$value'&gt;$i &lt;/a&gt;&lt;/li&gt;";
			$i++;
		}
	}
	echo " &lt;/ul&gt;";
?>

</code></pre>]]>
        
    </content>
</entry>

<entry>
    <title>メールアドレスの書式をチェックする Javascript</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/xhtmlcss/javascript/javascript-email-check/" />
    <id>tag:www.kosaki.name,2008://2.54</id>

    <published>2008-07-09T07:38:12Z</published>
    <updated>2008-10-30T11:28:48Z</updated>

    <summary>メールアドレス,書式,チェック,正規表現,javascript</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="Javascript" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="XHTML,CSS" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="javascript" label="javascript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="js" label="js" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[Javascript でメールアドレスの書式をチェックする正規表現。
※20080809修正
<pre>
<code>
<del>
if (!document.form.name.value.match(/^[A-Za-z0-9]+[\w-]+@[\w\.-]+\.\w{2,}$/)){
	alert("e-mailアドレスをご確認ください。");
	return false;
}
</del>
<ins>
if (!document.form.name.value.match(/^[A-Za-z0-9._-]+[\w-]+[\w-]+@[\w\.-]+\.\w{2,}$/)) {
	alert("メールアドレスの書式を正しく入力してください");
	return;
}
</ins>
</code>
</pre>]]>
        
    </content>
</entry>

<entry>
    <title>Movable Type 4.2（beta）発表</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/cms/movable-type/movable-type-42/" />
    <id>tag:www.kosaki.name,2008://2.53</id>

    <published>2008-06-27T02:35:58Z</published>
    <updated>2008-06-27T02:49:10Z</updated>

    <summary>Movable Type 4.2（beta）が発表されました</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CMS" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Movable Type" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="movabletype" label="Movable Type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>Movable Type 4.2 発表！ さらに強力なCMSへと進化しました</h2>
<p class="alignR"><small>(six apart News Letter より)</small></p>

<p>
再構築処理速度45%近くのアップ、アンチスパム機能強化、OpenID2.0対応など、進化し続けるCMSツールとして、さらにパワーアップしました。
</p>
<p><a href="http://www.movabletype.jp/beta/42/" target="_blank">Movable Type 4.2(RC版)のダウンロードはこちら</a><br />（※ 2008-6-26 AM11:45 現在、404 Not Found）</p>]]>
        
    </content>
</entry>

<entry>
    <title>CSS3 について</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/news/css3/css3/" />
    <id>tag:www.kosaki.name,2008://2.52</id>

    <published>2008-05-31T18:05:55Z</published>
    <updated>2008-05-31T18:17:47Z</updated>

    <summary>CSS3 についての情報を収集</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="CSS3" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="News" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="css" label="CSS" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="css3" label="CSS3" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="rss" label="RSS" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>CSS3 についての情報を収集</h2>
<p>「<strong>CSS3</strong>」を含む記事を掲載。</p>
]]>
        <![CDATA[<?php
include('/virtual/kosaki/public_html/weblog/magpie/rss3.php');
?>]]>
    </content>
</entry>

<entry>
    <title>html5 について</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/news/html5/html5/" />
    <id>tag:www.kosaki.name,2008://2.51</id>

    <published>2008-05-31T18:04:21Z</published>
    <updated>2008-05-31T18:24:43Z</updated>

    <summary>html5 についての情報を収集</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="News" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="html5" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="html5" label="html5" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>html5 についての情報を収集</h2>
<p>「<strong>html5</strong>」を含む記事を掲載。</p>
]]>
        <![CDATA[<?php
include('/virtual/kosaki/public_html/weblog/magpie/rss1.php');
?>]]>
    </content>
</entry>

<entry>
    <title>xhtml2.0 について</title>
    <link rel="alternate" type="text/html" href="http://www.kosaki.name/news/xhtml2/xhtml2/" />
    <id>tag:www.kosaki.name,2008://2.50</id>

    <published>2008-05-31T17:59:23Z</published>
    <updated>2008-05-31T18:23:20Z</updated>

    <summary>xhtml2.0 についての情報を収集</summary>
    <author>
        <name>Kosaki</name>
        
    </author>
    
        <category term="News" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="xhtml2" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="xhtml" label="XHTML" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="xhtml20" label="XHTML2.0" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.kosaki.name/">
        <![CDATA[<h2>xhtml2.0 についての情報を収集</h2>
<p>「<strong>xhtml2.0</strong>」を含む記事を掲載。</p>
]]>
        <![CDATA[<?php
include('/virtual/kosaki/public_html/weblog/magpie/rss2.php');
?>]]>
    </content>
</entry>

</feed>
