<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>自転車で通勤しましょ♪ブログ &#187; MODx</title>
	<atom:link href="http://319ring.net/blog/category/modx/feed" rel="self" type="application/rss+xml" />
	<link>http://319ring.net/blog</link>
	<description>自転車とか、プログラムとか、書評とか、気になったものについて書いていきます</description>
	<lastBuildDate>Wed, 08 Sep 2010 16:25:10 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://319ring.net/blog/category/modx/feed" />
		<item>
		<title>MODx:Too many forward attempts!</title>
		<link>http://319ring.net/blog/archives/552</link>
		<comments>http://319ring.net/blog/archives/552#comments</comments>
		<pubDate>Thu, 29 Jan 2009 15:33:44 +0000</pubDate>
		<dc:creator>パトラッシュ</dc:creator>
				<category><![CDATA[MODx]]></category>

		<guid isPermaLink="false">http://319ring.net/blog/?p=552</guid>
		<description><![CDATA[MODxで新しいページを作って、アクセスしてみたら、エラーになった。
ERROR: Too many forward attempts!

The request could not be completed due t [...]]]></description>
			<content:encoded><![CDATA[<p>MODxで新しいページを作って、アクセスしてみたら、エラーになった。</p>
<pre>ERROR: Too many forward attempts!

The request could not be completed due to too many unsuccessful forward attempts.</pre>
<p>なんだ？このメッセージは。</p>
<p>ググッっても、英語のページにしか辿り着かないが、とりあえずちょいちょい読んでみたら、</p>
<p><strong>ツール-&gt;MODx設定-&gt;サイト</strong></p>
<p>の、エラーページと権限外告知のページのIDが存在しないものになっていたので、そのせいだという。なので、早速ドキュメント作成を行い、エラー用のページを作成し、そのドキュメントのIDをエラーページと権限外告知のページとして設定したら、上記の英語でのエラーメッセージは表示されなくなり、先ほど作ったエラーページが表示されるようになった。</p>
<p>俺の目的は、新しく作ったページがエラー扱いされていることが問題なので、まだ解決はしていなかった。よくよく調べたら、フォルダとして作成したドキュメントのエイリアスが空だったため、フォルダの役割をしていなかったことが原因だった…。あ～、恥ずかしい。</p>
<p>ちなみに、エラーページは存在しないページを指定されたときに必ず表示されてしまうため、何かの拍子で検索エンジンに収集されたらマズイなと思ったので、エラーページのドキュメントにはmetaタグの</p>
<pre class="html">&lt;meta content="noindex,nofollow" name="robots"/&gt;</pre>
<p>を追加しておいた。metaタグは、</p>
<p><strong>リソース-&gt;metaタグとキーワードの管理</strong></p>
<p>から作成することができる。</p>
]]></content:encoded>
			<wfw:commentRss>http://319ring.net/blog/archives/552/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://319ring.net/blog/archives/552" />
	</item>
		<item>
		<title>MODxのイベントログ対策</title>
		<link>http://319ring.net/blog/archives/549</link>
		<comments>http://319ring.net/blog/archives/549#comments</comments>
		<pubDate>Thu, 29 Jan 2009 15:09:04 +0000</pubDate>
		<dc:creator>パトラッシュ</dc:creator>
				<category><![CDATA[MODx]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Integrator]]></category>

		<guid isPermaLink="false">http://319ring.net/blog/?p=549</guid>
		<description><![CDATA[MODxにログインしてみたら、イベントログが溢れるくらい大きくなっていた。もちろん、エラーログだ。なぜこんなことになったのだろうか？色々と直していたはずなのに…。
どうもちゃんと動いているけれど、エラーログは裏でめちゃく [...]]]></description>
			<content:encoded><![CDATA[<p>MODxにログインしてみたら、イベントログが溢れるくらい大きくなっていた。もちろん、エラーログだ。なぜこんなことになったのだろうか？色々と直していたはずなのに…。</p>
<p>どうもちゃんと動いているけれど、エラーログは裏でめちゃくちゃ出してるということだった。よく考えたら、WordPressを自動アップデートした影響かもしれないと思って、ログの意味を調べていたら、下記のサイトを見つけた。</p>
<p><a href="http://tkfm.net/log/eid334.html">http://tkfm.net/log/eid334.html</a></p>
<p>このサイトの情報を基に、=&amp;を=に変更、 コンストラクタをコメントアウトしていった。冷静にログを見たら、コンストラクタが既にあるのに、また定義されてまっせーということだ。Wordpressとしては、PHP4とPHP5で動くようにということでしょうな。</p>
<p>これにて、ようやくイベントログが静かになった。<br />
おちおちWordPressのバージョンアップもできんな～…。複雑な気分。</p>
]]></content:encoded>
			<wfw:commentRss>http://319ring.net/blog/archives/549/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://319ring.net/blog/archives/549" />
	</item>
		<item>
		<title>xreaでwordpress2.7にアップグレードする方法</title>
		<link>http://319ring.net/blog/archives/532</link>
		<comments>http://319ring.net/blog/archives/532#comments</comments>
		<pubDate>Thu, 18 Dec 2008 16:31:25 +0000</pubDate>
		<dc:creator>パトラッシュ</dc:creator>
				<category><![CDATA[MODx]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Integrator]]></category>
		<category><![CDATA[xrea]]></category>

		<guid isPermaLink="false">http://319ring.net/blog/?p=532</guid>
		<description><![CDATA[xreaで、wordpress2.7を使ってるんですが、アップグレードしたにも関わらず、
wordpress2.7にアップグレードしてください
って出続ける…。なんでだ！
そう思っていたら、WordPress本家のサイト [...]]]></description>
			<content:encoded><![CDATA[<p>xreaで、wordpress2.7を使ってるんですが、アップグレードしたにも関わらず、</p>
<pre>wordpress2.7にアップグレードしてください</pre>
<p>って出続ける…。なんでだ！</p>
<p>そう思っていたら、<a href="http://ja.wordpress.org/2008/12/14/wordpress-27-ja/">WordPress本家のサイト</a>に</p>
<pre>
2.7 英語版へすでにアップグレードを済ませたにも関わらず更新のお知らせが
管理画面に表示されている場合、自動アップグレード機能を使って 2.7 日本語版に
更新する事ができます。
ツール＞アップグレードのパネルで、「2.7–ja をダウンロード」というボタンの
左にある「自動アップグレードを実行」ボタンをクリックすれば、
日本語版の最新ファイルへアップグレードされます。
</pre>
<p>と書いてありました。とりあえずやってみることにする。</p>
<p>ちなみにxreaの場合です。</p>
<ol>
<li>WordPressにログイン-&gt;ツール-&gt;アップグレード-&gt;自動アップグレードを選択する</li>
<li>ホスト名：******.s311.xrea.com（******はxreaのアカウント名。s311は任意のサーバに変更）</li>
<li>ユーザ名：******</li>
<li>パスワード：XXXXXX（もちろんここはそれぞれのFTPパスワード）</li>
<li>接続方式：FTP（私はFTPにした）</li>
<li>開始ボタンをクリック</li>
</ol>
<p>にしたらアップグレードできました！<br />
s311.xrea.comでやっても、WordPressのインストールディレクトリが見つからないと怒られました(&gt;_&lt;)</p>
<p>ちなみに、MODｘ経由のWordPress Integratorを使ってる人は、<br />
wp-settings.phpの=&amp;を=のみに置換しないとエラーになるので要注意！！</p>
]]></content:encoded>
			<wfw:commentRss>http://319ring.net/blog/archives/532/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://319ring.net/blog/archives/532" />
	</item>
		<item>
		<title>WordPressIntegrator:記事毎のページのコメント、トラックバック</title>
		<link>http://319ring.net/blog/archives/499</link>
		<comments>http://319ring.net/blog/archives/499#comments</comments>
		<pubDate>Sat, 13 Dec 2008 18:42:51 +0000</pubDate>
		<dc:creator>パトラッシュ</dc:creator>
				<category><![CDATA[MODx]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Integrator]]></category>

		<guid isPermaLink="false">http://319ring.net/blog/?p=499</guid>
		<description><![CDATA[WordPressIntegratorを使ってると、記事毎のページのコメント・トラックバックのところの文言が、コメントもトラックバックも受け付けているにも関わらず、受け付けていないという表記になってしまいます。
これを改 [...]]]></description>
			<content:encoded><![CDATA[<p>WordPressIntegratorを使ってると、記事毎のページのコメント・トラックバックのところの文言が、コメントもトラックバックも受け付けているにも関わらず、受け付けていないという表記になってしまいます。</p>
<p>これを改善する方法は、wp-content/themes/使ってるテーマ/single.phpにて</p>
<pre name="code" class="php">&lt;?php global $post; ?&gt;</pre>
<p>を追加すればよいです。</p>
<p>ただし、このままだと表示されるコメントへのリンクが切れています。<br />
（base urlの影響で、http://example.com/blog/#respondのようになる）<br />
自分的には、コメントはすぐ下にあるからということで、コメントへのリンクのみ削除しました。</p>
<pre name="code" class="php">&lt;?php printf('コメントを残すか、ご自分のサイトから&lt;a rel="trackback" href="%s"&gt;トラックバック&lt;/a&gt;することができます', trackback_url(false)); ?&gt;</pre>
<table  border="0" cellpadding="5">
<tr>
<td colspan="2"><a href="http://www.amazon.co.jp/MODx%E3%81%A7%E3%81%A4%E3%81%8F%E3%82%8B-%E6%9C%80%E5%BC%B7%E3%81%AECMS%E3%82%B5%E3%82%A4%E3%83%88-MODx%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A9%E3%83%A0Japanese-Co/dp/4881665731%3FSubscriptionId%3D0G91FPYVW6ZGWBH4Y9G2%26tag%3Dcyclestyle-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4881665731" target="_top">MODxでつくる!最強のCMSサイト</a><img src='http://www.assoc-amazon.jp/e/ir?t=cyclestyle-22&#038;l=ur2&#038;o=9' width='1' height='1' border='0' alt='' /></td>
</tr>
<tr>
<td valign="top"><a href="http://www.amazon.co.jp/MODx%E3%81%A7%E3%81%A4%E3%81%8F%E3%82%8B-%E6%9C%80%E5%BC%B7%E3%81%AECMS%E3%82%B5%E3%82%A4%E3%83%88-MODx%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A9%E3%83%A0Japanese-Co/dp/4881665731%3FSubscriptionId%3D0G91FPYVW6ZGWBH4Y9G2%26tag%3Dcyclestyle-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4881665731" target="_top"><img src="http://ecx.images-amazon.com/images/I/51GqFude-nL._SL160_.jpg" border="0" alt="MODxでつくる!最強のCMSサイト" /></a></td>
<td valign="top"><font size="-1">MODxフォーラムJapanese Co</p>
<p><strong>おすすめ平均</strong> <img src="http://g-images.amazon.com/images/G/01/detail/stars-3-5.gif" /><br /><img src="http://g-images.amazon.com/images/G/01/detail/stars-3-0.gif" alt="stars" />もったいない・・<br /><img src="http://g-images.amazon.com/images/G/01/detail/stars-3-0.gif" alt="stars" />もっとスニペットの解説が欲しい・・<br /><img src="http://g-images.amazon.com/images/G/01/detail/stars-4-0.gif" alt="stars" />基本事項はバッチリ網羅<br /><img src="http://g-images.amazon.com/images/G/01/detail/stars-3-0.gif" alt="stars" />導入、設定、利用手引き書としての価値<br /><img src="http://g-images.amazon.com/images/G/01/detail/stars-5-0.gif" alt="stars" />MODxを使いこなすには絶対必要</p>
<p><a href="http://www.amazon.co.jp/MODx%E3%81%A7%E3%81%A4%E3%81%8F%E3%82%8B-%E6%9C%80%E5%BC%B7%E3%81%AECMS%E3%82%B5%E3%82%A4%E3%83%88-MODx%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A9%E3%83%A0Japanese-Co/dp/4881665731%3FSubscriptionId%3D0G91FPYVW6ZGWBH4Y9G2%26tag%3Dcyclestyle-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4881665731" target="_top">Amazonで詳しく見る</a></font><font size="-2"> by <a href="http://www.goodpic.com/mt/aws/index.html" >G-Tools</a></font></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://319ring.net/blog/archives/499/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://319ring.net/blog/archives/499" />
	</item>
		<item>
		<title>サイトをMODxでリプレース</title>
		<link>http://319ring.net/blog/archives/469</link>
		<comments>http://319ring.net/blog/archives/469#comments</comments>
		<pubDate>Mon, 08 Dec 2008 17:57:07 +0000</pubDate>
		<dc:creator>パトラッシュ</dc:creator>
				<category><![CDATA[MODx]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Integrator]]></category>

		<guid isPermaLink="false">http://319ring.net/blog/?p=469</guid>
		<description><![CDATA[自転車で通勤しましょ♪をMODxでリプレースしました。ようやく叶った。まあこれで便利になったわけでもないですが。
またこのブログもMovabletypeから、WordPress Integratorを使って、WordPr [...]]]></description>
			<content:encoded><![CDATA[<p>自転車で通勤しましょ♪をMODxでリプレースしました。ようやく叶った。まあこれで便利になったわけでもないですが。</p>
<p>またこのブログもMovabletypeから、WordPress Integratorを使って、WordPressに変えました。リプレースするまでは更新しないでおこうと思っていたため、ここのところ更新が滞っていましたが、これからはできるだけ更新しようと思います。</p>
<p>しかし、まだ問題があります。。。ブログの画像が表示されない。。。<br />
デザインのほうはCSSでできるんですけど。ここらへんはまだ要調査ですね。</p>
]]></content:encoded>
			<wfw:commentRss>http://319ring.net/blog/archives/469/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://319ring.net/blog/archives/469" />
	</item>
		<item>
		<title>WordPressIntegratorでの問題：解決！</title>
		<link>http://319ring.net/blog/archives/465</link>
		<comments>http://319ring.net/blog/archives/465#comments</comments>
		<pubDate>Thu, 27 Nov 2008 17:45:43 +0000</pubDate>
		<dc:creator>パトラッシュ</dc:creator>
				<category><![CDATA[MODx]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[日記]]></category>

		<guid isPermaLink="false">http://319ring.net/blog/archives/465</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>先日の日記で、WordPressIntegratorでエラーが発生して、MODx経由でブログが表示できなかった原因がわかりました。うーん、それにしても何故だろう？WordPressのほうの設定で、WordPressのアドレス（URL）のホスト名のところをlocalhostにしていたからでした。</p>
<p>つまり、</p>
<p>http://localhost/modx/wp</p>
<p>みたいにしていました。これを、</p>
<p>http://192.168.***.***/modx/wp</p>
<p>にしたら動きました。（*はご自分の環境に合わせてください）</p>
<p>同じく、ブログのアドレス（URL）を、WordPressIntegratorのWordPressRouterで定義するWORDPRESS_ALIASと同じにすればよいです。</p>
<p>define(&#8216;WORDPRESS_ALIAS&#8217;, &#8216;blog&#8217;);</p>
<p>で、ブログのアドレス（URL）は、</p>
<p>http://192.168.***.***/modx/blog/</p>
<p>です。（*はご自分の環境に合わせてください）</p>
<p>とりあえず、第一の関門を突破したので早いところMODxで作成したサイトでリプレースしたいものです。</p>
]]></content:encoded>
			<wfw:commentRss>http://319ring.net/blog/archives/465/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://319ring.net/blog/archives/465" />
	</item>
		<item>
		<title>MODx:WordPressIntegratorで躓いた</title>
		<link>http://319ring.net/blog/archives/464</link>
		<comments>http://319ring.net/blog/archives/464#comments</comments>
		<pubDate>Mon, 24 Nov 2008 17:37:42 +0000</pubDate>
		<dc:creator>パトラッシュ</dc:creator>
				<category><![CDATA[MODx]]></category>

		<guid isPermaLink="false">http://319ring.net/blog/archives/464</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p>WordPressIntegratorをXAMPP環境で動かそうとしたら、WordPressのcron.phpで、fsockopenのエラーが出て終わってしまう。</p>
