<?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>H.I. Art Works [ Web Technology ]</title>
	<atom:link href="http://tech.hi-works.com/feed" rel="self" type="application/rss+xml" />
	<link>http://tech.hi-works.com</link>
	<description>WordPress,Movabletype,html,css,モバイルなどの技術情報からビジネスに関するブログ</description>
	<lastBuildDate>Sat, 19 May 2012 07:17:20 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/feed" />
		<item>
		<title>記事の投稿ステータスによって管理画面・編集画面の色を切り替える</title>
		<link>http://tech.hi-works.com/webcreative/wordpress/736</link>
		<comments>http://tech.hi-works.com/webcreative/wordpress/736#comments</comments>
		<pubDate>Sat, 19 May 2012 07:15:33 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[javascript / jQuery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Web制作技術情報]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=736</guid>
		<description><![CDATA[WordPressって記事を編集している時、その記事が既に公開されている記事なのか下書き・非公開状態なのか気づきにくいですよね。まぁ公開ステータス見ればわかりますけど、まだ公開しちゃいけない記事をうっかり公開してたり、公 &#8230; <a href="http://tech.hi-works.com/webcreative/wordpress/736">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPressって記事を編集している時、その記事が既に公開されている記事なのか下書き・非公開状態なのか気づきにくいですよね。まぁ公開ステータス見ればわかりますけど、まだ公開しちゃいけない記事をうっかり公開してたり、公開したつもりが公開してなかった！という事があっては企業サイトではまずいので、公開状態が一目でわかるカスタマイズです。</p>
<p>まずは管理画面用に独自のCSSを読み込むようにします。</p>
<p>functions.phpに以下を追加</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">/*-------------------------------------------*/
/*	管理画面_スタイルを追加
/*-------------------------------------------*/
function bizVektor_admin_css(){
	echo '&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;'.get_template_directory_uri().'/admin.css&quot; /&gt;';
}
add_action('admin_head', 'bizVektor_admin_css', 11);</pre></div></div>

<p>これでテーマフォルダに admin.css を置けば読み込むようになります。</p>
<p>次に管理画面のbodyタグに投稿ステータスによってクラス名を割り当てます。</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">/*-------------------------------------------*/
/*	管理画面_投稿ステータスをbodyのclassに追加
/*-------------------------------------------*/
function bizVektor_postStatus(){
	$classes = get_post_status() // 投稿の状態を取得; ?&gt;
	&lt;script type=&quot;text/javascript&quot; charset=&quot;utf-8&quot;&gt;
	function postStatusColor(){
		// 現状のクラス名を取得して投稿ステータスを足す
		var newClass = document.getElementsByTagName(&quot;body&quot;)[0].className + &quot; &lt;?php echo $classes ?&gt;&quot;;
		// 現状のクラス名を置き換える
		document.getElementsByTagName(&quot;body&quot;)[0].setAttribute(&quot;class&quot;,newClass);
	}		window.onload = postStatusColor;
	&lt;/script&gt;
&lt;?php
}
add_action('admin_head', 'bizVektor_postStatus', 12);</pre></div></div>

<p>って・・・これjavascriptで力技で書き換えてるんですけど、WordPressのフィルターフックで管理画面のbodyにクラス追加するとかないんでしょうかね・・・。表画面は body_class だったかな、そんなのがあったのですが・・・。</p>
<p>で、管理画面用のcss (admin.css) をカスタマイズ。例えばこんな感じ</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">/*-------------------------------------------*/
/* 記事タイトル欄
/*-------------------------------------------*/
/* 非公開 */
body.private #wpwrap #titlewrap input,
/* レビュー待ち */
body.pending #wpwrap #titlewrap input,
/* 新規追加？ */
body.auto-draft #wpwrap #titlewrap input,
/* 下書き */
body.draft #wpwrap #titlewrap input { border:2px solid #F66; }
/* 公開済み */
body.publish #wpwrap #titlewrap input { border:2px solid #39C; }
&nbsp;
/*-------------------------------------------*/
/* 公開ボックス
/*-------------------------------------------*/
body.private #submitdiv,
body.pending #submitdiv,
body.auto-draft #submitdiv,
body.draft #submitdiv	{ border:2px solid #f66; }
body.publish #submitdiv	{ border:2px solid #39C; }</pre></div></div>

<p>すると、<br />
■下書きや非公開の場合<br />
<a href="http://tech.hi-works.com/wp/wp-content/uploads/draft.gif"><img src="http://tech.hi-works.com/wp/wp-content/uploads/draft-300x112.gif" alt="WordPress 管理画面 カスタマイズ" title="WordPress 管理画面 カスタマイズ" width="300" height="112" class="alignnone size-medium wp-image-737" /></a></p>
<p>■公開済みの場合<br />
<a href="http://tech.hi-works.com/wp/wp-content/uploads/publish.gif"><img src="http://tech.hi-works.com/wp/wp-content/uploads/publish-300x136.gif" alt="WordPress 管理画面 カスタマイズ公開済み" title="WordPress 管理画面 カスタマイズ公開済み" width="300" height="136" class="alignnone size-medium wp-image-738" /></a></p>
<p>地味なところですが参考まで。</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/wordpress/736/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/wordpress/736" />
	</item>
		<item>
		<title>アメブロの新着情報を広告(PR)無しでサイトに表示する その２ &#8211; simplexml_load_fileが使えない・・・ -</title>
		<link>http://tech.hi-works.com/webcreative/javascript-jquery/728</link>
		<comments>http://tech.hi-works.com/webcreative/javascript-jquery/728#comments</comments>
		<pubDate>Thu, 17 May 2012 15:19:25 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[javascript / jQuery]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=728</guid>
		<description><![CDATA[前記事：アメブロの新着情報を広告(PR)無しでサイトに表示する またまたブログの新着情報をサイトのトップに表示したいとの依頼があったので、その部分のデザイン調整をして前回のソースコードをベタっと貼って終了！ ・・・と・・ &#8230; <a href="http://tech.hi-works.com/webcreative/javascript-jquery/728">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>前記事：<a href="http://tech.hi-works.com/?p=719" target="_blank">アメブロの新着情報を広告(PR)無しでサイトに表示する</a></p>
<p>またまたブログの新着情報をサイトのトップに表示したいとの依頼があったので、その部分のデザイン調整をして前回のソースコードをベタっと貼って終了！</p>
<p>・・・と・・・</p>
<p>思ったら・・・</p>
<p><code><span style="color: #ff0000;">Warning: simplexml_load_file() [function.simplexml-load-file]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/*******-com/public_html/wp-content/themes/*****/front-page.php on line 87</span><br />
</code></p>
<p>はぁ？何言ってんの君、言いたいことがあったら日本語で言えよ！( ﾟДﾟ)、ﾍﾟﾂ</p>
<p>RSSって外部のファイルを読み込むわけなので、なんでもかんでも許可しちゃうとセキュリティがごにょごにょとかサーバーに負荷がごにょごにょとかで、由緒正しいサーバー（WA●AX）としては得体のしれないファイルの読み込みを許可するのもどうかという事で、 allow_url_fopen を許可してないらしい・・・</p>
<p>・・・</p>
<p>(;・∀・) ﾅﾝ！ (; ∀・)・ ﾃﾞｽ!! (; ∀ )・・ ﾄｰ!!!</p>
<p>って事で、とりあえず別の方法で引っ張ってくる方法はこちらに書いてありました<br />
<a href="http://lab.gpol.co.jp/tsubo/index_3.php" target="_blank">http://lab.gpol.co.jp/tsubo/index_3.php</a></p>
<p>ただ、このままだと、またしてもアメブロの広告が混じってしまうので、広告が混じらないようにしたのがこちら</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">&lt;!-- ブログの新着情報をRSSで読み込む --&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.google.com/jsapi&quot;&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;// &lt;![CDATA[
google.load(&quot;feeds&quot;, &quot;1&quot;);
function initialize() {
	var feed = new google.feeds.Feed(&quot;http://feedblog.ameba.jp/rss/ameblo/aiken-y/rss20.xml&quot;);  // 読み込むRSS
	feed.setNumEntries(10); // データ自体はちょっと多めに10件引っ張ってみてるのかな
	feed.load(function(result) {
		if (!result.error) {
			var rsshtml = &quot;&quot;;
			var entryPrintCount = 0 ; // 表示カウント初期化
			var entryNumber = 0;
			while ( entryPrintCount &lt; 5 ) { // 5件（0-4件）表示
&nbsp;
				// entryNumberにとりあえず番号が入ってPR込みでデータが読み込まれる
				var entry = result.feed.entries[entryNumber];
				// entryに配列入れた後カウントを１足す
				entryNumber++;
&nbsp;
				// タイトルの3文字が PR: でない場合に実行
				if (!(entry.title.slice(0,3) == 'PR:')) {
&nbsp;
					var dd = new Date(entry.publishedDate);
					var yearNum = dd.getYear();
					if (yearNum &lt; 2000) yearNum += 1900;
					var date = '&lt;span class=&quot;date&quot;&gt;' + yearNum + &quot;.&quot;+(dd.getMonth()+1)+&quot;.&quot;+dd.getDate()+&quot;&lt;/span&gt;&quot;;
					rsshtml += '
	&lt;li&gt;&lt;a href=&quot;' + entry.link + '&quot; title=&quot;' + entry.title + ' target=&quot;blank&quot;&gt;'  + date + '&lt;span class=&quot;entryTitle&quot;&gt;' + entry.title + '&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
';
					// PRを省いた表示カウントを追加
					entryPrintCount++;
				}
			}
&nbsp;
		var rssdata = document.getElementById(&quot;blogEntries&quot;);
		rssdata.innerHTML = rsshtml;
		}
	});
}
google.setOnLoadCallback(initialize);
// ]]&gt;&lt;/script&gt;
&lt;!-- /ブログの新着情報をRSSで読み込む --&gt;</pre></div></div>

<p>これをheadに貼り付けて、実際に表示したい場所には</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">&lt;ul class=&quot;entryList&quot; id=&quot;blogEntries&quot;&gt;
&lt;/ul&gt;</pre></div></div>

<p>こんな感じ。<br />
余談ですが、トップページだけに表示する場合が殆どだと思うので、headタグに記載するのもトップページだけにしましょう。<br />
更に余談ですが、</p>
<p>var rssdata = document.getElementById(&#8220;blogEntries&#8221;);<br />
rssdata.innerHTML = rsshtml;</p>
<p>で、idが blogEntries で囲まれてるところに流し込んでるんですね。<br />
javascript面白いなぁ・・・。</p>
<p>※超絶初心者のコードにつきツッコミどころは指摘よろしくお願いいたします。</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/javascript-jquery/728/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/javascript-jquery/728" />
	</item>
		<item>
		<title>アメブロの新着情報を広告(PR)無しでサイトに表示する</title>
		<link>http://tech.hi-works.com/webcreative/wordpress/719</link>
		<comments>http://tech.hi-works.com/webcreative/wordpress/719#comments</comments>
		<pubDate>Mon, 07 May 2012 17:47:36 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=719</guid>
		<description><![CDATA[ブログの新着情報を他のサイトに表示したい時ってありますよね。 そういう場合はブログのRSS情報を利用して表示するのですが、困るのがアメブロ。 RSSに広告が紛れ込んでます。 広告記事の入っているRSSを利用してサイトに表 &#8230; <a href="http://tech.hi-works.com/webcreative/wordpress/719">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>ブログの新着情報を他のサイトに表示したい時ってありますよね。<br />
そういう場合はブログのRSS情報を利用して表示するのですが、困るのがアメブロ。<br />
RSSに広告が紛れ込んでます。<br />
広告記事の入っているRSSを利用してサイトに表示させれば・・・<br />
当然サイトにも広告が表示されてしまいます。</p>
<p>例）</p>
<ul>
<li>2012.05.07　<a>新着ブログ記事3</a></li>
<li>2012.05.06　<a href="http://www.vektor-inc.co.jp/">PR:WordPressのカスタマイズなら株式会社ベクトルへ！</a><span style="color: #ff0000;"> ←消したい</span></li>
<li>2012.05.05　<a>新着ブログ記事2</a></li>
<li>2012.05.04　<a>新着ブログ記事１</a></li>
<li>2012.05.03　<a href="http://www.vektor-inc.co.jp/">PR:ウェブサイト制作なら株式会社ベクトル</a> <span style="color: #ff0000;">←消したい</span></li>
</ul>
<p>まぁ・・・広告があるから無料で使わせていただいているわけですが・・・。</p>
<p>とりあえずこの PR が含まれている記事を表示しないようにするコードです。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">&lt;?php
$xml = simplexml_load_file(★ブログのRSS★); 
$count = 0;
echo '&lt;ul class=&quot;entryList&quot;&gt;';    
foreach($xml-&gt;channel-&gt;item as $entry){
// アメブロの広告対策
$entryTitJudge = mb_substr( $entry-&gt;title, 0, 3 ); // 先頭3文字でトリム
if (!($entryTitJudge == 'PR:')) { // 先頭3文字がPR:でない記事のみ表示
	 $entrydate = date ( &quot;Y.m.d&quot;,strtotime ( $entry-&gt;pubDate ) );
	 echo '&lt;li&gt;&lt;span class=&quot;infoDate&quot;&gt;'.$entrydate.'&lt;/span&gt;';
	 echo '&lt;span class=&quot;infoTxt&quot;&gt;&lt;a href=&quot;'.$entry-&gt;link.'&quot; target=&quot;_blank&quot;&gt;'.$entry-&gt;title.'&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;';
	 $count++;
}
 if ($count &gt; 4){break;}
}
echo &quot;&lt;/ul&gt;&quot;;
?&gt;</pre></td></tr></table></div>

<p>広告の場合はタイトルの最初に PR: が含まれているので、 PR: の時は表示しなければOKですね。</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/wordpress/719/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/wordpress/719" />
	</item>
		<item>
		<title>WordPressで本文に入力した内容をコメントアウトする</title>
		<link>http://tech.hi-works.com/webcreative/wordpress/701</link>
		<comments>http://tech.hi-works.com/webcreative/wordpress/701#comments</comments>
		<pubDate>Mon, 05 Mar 2012 23:28:14 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[BizVektor]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[functions.php]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=701</guid>
		<description><![CDATA[一度公開した内容だけれども、一時的にコメントアウトしたい時ってありますよね。 htmlならば＜!&#8211; &#8211;＞ でいけるのですが、WordPressの場合は仕様上コメントアウトが使えません。 困ったなぁ &#8230; <a href="http://tech.hi-works.com/webcreative/wordpress/701">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>一度公開した内容だけれども、一時的にコメントアウトしたい時ってありますよね。<br />
htmlならば＜!&#8211; &#8211;＞</p>
<p>でいけるのですが、WordPressの場合は仕様上コメントアウトが使えません。<br />
困ったなぁと思って調べてみたら、同じ動作が出来る方法が書いてありました。</p>
<p><a href="http://www.u-1.net/2009/11/07/1963/" target="_blank">WordPress の本文内にショートコードでコメントアウトを埋め込む方法 </a></p>
<p>functions.phpに下記を追加して</p>
<p><code><br />
function ignore_shortcode( $atts, $content = null ) {<br />
    return null;<br />
}<br />
add_shortcode('ignore', 'ignore_shortcode');<br />
</code></p>
<p>本文欄でコメントアウトしたい箇所を[ignore][/ignore]でくくると、同じ効果が得られます。</p>
<p>ショートコードってこういう使い方もあるんですね。</p>
<p>さっそくBizVektorにも実装しました(￣ー￣)ｂ</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/wordpress/701/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/wordpress/701" />
	</item>
		<item>
		<title>カスタムフィールドに入力した値の改行</title>
		<link>http://tech.hi-works.com/webcreative/wordpress/694</link>
		<comments>http://tech.hi-works.com/webcreative/wordpress/694#comments</comments>
		<pubDate>Fri, 25 Nov 2011 08:56:04 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=694</guid>
		<description><![CDATA[WordPressでカスタムフィールドを頻繁に使いますが、この入力欄に入力したテキストについて改行を反映させたい場合、２種類の記述方法があります。 自動的にPタグでマークアップする 1 &#60;?php echo wpa &#8230; <a href="http://tech.hi-works.com/webcreative/wordpress/694">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPressでカスタムフィールドを頻繁に使いますが、この入力欄に入力したテキストについて改行を反映させたい場合、２種類の記述方法があります。</p>
<p>自動的にPタグでマークアップする</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">&lt;?php echo wpautop(post_custom('カスタムフィールドの値')); ?&gt;</pre></td></tr></table></div>

<p>自動的にBRタグを挿入するだけでPタグなどの自動整形はしない。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">&lt;?php echo nl2br(get_post_meta($post-&gt;ID,'カスタムフィールドの値',true)); ?&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/wordpress/694/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/wordpress/694" />
	</item>
		<item>
		<title>All-in-One Event Calendar Plugin 日本語化ファイル</title>
		<link>http://tech.hi-works.com/webcreative/wordpress/687</link>
		<comments>http://tech.hi-works.com/webcreative/wordpress/687#comments</comments>
		<pubDate>Sun, 09 Oct 2011 11:36:52 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=687</guid>
		<description><![CDATA[WordPress用イベントカレンダーのプラグインはいろいろ出ています。 一番有名なのは Event cakender 3 ですが、 Event cakender 3は投稿のカテゴリーの中に「イベント」に該当するカテゴリ &#8230; <a href="http://tech.hi-works.com/webcreative/wordpress/687">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPress用イベントカレンダーのプラグインはいろいろ出ています。<br />
一番有名なのは Event cakender 3 ですが、 Event cakender 3は投稿のカテゴリーの中に「イベント」に該当するカテゴリーを設定するので自分の求める用途では使いにくいなと思ってたところ、<a href="https://wordpress.org/extend/plugins/all-in-one-event-calendar/" target="_blank">All-in-One Event Calendar Plugin</a>が一番使いやすそうでした。</p>
<p>が・・・</p>
<p>日本語化ファイルが無い・・・orz</p>
<p>と、言うことで、日本語化ファイルを作りました。</p>
<p>まだ英語のままの部分もありますが、無いよりはずいぶんマシだと思うので公開します。</p>
<p>All-in-One Event Calendar Plugin 日本語化ファイル<br />
2011.10.09 <a href="http://tech.hi-works.com/all-in-one-event-calendar-ja_000.zip" target="_blank">all-in-one-event-calendar-ja_000.zip</a><br />
2011.10.11 <a href="http://tech.hi-works.com/all-in-one-event-calendar-ja_001.zip" target="_blank">all-in-one-event-calendar-ja_001.zip</a> <span style="color:#f00;"> UP!! </span></p>
<h4>使い方</h4>
<p>フォルダの中身を展開して、<br />
all-in-one-event-calendar-ja.mo<br />
all-in-one-event-calendar-ja.po<br />
を<br />
all-in-one-event-calendar/language/<br />
フォルダにアップロードすればOKです。</p>
<h4>補足事項</h4>
<p>All-in-One Event Calendar Plugin 1.0.9 では下記の場所にバグがあります。</p>
<p>/all-in-one-event-calendar/app/controller/class-ai1ec-events-controller.php<br />
の407行目</p>
<p>$rrule = &#8216;FREQ=DAILY;BYDAY=SA+SU&#8217;;</p>
<p>の箇所を</p>
<p>$rrule = &#8216;FREQ=DAILY;BYDAY=SA,SU&#8217;;</p>
<p>にしないと、イベントの「繰り返し」を「毎週末」にした時にエラーになってしまいます。</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/wordpress/687/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/wordpress/687" />
	</item>
		<item>
		<title>ウェブ屋が震災で出来そうな事を考えてみた。</title>
		<link>http://tech.hi-works.com/information/681</link>
		<comments>http://tech.hi-works.com/information/681#comments</comments>
		<pubDate>Sat, 02 Apr 2011 13:32:26 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[お知らせ]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=681</guid>
		<description><![CDATA[東日本大震災で何か出来ない事はないか考えてたんだけど既に誰かが作ったものを作っても、情報が乱立するだけなので、それらを除けば、震災発生以来これといって特別な事は思いつかなかったのだけど、ニュースを見ていてこんなのはどうか &#8230; <a href="http://tech.hi-works.com/information/681">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>東日本大震災で何か出来ない事はないか考えてたんだけど既に誰かが作ったものを作っても、情報が乱立するだけなので、それらを除けば、震災発生以来これといって特別な事は思いつかなかったのだけど、ニュースを見ていてこんなのはどうかと思うので、意見伺いと、よさそうなら開発・運営要員を募りたいと思う。</p>
<p>■提案サイト<br />
東日本大震災での遺品や瓦礫の中にある写真などの残留物の写真をアップロード・閲覧出来るウェブサイト</p>
<p>■趣旨<br />
瓦礫の中から市役所・役場の職員が回収した品物、これらは回収した各役場などに保管・展示されており、被災者・遺族がそれぞれ探しに来るが、これらは以下の問題がある。</p>
<p>・津波の規模が大きかった為、数箇所回らないといいけない。<br />
　しかし、確認しに行くには燃料・労力・時間を要する。<br />
・役場もいつまでも並べておくわけにはいかない。</p>
<p>■必要と思われる成果物<br />
・PCサイト<br />
・ガラケー版サイト<br />
・スマートフォン版サイト<br />
・使い方解説ページ（サイト）</p>
<p>■必要と思われる機能<br />
・誰でも（各地域の役場・ボランティアの人）ユーザー登録出来て写真をアップロード<br />
・PCサイトは勿論スマートフォン、ガラケーからも閲覧・投稿<br />
・地域や種類、管理場所などを登録しておけばユーザーも管理者も探しやすいかなと。<br />
・各写真に問い合わせ連絡先（登録したユーザーの電話番号など）を掲載</p>
<p>■あると望ましい機能<br />
・不適切画像・情報の通報</p>
<p>■必要な人員<br />
・PCサイト構築スタッフ（IT技術者）<br />
・ガラケー用テンプレ制作スタッフ（IT技術者）<br />
・スマホ用テンプレ制作スタッフ（IT技術者）<br />
・使い方解説ページ（サイト）　ITリテラシー低い人向けなのでこれが結構難しいかも。<br />
※WordPressベースでの開発想定<br />
・ウェブデザイナー<br />
　（凝る必要はないと思うので、部分的なパーツ作成がメインかな）<br />
・こんなサイトがありますと各関係機関に告知する為に、告知先リストの作成と連絡スタッフ<br />
　ツイッターとかで拡散はしてもらうにせよ、直接連絡やプレスリリースは必要かなと。</p>
<p>■必要な運営要員<br />
・不適切画像が投稿された時に対応・削除するスタッフ<br />
・使い方をサポートするスタッフ</p>
<p>投稿作業は労力やITリテラシーが少し必要かもしれないけど、そういう作業こそ現地ボランティアに向くのかなと期待したり・・・。</p>
<p>で、もう震災から随分日が経ってるので、すぐに作れないんだったら、サイトの存在意義が無いような気がするので、今週末（つまり今日?明日）で、『作業分担してやるぞもらぁ！』って人が少なくとも３名以上集まらなければまぁあんましなぁ・・・</p>
<p>今週末で作れないんだったら現実的じゃないかなって思ってますがどうですかね？</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/information/681/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/information/681" />
	</item>
		<item>
		<title>カスタム投稿タイプのRSS</title>
		<link>http://tech.hi-works.com/webcreative/wordpress/676</link>
		<comments>http://tech.hi-works.com/webcreative/wordpress/676#comments</comments>
		<pubDate>Wed, 24 Nov 2010 07:01:08 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[Web制作技術情報]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=676</guid>
		<description><![CDATA[カスタム投稿タイプを作った場合、そのRSSフィードだけも出力したいと思います。 カスタム投稿タイプを設定しただけではRSSフィードには入らないので、function.phpに下記を追記します。 1 2 3 4 5 6 7 &#8230; <a href="http://tech.hi-works.com/webcreative/wordpress/676">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>カスタム投稿タイプを作った場合、そのRSSフィードだけも出力したいと思います。<br />
カスタム投稿タイプを設定しただけではRSSフィードには入らないので、function.phpに下記を追記します。</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">// RSSの追加
function my_get_posts( $query ) {
    if ( is_feed() ) {
        $query-&gt;set( 'post_type', array('info') ); // カスタム投稿タイプ'info'を追加した場合
        return $query;
    }
}
add_filter( 'pre_get_posts', 'my_get_posts' );</pre></td></tr></table></div>

<p>出力されるRSSのURL</p>
<p>公開URL/feed?post_type=info</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/wordpress/676/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/wordpress/676" />
	</item>
		<item>
		<title>the_excerpt(抜粋・概要)タグでpタグを除外する方法。</title>
		<link>http://tech.hi-works.com/webcreative/wordpress/668</link>
		<comments>http://tech.hi-works.com/webcreative/wordpress/668#comments</comments>
		<pubDate>Sun, 14 Nov 2010 15:27:49 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=668</guid>
		<description><![CDATA[抜粋欄に記入されている内容（記入されていない場合は本文最初の数文字）を表示するthe_excerptタグですが、大変親切な事に勝手にpタグを入れてくれます。 と、なると、抜粋を表示してそこにパーマリンクを指定しようとする &#8230; <a href="http://tech.hi-works.com/webcreative/wordpress/668">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>抜粋欄に記入されている内容（記入されていない場合は本文最初の数文字）を表示するthe_excerptタグですが、大変親切な事に勝手にpタグを入れてくれます。</p>
<p>と、なると、抜粋を表示してそこにパーマリンクを指定しようとするとpタグの外にaタグになるのでhtml上よろしくなかったり、metaのdescriptionに使いたいのに中にpタグが入るなんて事になってしまうので、都合が悪いです。</p>
<p>調べたところ<a href="http://www.serendip.ws/archives/5119">こちらのサイト</a>で紹介されていました。</p>
<p>function.phpに</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">&lt;?php
    // pタグ自動挿入解除
    remove_filter('the_excerpt', 'wpautop');
?&gt;</pre></td></tr></table></div>

<p>を追加すれば解除できます。</p>
<p>ちなみにwp-includes/default-filters.phpを触る方法もありますが、こちらはWordPress本体のアップデートで上書きされてしまうのでお勧めしません。</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/wordpress/668/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/wordpress/668" />
	</item>
		<item>
		<title>WordPressの投稿・更新をもっと簡単にするカスタマイズ</title>
		<link>http://tech.hi-works.com/webcreative/wordpress/666</link>
		<comments>http://tech.hi-works.com/webcreative/wordpress/666#comments</comments>
		<pubDate>Sat, 30 Oct 2010 13:08:01 +0000</pubDate>
		<dc:creator>kurudrive</dc:creator>
				<category><![CDATA[Web制作技術情報]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tech.hi-works.com/?p=666</guid>
		<description><![CDATA[WordCampNagoya2010のＬＴのスライドをアップしました。 Word presslt View more presentations from Hidekazu Ishikawa.]]></description>
			<content:encoded><![CDATA[<p>WordCampNagoya2010のＬＴのスライドをアップしました。 </p>
<div style="width:425px" id="__ss_5616261"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/kurudrive/word-presslt" title="Word presslt">Word presslt</a></strong><object id="__sse5616261" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordpresslt-101030080343-phpapp01&#038;stripped_title=word-presslt&#038;userName=kurudrive" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse5616261" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordpresslt-101030080343-phpapp01&#038;stripped_title=word-presslt&#038;userName=kurudrive" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/kurudrive">Hidekazu Ishikawa</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tech.hi-works.com/webcreative/wordpress/666/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hi-works.com/webcreative/wordpress/666" />
	</item>
	</channel>
</rss>

