<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>神戸のWeb制作事務所・ノーウェブノーライフ</title>
	<atom:link href="http://www.nowebnolife.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nowebnolife.com</link>
	<description>神戸、東京、大阪を中心にWebサイト制作やWebを利用したビジネスをお手伝いするWeb制作事務所「ノーウェブノーライフ」のWebサイト</description>
	<lastBuildDate>Wed, 14 Mar 2012 08:25:45 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>EC-CUBEで郵便番号DB登録に失敗したら</title>
		<link>http://www.nowebnolife.com/programming/zip-db-on-ec-cube/</link>
		<comments>http://www.nowebnolife.com/programming/zip-db-on-ec-cube/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 08:25:45 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[EC-CUBE]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=123</guid>
		<description><![CDATA[EC-CUBE上で郵便番号DBの登録は直接データベースを操作するとよい。]]></description>
			<content:encoded><![CDATA[<p>EC-CUBE上で郵便番号DB登録が失敗（プログレスバーが途中で停止）することがある。<br />
これはサーバーの設定によって接続がタイムアウトすることが原因のようだ。<br />
「手動登録」を繰り返すことで回避できる場合もあるようだが、<br />
何度挑戦しても失敗する場合は直接データベースを操作すると短時間で解決する。</p>

<h3>準備</h3>
<dl>
<dt>最新の郵便番号DB（CSV形式）をダウンロード</dt>
<dd><a href="http://www.post.japanpost.jp/zipcode/download.html" rel="external nofollow">郵便番号データダウンロード</a></dd>
<dd>「読み仮名データの促音・拗音を小書きで表記するもの」→「全国一括」</dd>
<dt>文字コードを変換</dt>
<dd>ダウンロードしたCSVファイルの文字コードを「Shift-JIS」から「UTF-8」に変換</dd>
</dl>

<h3>郵便番号DBのアップロードインポート</h3>
<ol>
<li>phpMyAdminでデータベースにアクセス</li>
<li>「mtb_zip」を空にする（空の場合はこのステップを省略）</li>
<li>郵便番号DBをインポートする。フィールド区切り記号は「,」</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/programming/zip-db-on-ec-cube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhoneのSafariなどで文字サイズが自動調整される</title>
		<link>http://www.nowebnolife.com/coding/automatically-resize-on-safari/</link>
		<comments>http://www.nowebnolife.com/coding/automatically-resize-on-safari/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 07:55:33 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[コーディング]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=117</guid>
		<description><![CDATA[iPhoneのSafariなどで文字サイズを自動で調整する機能をCSSで解除。]]></description>
			<content:encoded><![CDATA[<p>iPhoneのSafariなどでは文字サイズが自動で調整される。
その機能をCSSで解除。</p>

<pre class="brush: css; ">

* {
-webkit-text-size-adjust:none;
}

</pre>

<p>もちろん読みづらくなる場合もあるので可読性を重視。</p>]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/coding/automatically-resize-on-safari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>line-heightの継承</title>
		<link>http://www.nowebnolife.com/coding/line-height-succession/</link>
		<comments>http://www.nowebnolife.com/coding/line-height-succession/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 08:53:50 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[コーディング]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=109</guid>
		<description><![CDATA[CSSで行の高さを指定する「line-height」の継承について。]]></description>
			<content:encoded><![CDATA[<p>CSSで行の高さを指定する「line-height」の継承について。</p>

<p>リセット用CSSで</p>
<pre class="brush: css; ">

* {
line-height:1.5;
}

</pre>
<p>として、</p>
<pre class="brush: html; ">

&lt;h3&gt;1行目&lt;br /&gt;
2行目&lt;br /&gt;
3行目&lt;/h3&gt;

</pre>
<p>というhtmlに対して</p>
<pre class="brush: css; ">

h3 {
margin-bottom:10px;
line-height:1;
}

</pre>
<p>を指定したところ、3行目のみline-heightが有効になり、<br />
margin-botomが無視された。<br />
「!important」で優先度を上げても結果は同じだった。</p>
<p>とりあえずの対処法としてline-heightの一括指定をやめたところ、<br />
すべての行に指定したline-heightが適用された。</p>]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/coding/line-height-succession/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>「.htaccess」の設置で「Internal Server Error」</title>
		<link>http://www.nowebnolife.com/programming/internal-server-error-with-htaccess/</link>
		<comments>http://www.nowebnolife.com/programming/internal-server-error-with-htaccess/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 04:45:52 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[サーバー]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=106</guid>
		<description><![CDATA[「.htaccess」の設置で「Internal Server Error」になる理由。]]></description>
			<content:encoded><![CDATA[<p>「.htaccess」ファイルの設置に四苦八苦していると突然「Internal Server Error」に。<br />
記述は変えていないはずなのに・・・と思っていたら<br />
文字コードがそれまでとは異なるもので保存されていました。</p>
<p>また、「.htaccess」の内容を変更したにも関わらず、<br />
その変更が適用されない場合はブラウザのキャッシュが疑わしい。</p>]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/programming/internal-server-error-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpMyAdminでデータを一括置換</title>
		<link>http://www.nowebnolife.com/programming/one-step-replacement-by-phpmyadmin/</link>
		<comments>http://www.nowebnolife.com/programming/one-step-replacement-by-phpmyadmin/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 20:56:29 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=101</guid>
		<description><![CDATA[phpMyAdminでデータを一括置換するSQL。]]></description>
			<content:encoded><![CDATA[<p>phpMyAdminでデータを一括置換するSQL。</p>
<pre class="brush: sql; ">
update テーブル名 set カラム名=replace(カラム名,&#039;置換前&#039;,&#039;置換後&#039;)
</pre>]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/programming/one-step-replacement-by-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Illustratorでアウトライン化を一括で行う</title>
		<link>http://www.nowebnolife.com/design/one-step-outline/</link>
		<comments>http://www.nowebnolife.com/design/one-step-outline/#comments</comments>
		<pubDate>Sat, 28 May 2011 08:10:45 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[デザイン]]></category>
		<category><![CDATA[Illustrator]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=98</guid>
		<description><![CDATA[選択オブジェクトのアウトライン化を一括で行うことができます。]]></description>
			<content:encoded><![CDATA[<p>印刷データの納品時などに必要なテキストなどの「アウトライン化」。<br />
「右クリック→アウトラインを作成」でもできますが、<br />
テキストや画像が複雑に組み合わさったデザインでは簡単にはいきません。</p>
<p>次のコマンドで選択オブジェクトのアウトライン化を一括で行うことができます。<br />
「Ctrl + Shift + O（Windows）」</p>]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/design/one-step-outline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressで忘れがちな記述</title>
		<link>http://www.nowebnolife.com/programming/forgettable-description-of-wordpress/</link>
		<comments>http://www.nowebnolife.com/programming/forgettable-description-of-wordpress/#comments</comments>
		<pubDate>Wed, 25 May 2011 06:07:38 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=71</guid>
		<description><![CDATA[WordPressで忘れると大変なテクニックの備忘録。]]></description>
			<content:encoded><![CDATA[<p>WordPressサイトを製作時、使う頻度や重要度はそうでもないけれど、忘れると大変なテクニックの備忘録として。随時更新。</p>
<h3>クエリの初期化</h3>
<p>「query_posts()」で変更したカスタムループのクエリをリセットできる。</p>
<pre class="brush: php; ">
&lt;?php wp_reset_query(); ?&gt;
</pre>

<h3>query_post()使用時、カスタムフィールドの数字順に並べ替える</h3>
<p>通常は文字列として並べ替えられるがWP3.0以降では「orderby=meta_value_num」が使用できる。</p>
<pre class="brush: php; ">
query_post(&#039;orderby=meta_value_num&amp;amp;meta_key=custum_field_name&#039;)
</pre>

<h3>ショートコードをページテンプレートで使用する</h3>
<p>WordPressのショートコードはページテンプレートでそのまま記述しても動作しない。</p>
<pre class="brush: php; ">
&lt;?php echo(do_shortcode(&#039;[SHORTCODE]&#039;)); ?&gt;
</pre>

<h3>style.cssには「@charset &#8220;utf-8&#8243;;」を必ず書く</h3>
<p>オリジナルでテンプレートを作成した際に注意する。この記述が無くても多くのブラウザでは問題なく表示されるが、iPadに搭載されているSafariでは表示されないことがある。</p>
<pre class="brush: css; ">
@charset &quot;utf-8&quot;;
</pre>

<h3>ページテンプレートファイルの作り方</h3>
<p>ページテンプレートとするPHPファイルの先頭に下記を記述。</p>
<pre class="brush: php; ">

&lt;?php
/*
Template Name: template_name
*/
?&gt;

</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/programming/forgettable-description-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressの投稿ページで固定ページの内容を取得して表示</title>
		<link>http://www.nowebnolife.com/programming/pages-in-posts/</link>
		<comments>http://www.nowebnolife.com/programming/pages-in-posts/#comments</comments>
		<pubDate>Thu, 12 May 2011 19:13:50 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=90</guid>
		<description><![CDATA[「投稿（single.php）に固定ページ（page.php）を表示する方法」です。]]></description>
			<content:encoded><![CDATA[<p>「固定ページに投稿を表示」に比べると使用する機会は少ないと思いますが、<br />
「投稿（single.php）に固定ページ（page.php）を表示する方法」です。</p>
<p>「single.php」に下記内容を記述します。</p>

<pre class="brush: php; ">

$page=query_posts(&#039;pagename=slug_name&#039;);
echo $page[0]-&gt;post_content;

</pre>

<p>「slug_name」にはページのスラッグ名を指定します。<br />
子ページの場合は「親ページのスラッグ名/子ページのスラッグ名」と指定します。</p>]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/programming/pages-in-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressでよく使用するプラグイン</title>
		<link>http://www.nowebnolife.com/programming/frequently-uesd-wordpress-plugin/</link>
		<comments>http://www.nowebnolife.com/programming/frequently-uesd-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 02:56:48 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=34</guid>
		<description><![CDATA[WordPressで使用頻度の高いプラグインを随時更新。]]></description>
			<content:encoded><![CDATA[<p>随時更新。赤字は使用頻度の高いプラグイン。</p>

<h3>システムサポート</h3>

<dl>
<dt class="show">Akismet</dt>
<dd>スパムコメント対策プラグイン</dd>
<dt class="show">WP Multibyte Patch</dt>
<dd>マルチバイト文字の取り扱いに関する不具合の修正と強化を行うプラグイン</dd>
<dt class="show">Contact Form 7</dt>
<dd>お問い合せフォームプラグイン</dd>
<dt class="show">WP-DBManager</dt>
<dd>データベースのバックアップや最適化ができるプラグイン</dd>
<dt class="show">WP Super Cache</dt>
<dd>キャッシュを生成してサーバー負担軽減、表示の高速化が出来るプラグイン</dd>
<dt>Custom Field Template</dt>
<dd>カスタムフィールドの使用をサポートし、機能を拡充してくれるプラグイン</dd>
<dt>PS Disable Auto Formatting</dt>
<dd>自動で追加される段落タグを取り除くプラグイン</dd>
<dt>No Self Pings</dt>
<dd>同じブログ内の投稿へはピンバックを送信しないようにするプラグイン</dd>
</dl>

<h3>管理者補助</h3>

<dl>
<dt class="show">Maintenance Mode</dt>
<dd>開発、メンテナンス時に外部からの閲覧を制限してくれるプラグイン</dd>
<dt class="show">Duplicate Post</dt>
<dd>新しい投稿を既存の投稿を複製して作成できるプラグイン</dd>
<dt>Delete Duplicate Posts</dt>
<dd>重複した投稿を削除してくれるプラグイン</dd>
<dt>My Category Order</dt>
<dd>カテゴリーの表示順を任意で並べ替えるプラグイン</dd>
<dt>My Page Order</dt>
<dd>ページの表示順を任意で並べ替えるプラグイン</dd>
<dt>My Link Order</dt>
<dd>リンクの表示順を任意で並べ替えるプラグイン</dd>
<dt>Disable Revisions</dt>
<dd>リビジョン機能を停止するプラグイン</dd>
</dl>

<h3>SEO</h3>

<dl>
<dt class="show">Breadcrumb NavXT</dt>
<dd>パンくずリストを生成するプラグイン</dd>
<dt class="show">Google XML Sitemaps</dt>
<dd>Google用XMLサイトマップを作成できるプラグイン</dd>
<dt>Broken Link Checker</dt>
<dd>リンク切れをチェックできるプラグイン</dd>
<dt>Social Bookmarking JP</dt>
<dd>ソーシャルブックマークへの投稿ボタンを表示するプラグイン</dd>
</dl>

<h3>ユーザビリティ向上</h3>

<dl>
<dt class="show">WP-AutoPagerize</dt>
<dd>アーカイブなどでページャー機能を実装</dd>
<dt class="show">WPtouch</dt>
<dd>スマートフォン用表示を実現するプラグイン</dd>
<dt class="show">Ktai Style</dt>
<dd>モバイル用表示を実現するプラグイン</dd>
<dt>WP-PostViews</dt>
<dd>各投稿のアクセス数を表示できるプラグイン</dd>
<dt>Allow Categories</dt>
<dd>ログイン状態で表示できるカテゴリーを分けるプラグイン</dd>
</dl>

<h3>特殊</h3>

<dl>
<dt>Exec-PHP</dt>
<dd>WordPress上でPHPを動作させることができるプラグイン</dd>
<dt>SyntaxHighligter Evolved</dt>
<dd>ソースコードをわかりやすく表示するプラグイン</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/programming/frequently-uesd-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressで他のWordPressサイトのデータを取得</title>
		<link>http://www.nowebnolife.com/programming/how-to-get-another-wordpress-data/</link>
		<comments>http://www.nowebnolife.com/programming/how-to-get-another-wordpress-data/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 06:39:05 +0000</pubDate>
		<dc:creator>nowebnolife</dc:creator>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.nowebnolife.com/?p=42</guid>
		<description><![CDATA[他のWordPressサイトのデータを取得する方法。]]></description>
			<content:encoded><![CDATA[<p>WordPressから他のWordPressのデータを取得して利用することができます。<br /> ただし、下記の方法では同じデータベースにインストールしたWordPress間に限定されます。</p>

<p>インストール時、データベースの接頭辞をそれぞれ<br />
 「wp_」、「test_」としてインストールした場合、
<br /> 「wp_」側から「test_」の投稿などを取得するには</p>

<pre class="brush: php; ">

&lt;ul&gt;
&lt;?php
$results = $wpdb-&gt;get_results(&quot;SELECT post_title FROM test_posts&quot;);
foreach ($results as $value) {
print(&#039;&lt;li&gt;&#039;.$value-&gt;post_title.&#039;&lt;/li&gt;&#039;);
}
?&gt;
&lt;/ul&gt;

</pre>

<p>で一覧が取得できます。詳細はCodexの「データベース概要」参照。</p>
<p class="link"><a rel="external nofollow" href="http://wpdocs.sourceforge.jp/%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9%E6%A6%82%E8%A6%81">WordPress データベース概要</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nowebnolife.com/programming/how-to-get-another-wordpress-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

