<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Kunathip&#039;s Weblog</title>
	<atom:link href="http://kunathip.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://kunathip.wordpress.com</link>
	<description>to be a web developer!</description>
	<lastBuildDate>Wed, 06 Jul 2011 09:17:26 +0000</lastBuildDate>
	<language>th</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='kunathip.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kunathip&#039;s Weblog</title>
		<link>http://kunathip.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://kunathip.wordpress.com/osd.xml" title="Kunathip&#039;s Weblog" />
	<atom:link rel='hub' href='http://kunathip.wordpress.com/?pushpress=hub'/>
		<item>
		<title>สร้างธีม WordPress ใช้เอง ตอนที่ 2</title>
		<link>http://kunathip.wordpress.com/2011/06/06/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-2/</link>
		<comments>http://kunathip.wordpress.com/2011/06/06/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-2/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 16:28:32 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://kunathip.wordpress.com/?p=148</guid>
		<description><![CDATA[ก่อนที่จะไปสู่การสร้าง header, index, page หรือ sidebar เรามาดู HTML ตัวอย่างกันก่อน เพื่อนำไปใช้ในส่วนต่อไปของบทความ ในที่นี้ใช้เป็น XHTML 1.0 Strict (อยากใช้ HTML5 แต่ยังงงกับการใช้ tag บาง tag เช่น article กับ section ว่าใช้อย่างไรกันแน่ เลยใช้ XHTML ไปก่อน) แล้วบันทึกเป็น index.php โดยมีโครงสร้างคร่าว ๆ ดังนี้ การสร้าง Header ให้ copy ส่วนของ html ที่อยู่ระหว่าง tag &#60;!&#8211;Begin Header (ส่วนหัว) &#8211;&#62; และ &#60;!&#8211;End Header&#8211;&#62; คือในบรรทัดที่ 1 ถึงบรรทัดที่ 17 ในตัวอย่างไปใส่ไว้ใน header.php ดังนั้น <a href="http://kunathip.wordpress.com/2011/06/06/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-2/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=148&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ก่อนที่จะไปสู่การสร้าง header, index, page หรือ sidebar เรามาดู <abbr title="HyperText Markup Language">HTML</abbr> ตัวอย่างกันก่อน เพื่อนำไปใช้ในส่วนต่อไปของบทความ ในที่นี้ใช้เป็น <abbr title="Extensible HyperText Markup Language">XHTML</abbr> 1.0 Strict (อยากใช้ HTML5 แต่ยังงงกับการใช้ tag บาง tag เช่น article กับ section ว่าใช้อย่างไรกันแน่ เลยใช้ XHTML ไปก่อน) แล้วบันทึกเป็น <em>index.php</em> โดยมีโครงสร้างคร่าว ๆ ดังนี้ </p>
<p><pre class="brush: xml;">
&lt;!--Begin Header (ส่วนหัว) --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;th&quot; xml:lang=&quot;th&quot;&gt;
&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
&lt;title&gt;My Blog&lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;style.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;wrapper&quot;&gt;
&lt;div id=&quot;header&quot;&gt;
&lt;h1&gt;Blog ของผมครับ&lt;/h1&gt;
&lt;div id=&quot;topnav&quot;&gt;

&lt;/div&gt; &lt;!--#topnav--&gt;
&lt;/div&gt;
&lt;!--End Header--&gt;

&lt;!--Begin Content (ส่วนเนื้อหา) --&gt;
&lt;div id=&quot;content&quot;&gt;
ส่วนเนื้อหา
&lt;/div&gt;
&lt;!--End Content--&gt;

&lt;!--Begin Sidebar (ส่วนเมนู) --&gt;
&lt;div id=&quot;nav&quot;&gt;
ส่วนนำทางหรือเมนู
&lt;/div&gt;
&lt;!--End Sidebar--&gt;

&lt;!--Begin Footer (ส่วนล่าง) --&gt;
&lt;/div&gt; &lt;!--#wrapper--&gt;
&lt;div id=&quot;footer&quot;&gt;
Copyright &amp;copy; 2011 My Blog
&lt;/div&gt;
&lt;!--End Footer--&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre></p>
<h2>การสร้าง Header</h2>
<p>ให้ copy ส่วนของ html ที่อยู่ระหว่าง tag <strong>&lt;!&#8211;Begin Header (ส่วนหัว) &#8211;&gt; </strong> และ <strong>&lt;!&#8211;End Header&#8211;&gt; </strong> คือในบรรทัดที่ 1 ถึงบรรทัดที่ 17 ในตัวอย่างไปใส่ไว้ใน header.php ดังนั้น header.php ในตอนนี้จะมี code ดังนี้</p>
<p><span id="more-148"></span><br />
<em>header.php</em><br />
<pre class="brush: xml;">
&lt;!--Begin Header (ส่วนหัว) --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;th&quot; xml:lang=&quot;th&quot;&gt;
&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
&lt;title&gt;My Blog&lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;style.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;wrapper&quot;&gt;
&lt;div id=&quot;header&quot;&gt;
&lt;h1&gt;Blog ของผมครับ&lt;/h1&gt;
&lt;div id=&quot;topnav&quot;&gt;

&lt;/div&gt; &lt;!--#topnav--&gt;
&lt;/div&gt;
&lt;!--End Header--&gt;
</pre></p>
<p>ในการสร้างธีม WordPress นั้น จำเป็นต้องมีการประกาศ DOCTYPE ว่าเป็น <abbr title="HyperText Markup Language">HTML</abbr> หรือ <abbr title="Extensible HyperText Markup Language">XHTML</abbr> เพื่อเป็นการบอก browsers ให้ render เว็บเพจได้อย่างถูกต้อง</p>
<p>ในส่วนของ &lt;head&gt; นั้น เราจะใช้ &lt;head&gt;  เฉย ๆ ไม่ต้องตามตัวอย่างก็ได้ (ผมใส่ตามหนังสือน่ะ) โดยในตัวอย่างจะเป็นเรื่องเกี่ยวกับการที่หน้า blog ของเรามีความสัมพันธ์เชื่อมโยงกับคนอื่น (มั๊ง) สามารถหารายละเอียดเพิ่มเติมที่ <a href="http://www.gmpg.org/xfn/intro" title="XHTML Friends Network" target="_blank">XHTML Friends Network</a></p>
<p>จากนั้นทำการแก้ไข header.php ดังนี้</p>
<p><pre class="brush: php; highlight: [5,6,7,8,9]; html-script: true;">
&lt;!--Begin Header (ส่วนหัว) --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;th&quot; xml:lang=&quot;th&quot;&gt;
&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
&lt;title&gt;&lt;?php wp_title('&amp;laquo;', true, 'right'); ?&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;&lt;?php bloginfo('html_type'); ?&gt;; charset=&lt;?php bloginfo('charset'); ?&gt;&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;&lt;?php bloginfo('stylesheet_url'); ?&gt;&quot; /&gt;
&lt;?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?&gt;
&lt;?php wp_head(); ?&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;wrapper&quot;&gt;
&lt;div id=&quot;header&quot;&gt;
&lt;h1&gt;Blog ของผมครับ&lt;/h1&gt;
&lt;div id=&quot;topnav&quot;&gt;

&lt;/div&gt; &lt;!--#topnav--&gt;
&lt;/div&gt;
&lt;!--End Header--&gt;
</pre></p>
<p>จาก code ข้างบน การแก้ไขเริ่มตั้งแต่บรรทัดที่ 5 จากของเดิมคือ</p>
<p><pre class="brush: xml; first-line: 5;">
&lt;title&gt;My Blog&lt;/title&gt;
</pre></p>
<p>ก็เปลี่ยนเป็น</p>
<p><pre class="brush: php; first-line: 5;">
&lt;title&gt;&lt;?php wp_title('&amp;laquo;', true, 'right'); ?&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/title&gt;
</pre></p>
<p>การเปลี่ยนข้างต้นจะแสดงชื่อ blog ของเราตามที่ตั้งค่าไว้ตอนติดตั้งครั้งแรกในส่วนของ admin ซึ่งสามารถแก้ไขได้ ถ้าเอาแบบตาม Tutorial จากเว็บอื่นบางเว็บจะใช้แค่</p>
<p> <pre class="brush: php; first-line: 5;">
&lt;title&gt;&lt;?php bloginfo('name'); ?&gt; &lt;?php wp_title(); ?&gt;&lt;/title&gt;
</pre></p>
<p>ก็แล้วแต่สะดวกครับ ลองใช้ทั้งสองแบบแล้วดูว่าเราชอบแบบไหน ข้อมูลเพิ่มเติมของ tag wp_title() สามารถดูได้ที่ <a href="http://codex.wordpress.org/Function_Reference/wp_title" title="wp_title" target="_blank">wp_title()</a></p>
<p>ต่อมาในบรรทัดที่ 6 คือการบอก browser ว่าหน้าเว็บเราเป็น <abbr title="HyperText Markup Language">HTML</abbr> ที่มีการเข้ารหัส (Encoding) แบบ UTF-8</p>
<p>ข้อควรระวังคือเวลาพิมพ์ code เหล่านี้ต้องเลือกบันทึกเป็นแบบ UTF-8 ด้วย มิฉะนั้นเวลาแสดงผลจะเป็นภาษาต่างดาว เช่นถ้าใช้ Notepad++ ต้องเลือกที่เมนู Encoding &#8211;&gt; Encode in UTF-8 without BOM</p>
<p><pre class="brush: xml; first-line: 6;">
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;
</pre></p>
<p>เปลี่ยนเป็น</p>
<p><pre class="brush: php; first-line: 6;">
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;&lt;?php bloginfo('html_type'); ?&gt;; charset=&lt;?php bloginfo('charset'); ?&gt;&quot; /&gt;
</pre></p>
<p>บรรทัดที่ 7 คือการอ้างถึง <abbr title="Cascading Style Sheets">CSS</abbr> ที่ใช้ในธีมของเรา โดยหลังจากที่เราสร้างไฟล์ style.css กับไฟล์ index.php (ไฟล์ template ของ code ข้างต้น) ให้เลือกธีมในส่วนของ admin ที่เป็นชื่อธีมชื่อเราได้สร้างไว้ (ชื่อเดียวกับชื่อธีมที่กำหนดใน style.css) จากเดิม</p>
<p><pre class="brush: xml; first-line: 7;">
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;style.css&quot; /&gt;
</pre></p>
<p>เปลี่ยนเป็น</p>
<p><pre class="brush: php; first-line: 7;">
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;&lt;?php bloginfo('stylesheet_url'); ?&gt;&quot; /&gt;
</pre></p>
<p>ในบรรทัดที่ 8 ใช้สำหรับการจัดการกับ comment ส่วนในบรรทัดที่ 9 &lt;?php wp_head(); ?&gt; คือการดึงส่วนที่เหลือใน &lt;head&gt; เช่น Prototype, version ของ WordPress ที่เราใช้ หรือ plugin ต่าง ๆ ที่เราใช้ เป็นต้น</p>
<p>ในส่วนต่อมาคือส่วนของส่วนหัวของเว็บที่จะแสดงผล (ที่ผ่านมาคือการประกาศค่าใน tag &lt;head&gt; ยังไม่เกี่ยวกับการแสดงผลให้เห็น ต่อจากนี้คือการให้ browser แสดงผลสิ่งที่อยู่ภายใต้ tag &lt;body&gt;) แก้ไขไฟล์ header.php ดังนี้</p>
<p><pre class="brush: php; highlight: [14,16]; html-script: true;">
&lt;!--Begin Header (ส่วนหัว) --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;th&quot; xml:lang=&quot;th&quot;&gt;
&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
&lt;title&gt;&lt;?php wp_title('&amp;laquo;', true, 'right'); ?&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/title&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;&lt;?php bloginfo('html_type'); ?&gt;; charset=&lt;?php bloginfo('charset'); ?&gt;&quot; /&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; media=&quot;screen&quot; href=&quot;&lt;?php bloginfo('stylesheet_url'); ?&gt;&quot; /&gt;
&lt;?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?&gt;
&lt;?php wp_head(); ?&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;wrapper&quot;&gt;
&lt;div id=&quot;header&quot;&gt;
&lt;h1&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;div id=&quot;topnav&quot;&gt;
&lt;?php wp_list_pages('title_li='); ?&gt;
&lt;/div&gt; &lt;!--#topnav--&gt;
&lt;/div&gt;
&lt;!--End Header--&gt;
</pre></p>
<p>ในบรรทัดที่ 14 ถ้าเรา view sourcecode จะเห็นเป็น</p>
<p><pre class="brush: xml; first-line: 14;">
&lt;h1&gt;&lt;a href=&quot;http://ที่อยู่ของ site เรา/&quot;&gt;ชื่อ blog ของเรา&lt;/a&gt;&lt;/h1&gt;
</pre></p>
<p>จะเห็นว่า &lt;?php bloginfo(); ?&gt; จะแสดงข้อมูลต่าง ๆ ของ WordPress แล้วแต่ว่าเราผ่านค่า argument อะไรเข้าไป เช่น จากบรรทัดที่ 14 เราผ่านค่า <em>url</em> และ <em>name</em> เข้าไป ทำให้แสดงผลเป็น url และชื่อ blog ของเราที่ตั้งไว้ ดูเพิ่มเติมเกี่ยวกับ bloginfo() ได้ที่ <a href="http://codex.wordpress.org/Function_Reference/bloginfo" title="bloginfo()" target="_blank">bloginfo()</a></p>
<p>ในบรรทัดที่ 16 ส่วนนำทาง (navigation) ส่วนบนที่อยู่ในส่วนของ &lt;div id=&#8221;topnav&#8221;&gt;&lt;/div&gt; จะแสดงหน้า (page) ที่เราสร้างไว้ แต่ถ้าเราต้องการแสดงเป็นหมวดหมู่ (Category) ก็ใช้ code แทนดังนี้</p>
<p><pre class="brush: php; first-line: 16;">
&lt;?php wp_list_categories(); ?&gt;
</pre></p>
<p>โดยฟังก์ชั่น wp_list_categories() สามารถดูเพิ่มเติมได้ที่ <a href="http://codex.wordpress.org/Template_Tags/wp_list_categories" title="wp_list_categories()">wp_list_categories</a></p>
<p>จากนั้นให้ทำการบันทึก header.php ตอนต่อไปจะเป็นการสร้างไฟล์ index.php (แค่ header.php ก็เขียนตั้งหลายวัน แล้ว index.php จะกี่วันเนี่ย)</p>
<p>แปลจาก: <strong>WordPress 3 Site Blueprints</strong></p>
<p>โดย: <strong>Heather R. Wallace</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=148&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2011/06/06/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>
	</item>
		<item>
		<title>สร้างธีม WordPress ใช้เอง ตอนที่ 1</title>
		<link>http://kunathip.wordpress.com/2011/05/31/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-1/</link>
		<comments>http://kunathip.wordpress.com/2011/05/31/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-1/#comments</comments>
		<pubDate>Tue, 31 May 2011 16:52:45 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">https://kunathip.wordpress.com/2011/05/31/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-1/</guid>
		<description><![CDATA[เริ่มต้นกับ Theme ก่อนอื่นก็คิดชื่อ Theme ที่จะสร้างขึ้นมาใหม่ เสร็จแล้วก็สร้าง folder โดยใช้ชื่อเดียวกับชื่อ theme ที่คิดจะตั้งชื่อ โดย folder ที่จะสร้าง theme ประกอบด้วยไฟล์ต่าง ๆ ดังนี้ functions.php header.php index.php single.php page.php sidebar.php footer.php สร้าง stylesheet โดยตั้งชื่อว่า style.css และใช้ editor เปิดเพื่อ แก้ไขไฟล์ ดังนี้ เพิ่มโค๊ดข้างต้นในไฟล์ style.css และ save ไฟล์ แบ่งส่วนหน้า template การแบ่งส่วนในหน้า template เป็น 4 ส่วน โดยขึ้นกับเราว่าจะแบ่งส่วนใดเป็น header, sidebar, footer หรือ content โดยอาจแบ่งได้ดังนี้ ส่วน header ส่วน <a href="http://kunathip.wordpress.com/2011/05/31/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-1/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=80&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>เริ่มต้นกับ Theme</h2>
<p>ก่อนอื่นก็คิดชื่อ Theme ที่จะสร้างขึ้นมาใหม่ เสร็จแล้วก็สร้าง folder โดยใช้ชื่อเดียวกับชื่อ theme ที่คิดจะตั้งชื่อ โดย folder ที่จะสร้าง theme ประกอบด้วยไฟล์ต่าง ๆ ดังนี้</p>
<ul>
<li>functions.php</li>
<li>header.php</li>
<li>index.php</li>
<li>single.php </li>
<li>page.php </li>
<li>sidebar.php </li>
<li>footer.php </li>
</ul>
<p>สร้าง stylesheet โดยตั้งชื่อว่า style.css และใช้ editor เปิดเพื่อ</p>
<p><span id="more-80"></span>
<p>แก้ไขไฟล์ ดังนี้</p>
<p><pre class="brush: css;">
/*
Theme Name: ชื่อ theme
Theme URI: url ของ theme
Description: อธิบาย theme ที่เราสร้าง
Author: คนสร้าง (ชื่อเราเอง)
Auhtor URL: url ของคนสร้าง
Version: เวอร์ชั่น อาจเป็น 1.0 หรืออะไรก็ได้
*/
</pre></p>
<p>เพิ่มโค๊ดข้างต้นในไฟล์ style.css และ save ไฟล์</p>
<h2>แบ่งส่วนหน้า template</h2>
<p>การแบ่งส่วนในหน้า template เป็น 4 ส่วน โดยขึ้นกับเราว่าจะแบ่งส่วนใดเป็น header, sidebar, footer หรือ content โดยอาจแบ่งได้ดังนี้</p>
<p><strong>ส่วน header</strong></p>
<p><pre class="brush: xml;">
&lt;!--Begin Header--&gt;
&lt;!--End Header--&gt;
</pre></p>
<p><strong>ส่วน sidebar</strong></p>
<p><pre class="brush: xml;">
&lt;!--Begin Sidebar--&gt; 
&lt;!--End Sidebar--&gt;
</pre></p>
<p><strong>ส่วน footer</strong></p>
<p><pre class="brush: xml;">
&lt;!--Begin Footer--&gt;
&lt;!--End Footer--&gt;
</pre></p>
<p><strong>ส่วน content</strong></p>
<p><pre class="brush: xml;">
&lt;!--Begin Content--&gt;
&lt;!--End Content--&gt;
</pre></p>
<p>หลังจากแบ่งหน้าได้ 4 ส่วนแล้ว ก็ถึงเวลาที่จะลงรายละเอียดในแต่ละไฟล์แล้ว ดังนี้</p>
<h2>การสร้างไฟล์ functions</h2>
<p>ก่อนทำการสร้าง theme ต้องสร้างไฟล์ functions.php ก่อน เพราะไฟล์นี้ทำให้เราสามารถเพิ่ม function เพิ่มเติมใน theme ของเราได้ โดยไฟล์ functions.php นี้ทำให้เราสามารถเพิ่ม widget เข้าไปใน sidebar ของเราจากหน้า admin panel ได้เลย</p>
<p>เปิดไฟล์ functions.php แล้วเพิ่ม code ดังต่อไปนี้</p>
<p><strong>functions.php</strong></p>
<p><pre class="brush: php;">
&lt;?php
if (function_exists('register_sidebar'))
   register_sidebar(array(
      'before_widget'=&gt;'',
      'after_widget'=&gt;'',
      'before_title'=&gt;'&lt;h2&gt;',
      'after_title'=&gt;'&lt;/h2&gt;',
   ));
</pre></p>
<p>ต่อมาให้เพิ่ม code ด้านล่างนี้ต่อท้ายเพื่อให้ theme ของเราสามารถเปลี่ยน background ภายในหน้า admin panel ได้โดยไม่ต้องแก้ไขที่ stylesheet ในส่วนของ <strong>Custom Background</strong></p>
<p><pre class="brush: php; first-line: 9;">
add_custom_background();
</pre></p>
<p>เพิ่ม code ส่วนต่อมาคือการ feed links ในส่วนของ header ของ theme</p>
<p><pre class="brush: php; first-line: 10;">
add_theme_support('automatic-feed-links');
</pre></p>
<p>ตั้งแต่ WordPress 2.9 เป็นต้นมาจะมี feature ใหม่คือการใส่รูป thumbnail ซึ่งจะเป็นเมนูเพิ่มอยู่ทางด้านล่างขวา แสดงเมื่อเราอยู่ในส่วนของการ add new post โดยมี code ดังนี้</p>
<p><pre class="brush: php; first-line: 11;">
add_theme_support( 'post-thumbnails'); 
</pre></p>
<p>ตามด้วยการปิด tag ของ php</p>
<p><pre class="brush: php; first-line: 12;">
?&gt;
</pre></p>
<p>เมื่อเสร็จสิ้น code ทั้งหมดของ functions.php จะเป็นดังนี้</p>
<p><i>functions.php</i></p>
<p><pre class="brush: php;">
&lt;?php  
if (function_exists('register_sidebar'))  
   register_sidebar(array(  
      'before_widget' =&gt; '',  
      'after_widget' =&gt; '',  
      'before_title' =&gt; '&lt;h2&gt;',  
      'after_title' =&gt; '&lt;/h2&gt;',  
   ));  
add_custom_background();
add_theme_support('automatic-feed-links');
add_theme_support('post-thumbnails');	
?&gt;
</pre></p>
<p>ในตอนที่ 1 จะขอจบที่การสร้างไฟล์ <strong>functions.php</strong> ก่อน ส่วนการสร้าง header, sidebar, content และ footer จะกล่าวถึงในตอนต่อไป</p>
</p>
<p>แปลจาก: <strong>WordPress 3 Site Blueprints</strong></p>
<p>โดย: <strong>Heather R. Wallace</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=80&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2011/05/31/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87%e0%b8%98%e0%b8%b5%e0%b8%a1-wordpress-%e0%b9%83%e0%b8%8a%e0%b9%89%e0%b9%80%e0%b8%ad%e0%b8%87-%e0%b8%95%e0%b8%ad%e0%b8%99%e0%b8%97%e0%b8%b5%e0%b9%88-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>
	</item>
		<item>
		<title>แก้ไขเดือนและปีใน wordpress ให้เป็นเดือนภาษาไทย และปีภาษาไทย</title>
		<link>http://kunathip.wordpress.com/2011/04/15/%e0%b9%81%e0%b8%81%e0%b9%89%e0%b9%84%e0%b8%82%e0%b9%80%e0%b8%94%e0%b8%b7%e0%b8%ad%e0%b8%99%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%9b%e0%b8%b5%e0%b9%83%e0%b8%99-wordpress-%e0%b9%83%e0%b8%ab%e0%b9%89%e0%b9%80/</link>
		<comments>http://kunathip.wordpress.com/2011/04/15/%e0%b9%81%e0%b8%81%e0%b9%89%e0%b9%84%e0%b8%82%e0%b9%80%e0%b8%94%e0%b8%b7%e0%b8%ad%e0%b8%99%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%9b%e0%b8%b5%e0%b9%83%e0%b8%99-wordpress-%e0%b9%83%e0%b8%ab%e0%b9%89%e0%b9%80/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 12:30:33 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">https://kunathip.wordpress.com/2011/04/15/%e0%b9%81%e0%b8%81%e0%b9%89%e0%b9%84%e0%b8%82%e0%b9%80%e0%b8%94%e0%b8%b7%e0%b8%ad%e0%b8%99%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%9b%e0%b8%b5%e0%b9%83%e0%b8%99-wordpress-%e0%b9%83%e0%b8%ab%e0%b9%89%e0%b9%80/</guid>
		<description><![CDATA[การแก้เดือนภาษาไทยมีวิธีดังนี้ ไปที่ folder wp-include –&#62; locale.php หาคำว่า “//The Months” เป็นคอมเมนต์ แก้ไขเดือนที่เป็นภาษาอังกฤษให้เป็นภาษาไทยให้หมด รูปที่ 1 รูปก่อนการแก้ไข รูปที่ 2 หลังการแก้ไข การแก้ปีให้แสดงเป็นปีพุทธศักราชขึ้นอยู่กับ Theme ซึ่งค่อยมาเพิ่มเติม<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=77&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>การแก้เดือนภาษาไทยมีวิธีดังนี้</p>
<ol>
<li>ไปที่ folder wp-include –&gt; locale.php </li>
<li>หาคำว่า “//The Months” เป็นคอมเมนต์ </li>
<li>แก้ไขเดือนที่เป็นภาษาอังกฤษให้เป็นภาษาไทยให้หมด </li>
</ol>
<p><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="editMonth1" border="0" alt="editMonth1" src="http://kunathip.files.wordpress.com/2011/04/editmonth11.gif?w=476&#038;h=212" width="476" height="212" /></p>
<p align="center"><strong>รูปที่ 1</strong> รูปก่อนการแก้ไข</p>
<p align="center"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="editMonth2" border="0" alt="editMonth2" src="http://kunathip.files.wordpress.com/2011/04/editmonth2.gif?w=463&#038;h=214" width="463" height="214" /> </p>
<p align="center"><strong>รูปที่ 2</strong> หลังการแก้ไข</p>
<p>การแก้ปีให้แสดงเป็นปีพุทธศักราชขึ้นอยู่กับ Theme ซึ่งค่อยมาเพิ่มเติม</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=77&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2011/04/15/%e0%b9%81%e0%b8%81%e0%b9%89%e0%b9%84%e0%b8%82%e0%b9%80%e0%b8%94%e0%b8%b7%e0%b8%ad%e0%b8%99%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%9b%e0%b8%b5%e0%b9%83%e0%b8%99-wordpress-%e0%b9%83%e0%b8%ab%e0%b9%89%e0%b9%80/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>

		<media:content url="http://kunathip.files.wordpress.com/2011/04/editmonth11.gif" medium="image">
			<media:title type="html">editMonth1</media:title>
		</media:content>

		<media:content url="http://kunathip.files.wordpress.com/2011/04/editmonth2.gif" medium="image">
			<media:title type="html">editMonth2</media:title>
		</media:content>
	</item>
		<item>
		<title>คำสั่ง sql ในการคำนวณอายุปัจจุบัน</title>
		<link>http://kunathip.wordpress.com/2011/03/03/%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87-sql-%e0%b9%83%e0%b8%99%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%84%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%93%e0%b8%ad%e0%b8%b2%e0%b8%a2%e0%b8%b8%e0%b8%9b/</link>
		<comments>http://kunathip.wordpress.com/2011/03/03/%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87-sql-%e0%b9%83%e0%b8%99%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%84%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%93%e0%b8%ad%e0%b8%b2%e0%b8%a2%e0%b8%b8%e0%b8%9b/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 17:10:33 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[คำนวณอายุปัจจุบัน]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql คำนวณอายุปัจจุบัน]]></category>

		<guid isPermaLink="false">https://kunathip.wordpress.com/2011/03/03/%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87-sql-%e0%b9%83%e0%b8%99%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%84%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%93%e0%b8%ad%e0%b8%b2%e0%b8%a2%e0%b8%b8%e0%b8%9b/</guid>
		<description><![CDATA[((date_format(now(), &#8216;%Y&#8217;) -date_format(dob, &#8216;%Y&#8217;)) &#8211; (date_format(now(), &#8217;00-%m-%d&#8217;) &#60; date_format(birthDate, &#8217;00-%m-%d&#8217;))) as age<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=72&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>((date_format(now(), &#8216;%Y&#8217;) -date_format(dob, &#8216;%Y&#8217;)) &#8211; (date_format(now(), &#8217;00-%m-%d&#8217;) &lt; date_format(birthDate, &#8217;00-%m-%d&#8217;))) as age</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/72/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/72/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/72/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=72&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2011/03/03/%e0%b8%84%e0%b8%b3%e0%b8%aa%e0%b8%b1%e0%b9%88%e0%b8%87-sql-%e0%b9%83%e0%b8%99%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%84%e0%b8%b3%e0%b8%99%e0%b8%a7%e0%b8%93%e0%b8%ad%e0%b8%b2%e0%b8%a2%e0%b8%b8%e0%b8%9b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>
	</item>
		<item>
		<title>ดื่มน้ำเมื่อท้องว่าง ดีอย่างไร (เปลว สีเงิน)</title>
		<link>http://kunathip.wordpress.com/2010/10/29/%e0%b8%94%e0%b8%b7%e0%b9%88%e0%b8%a1%e0%b8%99%e0%b9%89%e0%b8%b3%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%97%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%a7%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b8%94%e0%b8%b5/</link>
		<comments>http://kunathip.wordpress.com/2010/10/29/%e0%b8%94%e0%b8%b7%e0%b9%88%e0%b8%a1%e0%b8%99%e0%b9%89%e0%b8%b3%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%97%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%a7%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b8%94%e0%b8%b5/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 00:46:12 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
				<category><![CDATA[เรื่อยเรื่อย มาเรียงเรียง]]></category>

		<guid isPermaLink="false">https://kunathip.wordpress.com/2010/10/29/%e0%b8%94%e0%b8%b7%e0%b9%88%e0%b8%a1%e0%b8%99%e0%b9%89%e0%b8%b3%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%97%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%a7%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b8%94%e0%b8%b5/</guid>
		<description><![CDATA[การดื่มน้ำเมื่อท้องว่างผ่านกระเพาะเพื่อรักษาสุขภาพที่ดี ในประเทศญี่ปุ่น ทุกวันนี้เป็นที่นิยมการดื่มน้ำทันทีหลังตื่นนอนตอนเช้า (ก่อนแปรงฟัน) เพื่อการรักษาสุขภาพที่ดี มีการทดลองยางวิทยาศาสตร์ พบว่าน้ำสามารถใช้ชะลอความแก่ และสามารถบำบัดรักษาโรคได้ เราสามารถใช้น้ำเพื่อบำบัดรักษาโรคได้หลายโรค มีการพิสูจน์จนยอมรับว่าสามารถบำบัดรักษาโรคเหล่านี้ได้ผล 100% (ค่อยเป็นค่อยไป ต้องใช้ระยะเวลา) ปวดหัว ปวดตามตัว โรคระบบหัวใจ โรคไขข้ออักเสบ โรคหัวใจเต้นเร็ว โรคลมบ้าหมู โรคอ้วน โรคหลอดลมอักเสบ โรคหืด และยูริก โรคแสสงคลื่นไส้ต่าง ๆ โรคกระเพาะ โรคท้องร่วง โรคริดสีดวง โรคเบาหวาน โรคอาการท้องผูก โรคตา โรคภายในสตรี มะเร็ว และรอบเดือนไม่ปกติ โรคคอ หู จมูก วีธีการรักษาปฏิบัติดังนี้ ตื่นนอนตอนเช้า ก่อนแปรงฟัน ให้ดื่มน้ำ 4 แก้ว (640 ซีซี) หลังจากนั้นสามารถแปรงฟันและล้างหน้าได้ แต่ต้องไม่ดื่มหรือรับประทานอะไรจนกว่า 45 นาทีผ่านไป จึงจะรับประทานได้ตามปกติ หลังรับประทานอาหารเช้า กลางวัน เย็น ไปแล้ว 15 <a href="http://kunathip.wordpress.com/2010/10/29/%e0%b8%94%e0%b8%b7%e0%b9%88%e0%b8%a1%e0%b8%99%e0%b9%89%e0%b8%b3%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%97%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%a7%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b8%94%e0%b8%b5/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=68&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>การดื่มน้ำเมื่อท้องว่างผ่านกระเพาะเพื่อรักษาสุขภาพที่ดี ในประเทศญี่ปุ่น ทุกวันนี้เป็นที่นิยมการดื่มน้ำทันทีหลังตื่นนอนตอนเช้า (ก่อนแปรงฟัน) เพื่อการรักษาสุขภาพที่ดี มีการทดลองยางวิทยาศาสตร์ พบว่าน้ำสามารถใช้ชะลอความแก่ และสามารถบำบัดรักษาโรคได้ เราสามารถใช้น้ำเพื่อบำบัดรักษาโรคได้หลายโรค</p>
<p>มีการพิสูจน์จนยอมรับว่าสามารถบำบัดรักษาโรคเหล่านี้ได้ผล 100% (ค่อยเป็นค่อยไป ต้องใช้ระยะเวลา) ปวดหัว ปวดตามตัว โรคระบบหัวใจ โรคไขข้ออักเสบ โรคหัวใจเต้นเร็ว โรคลมบ้าหมู โรคอ้วน โรคหลอดลมอักเสบ โรคหืด และยูริก โรคแสสงคลื่นไส้ต่าง ๆ โรคกระเพาะ โรคท้องร่วง โรคริดสีดวง โรคเบาหวาน โรคอาการท้องผูก โรคตา โรคภายในสตรี มะเร็ว และรอบเดือนไม่ปกติ โรคคอ หู จมูก</p>
<p>วีธีการรักษาปฏิบัติดังนี้</p>
<ol>
<li>ตื่นนอนตอนเช้า ก่อนแปรงฟัน ให้ดื่มน้ำ 4 แก้ว (640 ซีซี) </li>
<li>หลังจากนั้นสามารถแปรงฟันและล้างหน้าได้ แต่ต้องไม่ดื่มหรือรับประทานอะไรจนกว่า 45 นาทีผ่านไป จึงจะรับประทานได้ตามปกติ </li>
<li>หลังรับประทานอาหารเช้า กลางวัน เย็น ไปแล้ว 15 นาที ต้องไม่ดื่มน้ำหรือรับประทานเลย จนกว่า 2 ชั่วโมงผ่านไป </li>
<li>ผู้ป่วย หรือคนชรา ที่ไม่สามารถดื่มน้ำ 4 แก้ว ก็ขอให้ค่อย ๆ ดื่ม ค่อยเป็นค่อยไปเรื่อย ๆ จนได้ครบ 4 แก้ว </li>
</ol>
<p>ข้อปฏิบัติ 4 ข้อดังกล่าวจะทำให้ท่านบำบัดรักษาโรคที่เป็นอยู่ ค่อย ๆ เบาและหายขาดได้ในที่สุด วิธีนี้ไม่มีผลข้างเคียงใด ๆ ทั้งสิ้น</p>
<p><strong>ที่มา:</strong> <u>คอลัมน์ เปลว สีเงิน หนังสือพิมพ์ไทยโพสต์ ฉบับวันพุธที่ 27 ตุลาคม พ.ศ.2553</u></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=68&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2010/10/29/%e0%b8%94%e0%b8%b7%e0%b9%88%e0%b8%a1%e0%b8%99%e0%b9%89%e0%b8%b3%e0%b9%80%e0%b8%a1%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%97%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%a7%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b8%94%e0%b8%b5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>
	</item>
		<item>
		<title>วันสบาย สบาย</title>
		<link>http://kunathip.wordpress.com/2010/09/30/%e0%b8%a7%e0%b8%b1%e0%b8%99%e0%b8%aa%e0%b8%9a%e0%b8%b2%e0%b8%a2-%e0%b8%aa%e0%b8%9a%e0%b8%b2%e0%b8%a2/</link>
		<comments>http://kunathip.wordpress.com/2010/09/30/%e0%b8%a7%e0%b8%b1%e0%b8%99%e0%b8%aa%e0%b8%9a%e0%b8%b2%e0%b8%a2-%e0%b8%aa%e0%b8%9a%e0%b8%b2%e0%b8%a2/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 02:26:45 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
		
		<guid isPermaLink="false">https://kunathip.wordpress.com/2010/09/30/%e0%b8%a7%e0%b8%b1%e0%b8%99%e0%b8%aa%e0%b8%9a%e0%b8%b2%e0%b8%a2-%e0%b8%aa%e0%b8%9a%e0%b8%b2%e0%b8%a2/</guid>
		<description><![CDATA[ช่วง 2 – 3 อาทิตย์ที่ผ่านมา ห้องงานเทคโนโลสีสารสนเทศทำการขยายห้องใหม่ มีการกันห้อง ยกพื้น ปูพรม ทั้งเสียงดังและกลิ่นสี แต่ว่าไม่มีปัญหา ทนได้เพื่อห้องใหม่ พี่ณัฐเก๊กซะ สองหนุ่มหล่อ สามหนุ่มสามมุม chill chill<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=67&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ช่วง 2 – 3 อาทิตย์ที่ผ่านมา ห้องงานเทคโนโลสีสารสนเทศทำการขยายห้องใหม่ มีการกันห้อง ยกพื้น ปูพรม ทั้งเสียงดังและกลิ่นสี แต่ว่าไม่มีปัญหา ทนได้เพื่อห้องใหม่</p>
<p> <a href="http://kunathip.files.wordpress.com/2010/09/img_0856_resize.jpg"><img style="display:inline;border-width:0;" title="พี่ณัฐเก๊กซะ" border="0" alt="พี่ณัฐเก๊กซะ" src="http://kunathip.files.wordpress.com/2010/09/img_0856_resize_thumb.jpg?w=244&#038;h=184" width="244" height="184" /> </a>
<p>พี่ณัฐเก๊กซะ</p>
<p><span id="more-67"></span> <a href="http://kunathip.files.wordpress.com/2010/09/img_0857_resize.jpg"><img style="display:inline;border-width:0;" title="สองหนุ่มหล่อ" border="0" alt="สองหนุ่มหล่อ" src="http://kunathip.files.wordpress.com/2010/09/img_0857_resize_thumb.jpg?w=244&#038;h=184" width="244" height="184" /> </a>
<p>สองหนุ่มหล่อ</p>
<p> <a href="http://kunathip.files.wordpress.com/2010/09/img_0858_resize.jpg"><img style="display:inline;border-width:0;" title="สามหนุ่มสามมุม" border="0" alt="สามหนุ่มสามมุม" src="http://kunathip.files.wordpress.com/2010/09/img_0858_resize_thumb.jpg?w=244&#038;h=184" width="244" height="184" /> </a>
<p>สามหนุ่มสามมุม</p>
<p> <a href="http://kunathip.files.wordpress.com/2010/09/img_0859_resize.jpg"><img style="display:inline;border-width:0;" title="chill chill" border="0" alt="chill chill" src="http://kunathip.files.wordpress.com/2010/09/img_0859_resize_thumb.jpg?w=244&#038;h=184" width="244" height="184" /> </a>
<p>chill chill</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=67&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2010/09/30/%e0%b8%a7%e0%b8%b1%e0%b8%99%e0%b8%aa%e0%b8%9a%e0%b8%b2%e0%b8%a2-%e0%b8%aa%e0%b8%9a%e0%b8%b2%e0%b8%a2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>

		<media:content url="http://kunathip.files.wordpress.com/2010/09/img_0856_resize_thumb.jpg" medium="image">
			<media:title type="html">พี่ณัฐเก๊กซะ</media:title>
		</media:content>

		<media:content url="http://kunathip.files.wordpress.com/2010/09/img_0857_resize_thumb.jpg" medium="image">
			<media:title type="html">สองหนุ่มหล่อ</media:title>
		</media:content>

		<media:content url="http://kunathip.files.wordpress.com/2010/09/img_0858_resize_thumb.jpg" medium="image">
			<media:title type="html">สามหนุ่มสามมุม</media:title>
		</media:content>

		<media:content url="http://kunathip.files.wordpress.com/2010/09/img_0859_resize_thumb.jpg" medium="image">
			<media:title type="html">chill chill</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS shorthand properties แบบต่าง ๆ</title>
		<link>http://kunathip.wordpress.com/2010/09/29/css-shorthand-properties-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/</link>
		<comments>http://kunathip.wordpress.com/2010/09/29/css-shorthand-properties-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 09:24:31 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
		
		<guid isPermaLink="false">https://kunathip.wordpress.com/2010/09/29/css-shorthand-properties-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/</guid>
		<description><![CDATA[การใช้ CSS ที่ดีคือทำให้เวลาการโหลดสั้นที่สุด หนึ่งในวิธีที่นิยมคือการประกาศ property ของ css แบบสั้น (shorthand) นั่นเอง Font font: 1em/1.5em bold italic serif; จากแบบเต็ม font-size: 1em; line-height: 1.5em; font-weight: bold; font-style: italic; font-family: serif; Background background: #fff url(image.gif) no-repeat top left; จากแบบเต็ม background-color: #fff; background-image: url(image.gif); background-repeat: no-repeat; background-position: top left; Lists list-style: disc outside url(image.gif); จากแบบเต็ม list-style: #fff; list-style-type: disc; list-style-position: <a href="http://kunathip.wordpress.com/2010/09/29/css-shorthand-properties-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=56&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>การใช้ CSS ที่ดีคือทำให้เวลาการโหลดสั้นที่สุด หนึ่งในวิธีที่นิยมคือการประกาศ property ของ css แบบสั้น (shorthand) นั่นเอง</p>
<h4>Font</h4>
<pre style="background-color:#cdcdcd;padding:1em 3px;">font: 1em/1.5em bold italic serif;</pre>
<p>จากแบบเต็ม</p>
<pre style="background-color:#cdcdcd;padding:1em 3px;">font-size: 1em;
line-height: 1.5em;
font-weight: bold;
font-style: italic;
font-family: serif;</pre>
<h4>Background</h4>
<pre style="background-color:#cdcdcd;padding:1em 3px;">background: #fff url(image.gif) no-repeat top left;</pre>
<p>จากแบบเต็ม<span id="more-56"></span></p>
<pre style="background-color:#cdcdcd;padding:1em 3px;">background-color: #fff;
background-image: url(image.gif);
background-repeat: no-repeat;
background-position: top left;</pre>
<h4>Lists</h4>
<pre style="background-color:#cdcdcd;padding:1em 3px;">list-style: disc outside url(image.gif);</pre>
<p>จากแบบเต็ม</p>
<pre style="background-color:#cdcdcd;padding:1em 3px;">list-style: #fff;
list-style-type: disc;
list-style-position: outside;
list-style-image: url(image.gif);</pre>
<p>ความจริงมีมากกว่านี้ ทั้ง Border, Margin &amp; Padding แต่ใช้บ่อยเลยไม่ได้ใส่</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=56&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2010/09/29/css-shorthand-properties-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS Selector แบบต่าง ๆ</title>
		<link>http://kunathip.wordpress.com/2010/09/23/css-selector-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/</link>
		<comments>http://kunathip.wordpress.com/2010/09/23/css-selector-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 10:50:11 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
				<category><![CDATA[css]]></category>

		<guid isPermaLink="false">https://kunathip.wordpress.com/2010/09/23/css-selector-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/</guid>
		<description><![CDATA[selector ใน css มีหลายแบบ แต่จะแนะนำอันหลัก ๆ ดังนี้ Descendant Selector Parent-Child Selector Adjacent Selector Attribute Selector โดยจะขออธิบายทีละอย่าง เริ่มกันเลย 1. Descendant Selector Descentdant แปลโดย พจนานุกรม Longdo แปลว่า &#8220;ซึ่งสืบทอดมา&#8221;, &#8220;ผู้สืบสกุล&#8221;, &#8220;ทายาท&#8221; ซึ่งก็คือ การสืบทอดนั่นเองโดยมีตัวอย่างการใช้ดังนี้ CSS: li em { color: green; } แบบนี้จะเลือกทุก ๆ em ที่อยู่ภายใต้ li โดยเลือกทั้งหมดไม่ว่า em จะซ้อนด้วยแท็กอื่นอีกที ขอแค่ให้มี li ครอบอยู่ก่อนหน้านั้น ใน HTML ข้างล่าง em ตัวแรกจะแสดงผลเป็นสีเขียว แต่ em <a href="http://kunathip.wordpress.com/2010/09/23/css-selector-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=51&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>selector ใน css มีหลายแบบ แต่จะแนะนำอันหลัก ๆ ดังนี้</p>
<ol>
<li>Descendant Selector</li>
<li>Parent-Child Selector</li>
<li>Adjacent Selector</li>
<li>Attribute Selector</li>
</ol>
<p>โดยจะขออธิบายทีละอย่าง เริ่มกันเลย</p>
<h4>1. Descendant Selector</h4>
<p>Descentdant แปลโดย <a href="http://dict.longdo.com/search/Descendant">พจนานุกรม Longdo</a> แปลว่า &#8220;ซึ่งสืบทอดมา&#8221;, &#8220;ผู้สืบสกุล&#8221;, &#8220;ทายาท&#8221; ซึ่งก็คือ การสืบทอดนั่นเองโดยมีตัวอย่างการใช้ดังนี้<span id="more-51"></span></p>
<p><strong>CSS:</strong></p>
<pre style="background-color:#cdcdcd;padding:1em;">li em {
 color: green;
}</pre>
<p>แบบนี้จะเลือกทุก ๆ em ที่อยู่ภายใต้ li โดยเลือกทั้งหมดไม่ว่า em จะซ้อนด้วยแท็กอื่นอีกที ขอแค่ให้มี li ครอบอยู่ก่อนหน้านั้น</p>
<p>ใน HTML ข้างล่าง em ตัวแรกจะแสดงผลเป็นสีเขียว แต่ em ตัวที่สองจะเป็นสีปกติ</p>
<p><strong>HTML:</strong></p>
<pre style="background-color:#cdcdcd;padding:1em;">&lt;ul&gt;
 &lt;li&gt;Item One&lt;/li&gt;
 &lt;li&gt;Item <strong>&lt;em&gt;two&lt;/em&gt;</strong>&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;An <strong>&lt;em&gt;italicized&lt;/em&gt;</strong> words.&lt;/p&gt;</pre>
<h4>2. Parent-Child Selector</h4>
<p>มีตัวอย่างการใช้งาน ดังนี้</p>
<p><strong>CSS:</strong></p>
<pre style="background-color:#cdcdcd;padding:1em;">body &gt; p {
 font-weight: bold;
}</pre>
<p>แบบนี้จะเลือกเฉพาะ p ที่เป็น element ลูกโดยตรงของ body ไม่นับพวกที่โดนซ้อนอยู่อีกโดย tag อื่น</p>
<p>จาก HTML ข้างล่าง p ตัวที่ไม่อยู่ใน block ของ element ในที่นี้คือ &lt;p id=&#8221;para2&#8243;&gt;จะแสดงผลเป็นตัวหนา เพราะอยู่ติดกับ body แต่ p ตัวที่สองจะเป็นเป็นขนาดปกติ</p>
<p><strong>HTML:</strong></p>
<pre style="background-color:#cdcdcd;padding:1em;">&lt;body&gt;
&lt;div class="sidebar"&gt;
 &lt;p id="para1"&gt;This is the sidebar.&lt;/p&gt;
&lt;/div&gt;
&lt;p id="para2"&gt;Welcome to the web site! Here's a list&lt;/p&gt;
&lt;ul&gt;
 &lt;li&gt;

&lt;p id="para3"&gt;This is the first paragraph in the list. It's also the last.&lt;/p&gt;

 &lt;/li&gt;
&lt;/ul&gt;
&lt;/body&gt;
</pre>
<p>การใช้ Parent-Child Selector ไม่รองรับกับ Internet Explorer 6 ดังนั้นก็แล้วแต่เป้าหมายของผู้ชมกลุ่มเป้าหมายละกาน</p>
<h4>3. Adjacent Selector</h4>
<p>Adjacent Selector เป็น selector ที่ไม่ใช้การสืบทอดเหมือนกับ Descendant Selector แต่เป็นตัวที่ติดกันในโค๊ด HTML ดังตัวอย่างด้านล่าง</p>
<p><strong>CSS:</strong></p>
<pre style="background-color:#cdcdcd;padding:1em;">h1+h2 {
 margin-top: 11px;
}</pre>
<p>จากตัวอย่างเป็นการบอกให้ h2 ตัวแรกที่อยู่ติดกับ h1 มีช่องว่างด้านบน 11 px โดยดูตัวอย่างจาก HTML ดังนี้</p>
<pre style="background-color:#cdcdcd;padding:1em;">&lt;h1&gt;This is important stuff!&lt;/h1&gt;
&lt;h2&gt;First important item&lt;/h2&gt;
&lt;h2&gt;Second important item&lt;/h2&gt;</pre>
<p>จาก HTML แท็ก h2 บรรทัดที่ 2 จะห่างจาก h1 ขนาด 11 px แต่จะไม่มีผลกับ h2 ในบรรทัดที่สาม</p>
<p>และอีกตามเคย ไม่ support Internet Explorer 6</p>
<h4>4. Attribute Selectors</h4>
<p>selector แบบที่ 4 นี้จะคล้ายกับการเขียนโปรแกรม โดยมีรูปแบบดังนี้</p>
<p><strong>[attribute]</strong> จะเข้าเงื่อนไขคือกำหนด attribute ทั้งหมด</p>
<p><strong>[attribute="value"]</strong> จะเข้าเงื่อนไขเมื่อมีการกำหนดค่าให้กับ attribute</p>
<p><strong>[attribute~="value"]</strong> คือ attribute ใด ๆ ที่มีคำตรงกับค่าที่กำหนด จากการเว้นช่องว่าง</p>
<p><strong>[attribute|="value"]</strong> คือ attribute ใด ๆ ที่มีคำตรงกับค่าที่กำหนด โดยใช้เครื่องหมายคำพูด</p>
<p>ตัวอย่างการใช้งาน ถ้าต้องการให้ textbox (&lt;input type=&#8221;text&#8221; /&gt;) มีตัวอักษรสีขาว และพื้นหลังเป็นสีดำ สามารถกำหนด CSS ดังนี้</p>
<pre style="background-color:#cdcdcd;padding:1em;">input[type="text"] {
color: white;
background-color: black;
}</pre>
<p>อีกซักตัวอย่าง</p>
<p><strong>CSS:</strong></p>
<pre style="background-color:#cdcdcd;padding:1em;">div[class~="advertisement"]  {
 background: rgb(220, 220, 220);
 width: 74em;
 border:  solid 0.02em rgb(200, 200, 200);
 margin: 0 auto;
 min-height:  5em;
}</pre>
<p><strong>HTML:</strong></p>
<pre style="background-color:#cdcdcd;padding:1em;">&lt;div class="Advertisement promotion banner"&gt;
 &lt;p&gt;Content  goes here&lt;/p&gt;
&lt;/div&gt;</pre>
<p>แค่นี้แหละ ขี้เกียจแระ</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=51&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2010/09/23/css-selector-%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87-%e0%b9%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>
	</item>
		<item>
		<title>การติดตั้ง PHP และ Apache HTTP Server</title>
		<link>http://kunathip.wordpress.com/2008/10/11/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-php-mysql-%e0%b9%81%e0%b8%a5%e0%b8%b0-phpmyadmin/</link>
		<comments>http://kunathip.wordpress.com/2008/10/11/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-php-mysql-%e0%b9%81%e0%b8%a5%e0%b8%b0-phpmyadmin/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 13:11:41 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://kunathip.wordpress.com/2008/10/11/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-php-mysql-%e0%b9%81%e0%b8%a5%e0%b8%b0-phpmyadmin/</guid>
		<description><![CDATA[ก่อนอื่นเราต้อง download โปรแกรมทั้ง 2 ตัวนี้จากเว็บไซท์อย่างเป็นทางการ PHP ปัจจุบันเวอร์ชั่นที่เสถียรคือ 5.2.6 (11 ตุลาคม 2551) download ที่นี่ ถ้าใช้ windows ให้เลือก PHP 5.2.6 zip package ส่วน Apache เวอร์ชั่นปัจจุบันคือ 2.2.9 download ที่นี่ โดยเลือก Win32 Binary including OpenSSL 0.9.8h (MSI Installer)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=44&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ก่อนอื่นเราต้อง download โปรแกรมทั้ง 2 ตัวนี้จากเว็บไซท์อย่างเป็นทางการ</p>
<p>PHP ปัจจุบันเวอร์ชั่นที่เสถียรคือ 5.2.6 (11 ตุลาคม 2551) <a href="http://www.php.net/downloads.php#v5">download ที่นี่</a> ถ้าใช้ windows ให้เลือก PHP 5.2.6 zip package</p>
<p>ส่วน Apache เวอร์ชั่นปัจจุบันคือ 2.2.9 <a href="http://httpd.apache.org/download.cgi">download ที่นี่</a> โดยเลือก Win32 Binary including OpenSSL 0.9.8h (MSI Installer)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=44&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2008/10/11/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-php-mysql-%e0%b9%81%e0%b8%a5%e0%b8%b0-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>
	</item>
		<item>
		<title>รู้จักการใช้ PDO (PHP Data Objects) Part 2</title>
		<link>http://kunathip.wordpress.com/2008/09/30/%e0%b8%a3%e0%b8%b9%e0%b9%89%e0%b8%88%e0%b8%b1%e0%b8%81%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89-pdo-php-data-objects-part-2/</link>
		<comments>http://kunathip.wordpress.com/2008/09/30/%e0%b8%a3%e0%b8%b9%e0%b9%89%e0%b8%88%e0%b8%b1%e0%b8%81%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89-pdo-php-data-objects-part-2/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 06:29:19 +0000</pubDate>
		<dc:creator>kunathip</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://kunathip.wordpress.com/2008/09/30/%e0%b8%a3%e0%b8%b9%e0%b9%89%e0%b8%88%e0%b8%b1%e0%b8%81%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89-pdo-php-data-objects-part-2/</guid>
		<description><![CDATA[อ้างอิงจาก phpro.org ต้องบอกไว้ก่อน ความจริงแล้วผมทำขึ้นเพื่อเอาไว้อ่านของผมเอง เหมือนสมุดจดสิ่งที่ผมได้รู้แบบออนไลน์ (เท่ห์โคตรเลย) เอาหล่ะ มาดูเกี่ยวกับการ Query ข้อมูล ด้วย PDO กันบ้าง โดยใช้ฐานข้อมูลที่สร้างเมื่อตอน part1 มาทำต่อกันเลย Insert insert คือการใส่ข้อมูลลงในฐานข้อมูล โดย PDO นั้นจะใช้คำสั่ง PDO::exec ในการประมวลผลตาม code ด้านล่าง &#60;?php //ชื่อ host $host = 'localhost'; //ชื่อ login mySQL $username = 'username'; //password login mySQL $password = 'password'; try { $dbh = new PDO("mysql:host=$host; dbname=animals", $username, $password); /*** echo <a href="http://kunathip.wordpress.com/2008/09/30/%e0%b8%a3%e0%b8%b9%e0%b9%89%e0%b8%88%e0%b8%b1%e0%b8%81%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89-pdo-php-data-objects-part-2/" class="excerpt-more-link">[&#8230;]</a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=39&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-indent:1cm;">อ้างอิงจาก <a href="//www.phpro.org/tutorials/Introduction-to-PHP-PDO.html">phpro.org</a> ต้องบอกไว้ก่อน ความจริงแล้วผมทำขึ้นเพื่อเอาไว้อ่านของผมเอง เหมือนสมุดจดสิ่งที่ผมได้รู้แบบออนไลน์ (เท่ห์โคตรเลย)</p>
<p style="text-indent:1cm;">เอาหล่ะ มาดูเกี่ยวกับการ Query ข้อมูล ด้วย PDO กันบ้าง โดยใช้ฐานข้อมูลที่สร้างเมื่อตอน <a href="http://kunathip.wordpress.com/2008/09/30/%e0%b8%a3%e0%b8%b9%e0%b9%89%e0%b8%88%e0%b8%b1%e0%b8%81%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89-pdo-php-data-objects/">part1</a> มาทำต่อกันเลย<span id="more-39"></span></p>
<h4 style="color:blue;">Insert</h4>
<p style="text-indent:1cm;">insert คือการใส่ข้อมูลลงในฐานข้อมูล โดย PDO นั้นจะใช้คำสั่ง PDO::exec ในการประมวลผลตาม code ด้านล่าง</p>
<pre style="border:1px solid gray;background-color:aqua;font-size:6pt;">&lt;?php
//ชื่อ host
$host = 'localhost';

//ชื่อ login mySQL
$username = 'username';

//password login mySQL
$password = 'password';

try {
    $dbh = new PDO("mysql:host=$host; dbname=animals", $username, $password);
    /*** echo a message saying we have connected ***/
    echo 'Connected to database';

    /*** INSERT data ***/
    $count = $dbh-&gt;exec("INSERT INTO animals(animal_type, animal_name) VALUES ('kiwi', 'troy')");

    /*** echo the number of affected rows ***/
    echo $count;

    /*** close the database connection ***/
    $dbh = null;
    }
catch(PDOException $e)
    {
    echo $e-&gt;getMessage();
    }
?&gt;</pre>
<p style="text-indent:1cm;">คำสั่ง sql ข้างต้น หมายความว่าให้ใส่ข้อมูลในตาราง animals ใน field ของ animal_type และ animal_name ข้อมูลที่ใส่คือ &#8220;kiwi&#8221; และ &#8220;troy&#8221;</p>
<p style="text-indent:1cm;">output ที่ได้คือ</p>
<pre style="border:1px solid #333;background-color:aqua;font-size:11pt;">Connected to database
1</pre>
<p style="text-indent:1cm;">ผลลัพธ์ที่ออกมาอย่างนี้ เพื่อแสดงว่า เราสามารถติดต่อกับ MySQL ได้ และแสดงแถวที่เราได้ทำกับ insert เข้าไป</p>
<h4 style="color:blue;">Select</h4>
<p>select คือการเลือกข้อมูลจากฐานข้อมูลเพื่อนำมาใช้ ลองดูจาก code ดังนี้</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/kunathip.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/kunathip.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/kunathip.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/kunathip.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/kunathip.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/kunathip.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/kunathip.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/kunathip.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/kunathip.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/kunathip.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/kunathip.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/kunathip.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/kunathip.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/kunathip.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=kunathip.wordpress.com&amp;blog=3860676&amp;post=39&amp;subd=kunathip&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://kunathip.wordpress.com/2008/09/30/%e0%b8%a3%e0%b8%b9%e0%b9%89%e0%b8%88%e0%b8%b1%e0%b8%81%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%83%e0%b8%8a%e0%b9%89-pdo-php-data-objects-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/97172ccec13e9f789ffcaefc7ae9546f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Por</media:title>
		</media:content>
	</item>
	</channel>
</rss>
