
<?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>Rif.3rd return &#187; title</title>
	<atom:link href="http://rikaizm.com/articles/tag/title/feed" rel="self" type="application/rss+xml" />
	<link>http://rikaizm.com</link>
	<description>I love Wordpress</description>
	<lastBuildDate>Wed, 16 Dec 2009 16:47:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://rikaizm.com/articles/tag/title/feed" />
		<item>
		<title>記事タイトルを手書きフォントに</title>
		<link>http://rikaizm.com/articles/wordpress/djtr.html</link>
		<comments>http://rikaizm.com/articles/wordpress/djtr.html#comments</comments>
		<pubDate>Thu, 15 Jan 2009 11:26:21 +0000</pubDate>
		<dc:creator>Rika</dc:creator>
				<category><![CDATA[WORDPRESS]]></category>
		<category><![CDATA[PLUGIN]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://rikaizm.com/?p=800</guid>
		<description><![CDATA[ブログタイトルと投稿記事のタイトル、コメント送信者の名前をpluginを利用して手書きフォントで画像表示しました。]]></description>
			<content:encoded><![CDATA[<p>ブログタイトルと投稿記事のタイトル、コメント送信者の名前などをWordpress pluginを利用して手書きフォントで画像表示しました。</p>
<h3 id="toc-">使用プラグイン</h3>
<ul>
<li><a href="http://www.techdego.com/2007/04/wp-djtr.php">テキストを画像に変換するプラグインwp-DJTR | Tech de Go</a></li>
</ul>
<p>他の似たプラグインと比べて気に入っている点</p>
<ul>
<li>日本語が簡単に使える</li>
<li>フォルダにフォントファイルを入れるだけで複数のフォントが使える</li>
<li>投稿記事の中にも使える</li>
</ul>
<h4 id="toc-1">使用方法</h4>
<p>インストールも使用方法も上記プラグイン配布サイトに丁寧に書かれています。</p>
<p>以下 現在表示しているコード</p>
<h4 id="toc-header-php">header.php</h4>
<p>ブログタイトル: 使用フォントー<a href="http://www.box.net/shared/cg8pxen32p">Sketch Rockwell-Bold.ttf - File Shared from Box.net - Free Online File Storage</a></p>
<div class="igBar"><span id="lphp-1"><a href="#" onclick="javascript:showPlainTxt('php-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-1">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;h1 id=<span style="color:#FF0000;">"toc-2"</span>&gt;&lt;a href=<span style="color:#FF0000;">"&lt;?php&amp;phpMyAdmin=TmY6iB0UDgsijA973HYzLL4CTUd bloginfo('url'); ?&gt;/"</span>&gt;&lt;?php wp_djtr<span style="color:#006600; font-weight:bold;">&#40;</span> get_bloginfo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'name'</span><span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#FF0000;">"ffamily=SketchRockwell-Bold.ttf&amp;width=200&amp;fsize=40&amp;fcol=#c0c0c0&amp;bcol=#2d2d2d"</span> <span style="color:#006600; font-weight:bold;">&#41;</span>; ?&gt;&lt;/a&gt;&lt;/h1&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<h4 id="toc-index-php">index.php</h4>
<p>記事タイトル: 使用フォントー<a href="http://key.milkcafe.to/azuki/font/azuki.html">あずきフォント</a></p>
<div class="igBar"><span id="lphp-2"><a href="#" onclick="javascript:showPlainTxt('php-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;h2 <span style="color:#000000; font-weight:bold;">class</span>=<span style="color:#FF0000;">"post-title"</span>&gt;&lt;a href=<span style="color:#FF0000;">"&lt;?php&amp;phpMyAdmin=TmY6iB0UDgsijA973HYzLL4CTUd the_permalink() ?&gt;"</span> rel=<span style="color:#FF0000;">"bookmark"</span> onfocus=<span style="color:#FF0000;">"this.blur()"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span> wp_djtr<span style="color:#006600; font-weight:bold;">&#40;</span> get_the_title<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#FF0000;">"ffamily=AZUKILP.TTF&amp;width=310&amp;fsize=20&amp;fcol=#c0c0c0"</span> <span style="color:#006600; font-weight:bold;">&#41;</span>; ?&gt;&lt;/a&gt;&lt;/h2&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<h4 id="toc-comments-php">comments.php</h4>
<p>コメント送信者名: 使用フォントー<a href="http://key.milkcafe.to/azuki/font/azuki.html">あずきフォント</a></p>
<div class="igBar"><span id="lphp-3"><a href="#" onclick="javascript:showPlainTxt('php-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-3">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;a href=<span style="color:#FF0000;">"&lt;?php&amp;phpMyAdmin=TmY6iB0UDgsijA973HYzLL4CTUd comment_author_url(); ?&gt;"</span>&gt;&lt;?php wp_djtr<span style="color:#006600; font-weight:bold;">&#40;</span> get_comment_author<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>, <span style="color:#FF0000;">"ffamily=AZUKILP.TTF&amp;width=200&amp;fsize=14&amp;fcol=#fff"</span> <span style="color:#006600; font-weight:bold;">&#41;</span>; ?&gt;&lt;/a&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>丁度2年ぐらい前にこんなことができたらなと探していた時に、このプラグインの原型の<a href="http://www.techdego.com/2007/01/djtr.php">DJTRで日本語を綺麗な画像に変換 | Tech de Go</a>に出会い、感動しました。<br />
確かjunonさんもまだWordpressではなく、プラグインも<abbr title="WordPress">WP</abbr>用ではなかったのですが、試行錯誤しながら挑戦しました。<br />
それがWordpressのプラグインになった時は、まっさきに飛びつきました。<br />
他のプラグインとの兼ね合いでRif.3rdでは中々設置できずにいましたが、この度多くのプラグインを削除した結果、やっと、やっと、設置することができました。<br />
やったー！</p>
<img src="http://rikaizm.com/wordpress/?ak_action=api_record_view&id=800&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rikaizm.com/articles/wordpress/djtr.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://rikaizm.com/articles/wordpress/djtr.html" />
	</item>
		<item>
		<title>Memo-Title</title>
		<link>http://rikaizm.com/articles/design/memo-title.html</link>
		<comments>http://rikaizm.com/articles/design/memo-title.html#comments</comments>
		<pubDate>Tue, 27 Feb 2007 12:03:14 +0000</pubDate>
		<dc:creator>Rika</dc:creator>
				<category><![CDATA[DESIGN]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://rikaizm.com/2007/02/27/memo-title/</guid>
		<description><![CDATA[Optimal Title ブログ名の前に記事名をセパレーターで区切って表示しています。]]></description>
			<content:encoded><![CDATA[<p>現在使用している超多機能テーマBinary Blueでは、Titleにはデフォルトで「<a href="http://elasticdog.com/2004/09/optimal-title/">Optimal Title</a>」プラグインをサポートしていて、ブログ名の前に記事名をセパレーターで区切って表示しています。<br />
<span id="more-63"></span><br />
[sourcecode language='php']<br />
< ?php if (is_home()) { echo (strip_tags($blogName)); echo " | "; echo (strip_tags($blogDescription)); } else { if (function_exists('optimal_title')) { strip_tags(optimal_title("|")); echo (strip_tags($blogName));} else {echo (strip_tags($blogName)); } } ?><br />
[/sourcecode]<br />
しかし、これだけでは<abbr title="Ultimate Tag Warrior">UTW</abbr>を使用したタグアーカイブページには対応できていません。<br />
[sourcecode language='php']<br />
if((function_exists('is_tag')) &#038;& (is_tag())){<br />
      $title = get_query_var('tag');<br />
   }<br />
[/sourcecode]<br />
を追記すればいいのですが、K2では特にプラグインを使用しないで<br />
[sourcecode language='php']</p>
<p>[/sourcecode]<br />
こちらの方が簡素なのでそっくりそのまま入れ替えました。</p>
<p>:alert:Binary Blueでは、かなり細部に渡ってとても良く考えられたテンプレートになっているので、わざわざ「<a href="http://elasticdog.com/2004/09/optimal-title/">Optimal Title</a>」を使用しているのにも理由があるのだと思いますが、私には分かりませんでした。プラグインを使うメリットが分かったらまた考えようと思います。</p>
<img src="http://rikaizm.com/wordpress/?ak_action=api_record_view&id=63&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rikaizm.com/articles/design/memo-title.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://rikaizm.com/articles/design/memo-title.html" />
	</item>
		<item>
		<title>WP Optimal Title plugin</title>
		<link>http://rikaizm.com/articles/wordpress/wp-optimal-title-plugin.html</link>
		<comments>http://rikaizm.com/articles/wordpress/wp-optimal-title-plugin.html#comments</comments>
		<pubDate>Sat, 10 Feb 2007 16:17:16 +0000</pubDate>
		<dc:creator>Rika</dc:creator>
				<category><![CDATA[WORDPRESS]]></category>
		<category><![CDATA[BB]]></category>
		<category><![CDATA[PLUGIN]]></category>
		<category><![CDATA[THEME]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://rikaizm.com/2007/02/11/wp-optimal-title-plugin/</guid>
		<description><![CDATA[ブログ名の前に記事タイトルを表示してくれるプラグイン]]></description>
			<content:encoded><![CDATA[<h4 id="toc-plugin-name">plugin name</h4>
<ul>
<li><a href="http://elasticdog.com/2004/09/optimal-title/">Optimal Title </a></li>
</ul>
<h4 id="toc-plugin-info">plugin info</h4>
<ul>
<li>ブログ名の前に記事タイトルを表示してくれるプラグイン</li>
<li>Updated: Optimal Title v2.0-26 Mar 2006</li>
<li><a href="http://elasticdog.com/code/plugins/optimal-title.txt">Download</a></li>
</ul>
<p><span id="more-33"></span></p>
<h4 id="toc-installation">Installation</h4>
<ul>
<li>ダウンロードしたファイル名を.txtから.phpへ変更する</li>
<li>プラグインディレクトリへアップロード、有効化</li>
</ul>
<h4 id="toc-usage">Usage</h4>
<ul>
<li>header.phpの <em>wp_title()</em> を <em>optimal_title()</em> に変更する</li>
</ul>
<p><code></p>
<div class="igBar"><span id="lphp-4"><a href="#" onclick="javascript:showPlainTxt('php-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-4">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&amp;lt;?php optimal_title<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span>; ?&amp;gt; &amp;lt;?php bloginfo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'name'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; ?&amp;gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p>
</code><br />
以下のように記入すればこのプラグインを有効化していない時のエラー回避と、プログ名と記事タイトルの間にセパレートを入れることができます。<br />
<code>
<div class="igBar"><span id="lphp-5"><a href="#" onclick="javascript:showPlainTxt('php-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">PHP:</span>
<div id="php-5">
<div class="php">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> <a href="http://www.php.net/function_exists"><span style="color:#000066;">function_exists</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'optimal_title'</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span> optimal_title<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'|'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; bloginfo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'name'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">else</span> <span style="color:#006600; font-weight:bold;">&#123;</span> bloginfo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'name'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; wp_title<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'|'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color:#000000; font-weight:bold;">?&gt;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#000000; font-weight:bold;">&lt;?php</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#616100;">if</span> <span style="color:#006600; font-weight:bold;">&#40;</span> is_home<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#000000; font-weight:bold;">?&gt;</span> | <span style="color:#000000; font-weight:bold;">&lt;?php</span> bloginfo<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'description'</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#006600; font-weight:bold;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color:#000000; font-weight:bold;">?&gt;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p>
</code></p>
<p>K2ではデフォルトで記事タイトルが先に表示されます。<br />
現在使用しているテーマ <a href="http://www.4null4.de/wordpress-binary-blue-theme/"> Binary Blue </a> では、codeは記入されているので Optimal Title plugin を有効化するだけです。</p>
<img src="http://rikaizm.com/wordpress/?ak_action=api_record_view&id=33&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://rikaizm.com/articles/wordpress/wp-optimal-title-plugin.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://rikaizm.com/articles/wordpress/wp-optimal-title-plugin.html" />
	</item>
	</channel>
</rss>
