<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10japanesefull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en" xml:base="http://ld.ymst.net/wp-atom.php">
	<title type="text">LD.ymst.net - 郡山市でホームページを制作している人のブログ</title>
	<subtitle type="text">郡山市のWEBクリエイターのLanguid Diary</subtitle>

	<updated>2012-01-18T07:21:35Z</updated>

	<link rel="alternate" type="text/html" href="http://ld.ymst.net" />
	<id>http://ld.ymst.net/feed/atom/</id>
	

	<generator uri="http://wordpress.org/" version="3.4-alpha">WordPress</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/languid" /><feedburner:info uri="languid" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[IE8でTweetボタンが表示されなくなったけど解決]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/j4Ibv2BK_uk/" />
		<id>http://ld.ymst.net/?p=869</id>
		<updated>2012-01-18T07:21:35Z</updated>
		<published>2012-01-18T07:21:35Z</published>
		<category scheme="http://ld.ymst.net" term="WEB" /><category scheme="http://ld.ymst.net" term="IE8" /><category scheme="http://ld.ymst.net" term="Twitter" />		<summary type="html"><![CDATA[家のPCでやったら、やっぱ大丈夫だった。 何なんだろうなあとあれこれ試すも駄目。 あーデバッグしてみようと思って、IE8の開発者ツールからスクリプトデバッグを試してみたら、直ったｗｗｗ 意味分からんけど、良しとしよ。]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/web/ie8_tweet_button_repaired/">&lt;p&gt;家のPCでやったら、やっぱ大丈夫だった。&lt;/p&gt;
&lt;p&gt;何なんだろうなあとあれこれ試すも駄目。&lt;br /&gt;
あーデバッグしてみようと思って、IE8の開発者ツールからスクリプトデバッグを試してみたら、直ったｗｗｗ&lt;/p&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2012/01/script_debug.gif"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2012/01/script_debug-300x257.gif" alt="IE8開発者ツール スクリプトデバッグ" title="IE8開発者ツール スクリプトデバッグ" width="300" height="257" class="aligncenter wp-image-870" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;意味分からんけど、良しとしよ。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/j4Ibv2BK_uk" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/web/ie8_tweet_button_repaired/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/web/ie8_tweet_button_repaired/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/web/ie8_tweet_button_repaired/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[IE8でTweetボタンが表示されなくなった]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/rO9VOnfj41Q/" />
		<id>http://ld.ymst.net/?p=865</id>
		<updated>2012-01-18T07:19:59Z</updated>
		<published>2012-01-17T09:45:45Z</published>
		<category scheme="http://ld.ymst.net" term="WEB" /><category scheme="http://ld.ymst.net" term="IE8" /><category scheme="http://ld.ymst.net" term="Twetter" />		<summary type="html"><![CDATA[今日気づいたんだけど、IE8でTweetボタンの画像が表示されなくなった。 画像が表示されず、「Tweet」とテキスト表示になっちゃうんだけど、俺の環境が悪いのかなあ。 iframeで埋め込んでるボタンはおｋだけど、アン &#8230; <a class="continue" href="http://ld.ymst.net/web/ie8_tweet_button_broken/">"IE8でTweetボタンが表示されなくなった"の続きを読む</a>]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/web/ie8_tweet_button_broken/">&lt;p&gt;今日気づいたんだけど、IE8でTweetボタンの画像が表示されなくなった。&lt;br /&gt;
画像が表示されず、「Tweet」とテキスト表示になっちゃうんだけど、俺の環境が悪いのかなあ。&lt;br /&gt;
iframeで埋め込んでるボタンはおｋだけど、アンカータグで埋め込んでるTweetボタンがダメ。&lt;br /&gt;
他のバージョンのIEはどうなんだろ。&lt;/p&gt;
&lt;p&gt;出てくるエラーはこんな感じ。&lt;/p&gt;
&lt;p&gt;文字が正しくありません。&lt;br /&gt;
widget.js コード:0 ライン:1 文字:1&lt;br /&gt;
URI:http://platform.twitter.com/widget.js&lt;/p&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2012/01/widget.gif"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2012/01/widget-300x196.gif" alt="widget.jsエラー" title="widget.jsエラー" width="300" height="196" class="aligncenter wp-image-866" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;家に帰っても試してみよう。&lt;br /&gt;
ちなみに、FirefoxとかChromeとかその辺はおｋ。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/rO9VOnfj41Q" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/web/ie8_tweet_button_broken/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/web/ie8_tweet_button_broken/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/web/ie8_tweet_button_broken/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[WordPressのカテゴリーリストからrel属性をカットする]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/FaIzUapIUKg/" />
		<id>http://ld.ymst.net/?p=765</id>
		<updated>2011-12-26T02:41:59Z</updated>
		<published>2011-12-24T23:43:14Z</published>
		<category scheme="http://ld.ymst.net" term="WordPress" /><category scheme="http://ld.ymst.net" term="HTML5" /><category scheme="http://ld.ymst.net" term="カスタマイズ" />		<summary type="html"><![CDATA[WordPressのカテゴリーリストのrel属性が、HTML5だとvalidじゃないよと言われて、あまり良い気分じゃないんで、簡単に取り除いちゃいます。 テーマのfunctions.phpに add_filter('th &#8230; <a class="continue" href="http://ld.ymst.net/wordpress/fix-rel-category/">"WordPressのカテゴリーリストからrel属性をカットする"の続きを読む</a>]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/wordpress/fix-rel-category/">&lt;p&gt;WordPressのカテゴリーリストのrel属性が、HTML5だとvalidじゃないよと言われて、あまり良い気分じゃないんで、簡単に取り除いちゃいます。&lt;/p&gt;
&lt;p&gt;テーマのfunctions.phpに&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;add_filter('the_category', 'remove_rel');
function remove_rel( $text ) {
	$text = str_replace('rel="category tag"', "", $text);
	return $text;
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;こんなんでおｋ。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/FaIzUapIUKg" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/wordpress/fix-rel-category/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/wordpress/fix-rel-category/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/wordpress/fix-rel-category/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[Operaは、CSSでパーセント指定の長さの小数点以下は計算してくれない]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/W6udyjdTNJM/" />
		<id>http://ld.ymst.net/?p=860</id>
		<updated>2011-12-26T14:59:23Z</updated>
		<published>2011-12-24T07:18:09Z</published>
		<category scheme="http://ld.ymst.net" term="WEB" /><category scheme="http://ld.ymst.net" term="CSS" /><category scheme="http://ld.ymst.net" term="javascript" /><category scheme="http://ld.ymst.net" term="Opera" />		<summary type="html"><![CDATA[Opera最強伝説なのに、CSSのwidthやheightなどで、パーセントで長さを指定した場合、小数点以下は計算をしてくれないとは、これ如何に。まあ今更の話だけども。 例えば &#60;!-- CSS --&#62; &#038;l &#8230; <a class="continue" href="http://ld.ymst.net/web/opera_css_decimal/">"Operaは、CSSでパーセント指定の長さの小数点以下は計算してくれない"の続きを読む</a>]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/web/opera_css_decimal/">&lt;p&gt;Opera最強伝説なのに、CSSのwidthやheightなどで、パーセントで長さを指定した場合、小数点以下は計算をしてくれないとは、これ如何に。まあ今更の話だけども。&lt;/p&gt;
&lt;p&gt;例えば&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;!-- CSS --&amp;gt;
&amp;lt;style type="text/css"&amp;gt;
ul{
	background:#444;
	width:400px;
	height:56px;
	margin:0;
	padding:10px;
	list-style:none;
}
li{
	float:left;
	color:#FFF;
	text-shadow:0 0 2px #000;
	width:12.5%;
	height:56px;
	line-height:56px;
	margin:0;
	padding:0;
	text-align:center;
}
li.abc{
background:#666;
}
li.def{
background:#888;
}

ul:after{
	content:'';
	display:block;
	clear:both;
}
&amp;lt;/style&amp;gt;

&amp;lt;!-- HTML --&amp;gt;
&amp;lt;ul&amp;gt;
	&amp;lt;li class="abc"&amp;gt;OPE&amp;lt;/li&amp;gt;
	&amp;lt;li class="def"&amp;gt;RA&amp;lt;/li&amp;gt;
	&amp;lt;li class="abc"&amp;gt;最強&amp;lt;/li&amp;gt;
	&amp;lt;li class="def"&amp;gt;伝説&amp;lt;/li&amp;gt;
	&amp;lt;li class="abc"&amp;gt;OPE&amp;lt;/li&amp;gt;
	&amp;lt;li class="def"&amp;gt;RA&amp;lt;/li&amp;gt;
	&amp;lt;li class="abc"&amp;gt;最強&amp;lt;/li&amp;gt;
	&amp;lt;li class="def"&amp;gt;伝説&amp;lt;/li&amp;gt;
&amp;lt;/ul&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;こんなのをOperaで見てみると&lt;/p&gt;
&lt;p class="aligncenter"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/111224-01.jpg" alt="OperaはCSSで長さに小数点はだめぽ例" title="OperaはCSSで長さに小数点はだめぽ例" width="420" height="76" class="aligncenter size-full wp-image-862" /&gt;&lt;/p&gt;
&lt;p&gt;のような感じで、右端に少し空きができちゃいます。&lt;br /&gt;
例えばFirefoxと比べると&lt;/p&gt;
&lt;p class="aligncenter"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/111224-02.jpg" alt="FirefoxとOpera比較" title="FirefoxとOpera比較" width="420" height="162" class="aligncenter size-full wp-image-863" /&gt;&lt;/p&gt;
&lt;p&gt;こんな感じで、小数点以下分、合計4%=16ピクセル分ずれますん。&lt;/p&gt;
&lt;p&gt;俺の場合、こういう時は何だかなあと思うけど、Opera用に簡単なjsで対応してます。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;script type="text/javascript"&amp;gt;
if(window.opera){//Operaだったら
	$(function(){
		$("li").css("width",$("ul").width()/8+"px");//liのwidthをulの1/8pxに
		$(window).resize(function(){//ウィンドウがリサイズされたら
			$("li").css("width",$("ul").width()/8+"px");//liのwidthをulの1/8pxに
		});
	});
};
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;こんな感じのjsでおｋ。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/W6udyjdTNJM" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/web/opera_css_decimal/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/web/opera_css_decimal/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/web/opera_css_decimal/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[初めて天体撮影してみた（皆既月食）]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/7khZGghC08M/" />
		<id>http://ld.ymst.net/?p=809</id>
		<updated>2011-12-15T14:52:25Z</updated>
		<published>2011-12-15T07:38:58Z</published>
		<category scheme="http://ld.ymst.net" term="Photo" /><category scheme="http://ld.ymst.net" term="200mm" /><category scheme="http://ld.ymst.net" term="D40" /><category scheme="http://ld.ymst.net" term="デジカメ" />		<summary type="html"><![CDATA[デジカメを買って以来初めて、月食を撮影してみた。 というかこれが初めての天体撮影だったりする。 とりあえず満月 1/3くらい 半月状態 皆既 また欠けてきた 皆既月食と星空 微妙にオリオン座が入りました。 以後は、レンズ &#8230; <a class="continue" href="http://ld.ymst.net/photo/lunar_eclipse_111210/">"初めて天体撮影してみた（皆既月食）"の続きを読む</a>]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/photo/lunar_eclipse_111210/">&lt;p&gt;デジカメを買って以来初めて、月食を撮影してみた。&lt;br /&gt;
というかこれが初めての天体撮影だったりする。&lt;/p&gt;
&lt;h2&gt;とりあえず満月&lt;/h2&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7689.jpg" title="欠ける前の満月"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7689-300x199.jpg" alt="欠ける前の満月" title="欠ける前の満月" width="300" height="199" class="wp-image-812 " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;1/3くらい&lt;/h2&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7693.jpg" title="1/3くらい欠けてきた"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7693-300x199.jpg" alt="1/3くらい欠けてきた" title="1/3くらい欠けてきた" width="300" height="199" class="wp-image-813" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;半月状態&lt;/h2&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7701.jpg" title="半月状態"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7701-300x199.jpg" alt="半月状態" title="半月状態" width="300" height="199" class="wp-image-814" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;皆既&lt;/h2&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7737.jpg" title="皆既月食"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7737-300x199.jpg" alt="皆既月食" title="皆既月食" width="300" height="199" class="wp-image-815" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7744.jpg" title="皆既2"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7744-300x199.jpg" alt="皆既2" title="皆既2" width="300" height="199" class="wp-image-816" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7762.jpg" title="皆既3"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7762-300x199.jpg" alt="皆既3" title="皆既3" width="300" height="199" class="wp-image-817" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;また欠けてきた&lt;/h2&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7767.jpg" title="また欠けてきた"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7767-300x199.jpg" alt="欠け始めの月" title="また欠けてきた" width="300" height="199" class="wp-image-818" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;皆既月食と星空&lt;/h2&gt;
&lt;p class="aligncenter"&gt;&lt;a href="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7758.jpg" title="皆既月食と星空"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/DSC_7758-300x199.jpg" alt="皆既月食と星空" title="皆既月食と星空" width="300" height="199" class="wp-image-819" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;微妙にオリオン座が入りました。&lt;/p&gt;
&lt;p&gt;以後は、レンズが結露しちゃって断念。残念。&lt;/p&gt;
&lt;h2&gt;反省&lt;/h2&gt;
&lt;p&gt;望遠200mmじゃ足りなかった。300mmは欲しいと思った。&lt;br /&gt;
あと強固な三脚も欲しいなあ。&lt;br /&gt;
何かISO感度上がってて、ノイジーになっちゃった（´･ω･｀）&lt;br /&gt;
しかし寒かった…。&lt;br /&gt;
次は2014年10月8日かあ、まだまだ先だね。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/7khZGghC08M" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/photo/lunar_eclipse_111210/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/photo/lunar_eclipse_111210/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/photo/lunar_eclipse_111210/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[INBloggerテスト]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/Uy03n61R4Ss/" />
		<id>http://ld.ymst.net/?p=799</id>
		<updated>2011-12-12T12:38:50Z</updated>
		<published>2011-12-12T12:38:00Z</published>
		<category scheme="http://ld.ymst.net" term="Digital" /><category scheme="http://ld.ymst.net" term="WordPress" /><category scheme="http://ld.ymst.net" term="INBlogger" />		<summary type="html"><![CDATA[Windows mobileのINBloggerのテスト。 便利だねこのアプリ。]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/digital/inblogger/">&lt;p&gt;Windows mobileのINBloggerのテスト。&lt;br /&gt;
便利だねこのアプリ。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/Uy03n61R4Ss" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/digital/inblogger/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/digital/inblogger/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/digital/inblogger/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[ツイートボタンのデザインが新しくなった？のでサイズを直す]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/eMB0dP13xx0/" />
		<id>http://ld.ymst.net/?p=768</id>
		<updated>2011-12-09T01:01:25Z</updated>
		<published>2011-12-08T01:56:09Z</published>
		<category scheme="http://ld.ymst.net" term="WEB" /><category scheme="http://ld.ymst.net" term="Twitter" />		<summary type="html"><![CDATA[なんかツイートボタンが新しくなったようで、レイアウトがおかしくなった。 だのでCSSで修正します。 ツイートボタンの修正 CSSでiframe.twitter-share-buttonに変更を加えてやります。 インライン &#8230; <a class="continue" href="http://ld.ymst.net/web/new_tweet_btn/">"ツイートボタンのデザインが新しくなった？のでサイズを直す"の続きを読む</a>]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/web/new_tweet_btn/">&lt;p class="aligncenter"&gt;&lt;img src="http://ld.ymst.net/wp-content/uploads/2011/12/new_tweet_btn.jpg" alt="新ツイートボタン" title="new_tweet_btn" width="74" height="72" class="alignright size-full wp-image-769" /&gt;&lt;/p&gt;
&lt;p&gt;なんかツイートボタンが新しくなったようで、レイアウトがおかしくなった。&lt;br /&gt;
だのでCSSで修正します。&lt;/p&gt;
&lt;h3&gt;ツイートボタンの修正&lt;/h3&gt;
&lt;p&gt;CSSでiframe.twitter-share-buttonに変更を加えてやります。&lt;br /&gt;
インラインでwidthとheightが指定されているので、important付けとこ。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;iframe.twitter-share-button{
	width:64px !important;
	height:62px !important;
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;widthは適当な数字で62pxくらいあれば間に合うかな？heightは62pxで丁度だとオモ。&lt;/p&gt;
&lt;p&gt;これでおｋ。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/eMB0dP13xx0" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/web/new_tweet_btn/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/web/new_tweet_btn/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/web/new_tweet_btn/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[Mobile Joomla!で携帯対応してみた【文字コード変換完結編】]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/fjUypG43JjE/" />
		<id>http://ld.ymst.net/?p=751</id>
		<updated>2011-12-09T00:59:53Z</updated>
		<published>2011-11-22T02:03:20Z</published>
		<category scheme="http://ld.ymst.net" term="Joomla" />		<summary type="html"><![CDATA[一番ネックだったのは、JoomlaはHTTPヘッダで指定している文字コードがUTF-8にハードコードされている為、そこをShift_jisに変更してやらないと、文字コードをShift_jisに変換しても、文字化けが発生し &#8230; <a class="continue" href="http://ld.ymst.net/joomla/joomla_mobile_cont_enco_finish/">"Mobile Joomla!で携帯対応してみた【文字コード変換完結編】"の続きを読む</a>]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/joomla/joomla_mobile_cont_enco_finish/">&lt;p&gt;一番ネックだったのは、JoomlaはHTTPヘッダで指定している文字コードがUTF-8にハードコードされている為、そこをShift_jisに変更してやらないと、文字コードをShift_jisに変換しても、文字化けが発生してしまう事でした。&lt;/p&gt;
&lt;p&gt;色々とググってみたところ、HTTPヘッダに吐き出される文字コードを指定している箇所を&lt;br /&gt;
libraries/joomla/factory.php&lt;br /&gt;
にて発見。&lt;/p&gt;
&lt;p&gt;このファイル内で、変更してやります。&lt;/p&gt;
&lt;h3&gt;factory.phpの変更&lt;/h3&gt;
&lt;p&gt;694行目あたりから&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$attributes = array (
	'charset'	=&gt; 'utf-8',
	'lineend'	=&gt; 'unix',
	'tab'		=&gt; '  ',
	'language'	=&gt; $lang-&gt;getTag(),
	'direction'	=&gt; $lang-&gt;isRTL() ? 'rtl' : 'ltr'
);&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;このcharsetをShift_jis（SJIS-win）に変えてやります。&lt;br /&gt;
端末のUSER AGENTを取得して、DoCoMoかKDDIの場合はShift_jisにしてやるような感じに。SoftbankはUTF-8でおｋなので、DoCoMoとKDDIだけです。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$uagent = $_SERVER['HTTP_USER_AGENT'];//UA取得
if(preg_match('/^DoCoMo|^KDDI/i', $uagent)){//UAがDoCoMoかKDDIで始まっていれば
	$attributes = array (
		'charset'	=&gt; 'SJIS-win',
		'lineend'	=&gt; 'unix',
		'tab'		=&gt; '  ',
		'language'	=&gt; $lang-&gt;getTag(),
		'direction'	=&gt; $lang-&gt;isRTL() ? 'rtl' : 'ltr'
	);
}else{
	$attributes = array (
		'charset'	=&gt; 'utf-8',
		'lineend'	=&gt; 'unix',
		'tab'		=&gt; '  ',
		'language'	=&gt; $lang-&gt;getTag(),
		'direction'	=&gt; $lang-&gt;isRTL() ? 'rtl' : 'ltr'
	);
}&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;な感じにしてやれば、DoCoMoとKDDIの場合は、HTTPヘッダでShift_jisを指定してくれるようになります。&lt;br /&gt;
これで文字コード変換は完結！&lt;/p&gt;
&lt;p&gt;plugins/mobile/terawurfl/terawurfl.php&lt;br /&gt;
もUAでKDDIとSoftbankの場合もmarkupをchtmlにしてやれば、iModeのテンプレートを読み込んでくれるようにできるので、色々とおｋ。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/fjUypG43JjE" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/joomla/joomla_mobile_cont_enco_finish/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/joomla/joomla_mobile_cont_enco_finish/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://ld.ymst.net/joomla/joomla_mobile_cont_enco_finish/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[Joomla!1.7で管理メニューの構築エラーです]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/ZFCvRgdIuxM/" />
		<id>http://ld.ymst.net/?p=745</id>
		<updated>2011-12-09T00:59:58Z</updated>
		<published>2011-11-08T00:59:23Z</published>
		<category scheme="http://ld.ymst.net" term="Joomla" />		<summary type="html"><![CDATA[Joomla!1.7でエクステンションをインストールすると、 赤字で「管理メニューの構築エラーです」 とか言われて、コンポーネントのメニューに追加されない場合が時々あって困る。 コントロールパネルにもメニューが追加される &#8230; <a class="continue" href="http://ld.ymst.net/joomla/joomla_admin_menu_error/">"Joomla!1.7で管理メニューの構築エラーです"の続きを読む</a>]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/joomla/joomla_admin_menu_error/">&lt;p&gt;Joomla!1.7でエクステンションをインストールすると、&lt;br /&gt;
赤字で「管理メニューの構築エラーです」&lt;br /&gt;
とか言われて、コンポーネントのメニューに追加されない場合が時々あって困る。&lt;br /&gt;
コントロールパネルにもメニューが追加されるタイプだと良いんだけど、そうじゃない時は、非常に参ります。&lt;/p&gt;
&lt;p&gt;で、解決するには、&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;インストールしたエクステンションを一度削除&lt;/li&gt;
&lt;li&gt;MySQLの@@@_menuテーブルの中の、削除したエクステンションの行を削除（phpMyAdminとかで）&lt;br /&gt;
※@@@はDBのプレフィクス&lt;/li&gt;
&lt;li&gt;再度インストール&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;としてみると、うまくいく場合が多いです。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/ZFCvRgdIuxM" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/joomla/joomla_admin_menu_error/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/joomla/joomla_admin_menu_error/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/joomla/joomla_admin_menu_error/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>ld.ymst</name>
						<uri>http://ld.ymst.net/</uri>
					</author>
		<title type="html"><![CDATA[XAMPP Virtualhost設定とPHPのセッションでWARNINGメモ]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/languid/~3/DYLiMAKRtkA/" />
		<id>http://ld.ymst.net/?p=740</id>
		<updated>2011-10-25T11:29:40Z</updated>
		<published>2011-10-25T11:16:52Z</published>
		<category scheme="http://ld.ymst.net" term="WEB" /><category scheme="http://ld.ymst.net" term="apache" /><category scheme="http://ld.ymst.net" term="PHP" /><category scheme="http://ld.ymst.net" term="XAMPP" />		<summary type="html"><![CDATA[XAMPPを再インストールしてて嵌ったのでメモ。 Virtualhost設定 &#60;VirtualHost *:80&#62; DocumentRoot &#34;C:/Program Files/xampp/htdo &#8230; <a class="continue" href="http://ld.ymst.net/web/xampp-memo/">"XAMPP Virtualhost設定とPHPのセッションでWARNINGメモ"の続きを読む</a>]]></summary>
		<content type="html" xml:base="http://ld.ymst.net/web/xampp-memo/">&lt;p&gt;XAMPPを再インストールしてて嵌ったのでメモ。&lt;/p&gt;
&lt;h3&gt;Virtualhost設定&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;VirtualHost *:80&amp;gt;
	DocumentRoot &amp;quot;C:/Program Files/xampp/htdocs/xampp&amp;quot;
	ServerName localhost
	ErrorLog &amp;quot;logs/localhost-error.log&amp;quot;
	&amp;lt;Directory &amp;quot;C:/Program Files/xampp/htdocs/xampp&amp;quot;&amp;gt;
		Options Indexes FollowSymLinks Includes ExecCGI
		Order deny,allow
		Deny from All
		Allow from localhost 127.0.0.1
	&amp;lt;/Directory&amp;gt;
&amp;lt;/VirtualHost&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;localホスト用も入れとかないと駄目。まあ当たり前だよね…。&lt;br /&gt;
そんで別のホスト入れればおｋ。&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;VirtualHost *:80&amp;gt;
	DocumentRoot &amp;quot;C:/_works/example/_html&amp;quot;
	ServerName example
	ErrorLog &amp;quot;logs/example-error.log&amp;quot;
	&amp;lt;Directory &amp;quot;C:/_works/example/_html&amp;quot;&amp;gt;
		Options Indexes FollowSymLinks Includes ExecCGI
		Order deny,allow
		Deny from All
		Allow from localhost 127.0.0.1
	&amp;lt;/Directory&amp;gt;
&amp;lt;/VirtualHost&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;PHPのセッションでWARNING&lt;/h3&gt;
&lt;p&gt;PHP Warning:  session_start()&amp;#8230;sess_&amp;#8230;., O_RDWR) failed: No such file or directory (2)&lt;br /&gt;
とWarning表示された場合は、&lt;/p&gt;
&lt;p&gt;php.ini 1480行目付近の&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;session.save_path = "\Program Files\xampp\tmp"&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;を&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;session.save_path = "C:/Program Files/xampp/tmp"&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;とちゃんと指定してやればおｋ。&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/languid/~4/DYLiMAKRtkA" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://ld.ymst.net/web/xampp-memo/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://ld.ymst.net/web/xampp-memo/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://ld.ymst.net/web/xampp-memo/</feedburner:origLink></entry>
	</feed><!-- Dynamic page generated in 2.432 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-01-20 21:52:41 -->