<p>ネットで調べたら、fsockopenでの接続時間が短すぎるから、MODx経由だと指定時間以上かかってしまうため、エラーになるみたいに書いてあった。
<ul>
<li><a href="http://kojinteki.blogspot.com/2008/10/wordpressintegrator.html">個人的なweb勉強メモでごめんなさい</a></li>
</ul>
<p>そこで、時間を長くしてみたが、どうもうまくいかない。デフォルトにしたら、タイムアウトしてしまった。これはどうも、接続に失敗してるっぽい。しかし、ローカルホストからローカルホストなんだから、失敗するわけないやんけ！というのが正直なところである。</p>
<p>ひょっとしたら、ファイアウォールか？と思って、一時的にファイアウォールをOFFにして臨んでみたが、失敗。うーん、迷宮入り。同じような状況になった人はいるのだろうか？</p>
<p>XAMPP環境じゃなくて、Linux環境を構築して、xreaと同じディレクトリ構成とかにして、テスト環境つくったほうがいいかもな?とか、今更ながら考えた。お?、そりゃいいじゃん。よし、やってみようかな。とりあえずVMWareを使ってみるか。ついでに勉強しよう。</p>
]]></content:encoded>
			<wfw:commentRss>http://319ring.net/blog/archives/464/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://319ring.net/blog/archives/464" />
	</item>
	</channel>
</rss>
