<?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>blog is emptified. &#187; 重複チェック</title>
	<atom:link href="http://blog.emptified.com/tag/%e9%87%8d%e8%a4%87%e3%83%81%e3%82%a7%e3%83%83%e3%82%af/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.emptified.com</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 16:15:08 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPressのパーマリンク（スラッグ）重複チェック</title>
		<link>http://blog.emptified.com/2009/02/wordpress_2.html</link>
		<comments>http://blog.emptified.com/2009/02/wordpress_2.html#comments</comments>
		<pubDate>Thu, 19 Feb 2009 00:33:56 +0000</pubDate>
		<dc:creator>Rinopu</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[スラッグ]]></category>
		<category><![CDATA[パーマリンク]]></category>
		<category><![CDATA[重複チェック]]></category>

		<guid isPermaLink="false">http://blog.emptified.com/?p=228</guid>
		<description><![CDATA[パーマリンク（スラッグ）が重複した場合、Wordpressが勝手に「-2」のようにハイフンと数字を付けてくれますが、 それをアンダースコアに変える方法をメモ。 wp-includes/post.phpの1451行目付近。 [...]]]></description>
			<content:encoded><![CDATA[<p>パーマリンク（スラッグ）が重複した場合、Wordpressが勝手に「-2」のようにハイフンと数字を付けてくれますが、<br />
それをアンダースコアに変える方法をメモ。</p>
<p>wp-includes/post.phpの1451行目付近。</p>
<pre><code title="Before">$alt_post_name = substr($post_name, 0, 200-(strlen($suffix)+1)). "-$suffix";</code></pre>
<pre><code title="After">$alt_post_name = substr($post_name, 0, 200-(strlen($suffix)+1)). "_$suffix";</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.emptified.com/2009/02/wordpress_2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

