<?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>รวมวิธีการใช้ Wordpress, Joomla, Drupal, Magento และ SEO &#187; code</title> <atom:link href="http://killthewhat.com/tag/code/feed/" rel="self" type="application/rss+xml" /><link>http://killthewhat.com</link> <description>Knowledge Base by howhost.com</description> <lastBuildDate>Fri, 24 Dec 2010 15:00:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.3</generator> <item><title>Plugin Highlight code ใน joomla</title><link>http://killthewhat.com/joomla-tutorial/plugin-highlight-code-%e0%b9%83%e0%b8%99-joomla/</link> <comments>http://killthewhat.com/joomla-tutorial/plugin-highlight-code-%e0%b9%83%e0%b8%99-joomla/#comments</comments> <pubDate>Thu, 29 Apr 2010 14:57:33 +0000</pubDate> <dc:creator>snappy</dc:creator> <category><![CDATA[Joomla]]></category> <category><![CDATA[code]]></category> <category><![CDATA[highlight]]></category> <category><![CDATA[plugin]]></category><guid
isPermaLink="false">http://killthewhat.com/?p=5879</guid> <description><![CDATA[Plugin ตัวนี้จะช่วยให้เราแทรกโค็ดลงในเนื้อหาทำได้ง่ายขึ้น (แทรกคือไม่ให้โค๊ดแสดงผลหรือทำงานเพียงแค่แสดงโค๊ดให้ดูเท่านั้น) คือเมื่อเราต้องแสดงโค็ดออกมาทางเนื้อหาจะมีปุ่มให้กดเพิ่ม และใส่โค็ดลงไป เหมาะสำหรับเว็บไซต์ที่สอนแนวการเขียนเว็บ หรือเขียนโค็ดโปรแกรมคอมพิวเตอร์ต่างๆ การแสดงผลก็ตามรูปครับ ให้เราทำการติดตั้ง Plugin Highlight code with Jumi มาทำการติดตั้งกันก่อน โดยโหลดมาแล้วให้แตกไฟล์ออกมา จะมี plugin อยู่สองตัวให้ทำการติดตั้งลงไปครับ จากนั้นไปที่ Extension &#62; Plugin Manager ค้นหา plugin ทั้งสองอันแล้วทำการเปิดการใช้งาน และกดคลิกที่ Highlight code with Jumi เพื่อเข้าไปทำการตั้งค่าเพิ่มเติม max-height กำหนดความสูงเยอะสุด width กำหนดความกว้าง Codes hidden ให้ซ้อนโค็ดไว้หรือไม่ เมื่อเราทำการเพิ่มบทความจะมีปุ่มเพิ่มโค็ดมาให้ใช้งาน Link download : http://extensions.joomla.org/extensions/edition/code-display/7475]]></description> <content:encoded><![CDATA[<p>Plugin ตัวนี้จะช่วยให้เราแทรกโค็ดลงในเนื้อหาทำได้ง่ายขึ้น  (แทรกคือไม่ให้โค๊ดแสดงผลหรือทำงานเพียงแค่แสดงโค๊ดให้ดูเท่านั้น)<span
id="more-5879"></span> คือเมื่อเราต้องแสดงโค็ดออกมาทางเนื้อหาจะมีปุ่มให้กดเพิ่ม และใส่โค็ดลงไป เหมาะสำหรับเว็บไซต์ที่สอนแนวการเขียนเว็บ หรือเขียนโค็ดโปรแกรมคอมพิวเตอร์ต่างๆ การแสดงผลก็ตามรูปครับ</p><p><img
class="aligncenter size-full wp-image-5880" title="Selection_001" src="http://killthewhat.com/wp-content/uploads/2010/04/Selection_00113.png" alt="" width="550" height="320" />ให้เราทำการติดตั้ง <a
href="http://extensions.joomla.org/extensions/edition/code-display/7475">Plugin Highlight code with Jumi</a> มาทำการติดตั้งกันก่อน โดยโหลดมาแล้วให้แตกไฟล์ออกมา จะมี plugin อยู่สองตัวให้ทำการติดตั้งลงไปครับ</p><p>จากนั้นไปที่ Extension &gt; Plugin Manager ค้นหา plugin ทั้งสองอันแล้วทำการเปิดการใช้งาน</p><p><a
href="http://killthewhat.com/wp-content/uploads/2010/04/Selection_0039.png" rel="lightbox[5879]"><img
class="aligncenter size-full wp-image-5881" title="Selection_003" src="http://killthewhat.com/wp-content/uploads/2010/04/Selection_0039.png" alt="" width="550" height="169" /></a></p><p>และกดคลิกที่ Highlight code with Jumi เพื่อเข้าไปทำการตั้งค่าเพิ่มเติม<br
/> <a
href="http://killthewhat.com/wp-content/uploads/2010/04/Selection_0048.png" rel="lightbox[5879]"><img
src="http://killthewhat.com/wp-content/uploads/2010/04/Selection_0048.png" alt="" title="Selection_004" width="550" height="213" class="aligncenter size-full wp-image-5882" /></a></p><ol><li>max-height กำหนดความสูงเยอะสุด</li><li>width กำหนดความกว้าง</li><li>Codes hidden ให้ซ้อนโค็ดไว้หรือไม่</li></ol><p>เมื่อเราทำการเพิ่มบทความจะมีปุ่มเพิ่มโค็ดมาให้ใช้งาน<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2010/04/Selection_0054.png" alt="" title="Selection_005" width="550" height="351" class="aligncenter size-full wp-image-5883" /></p><p>Link download : http://extensions.joomla.org/extensions/edition/code-display/7475</p> ]]></content:encoded> <wfw:commentRss>http://killthewhat.com/joomla-tutorial/plugin-highlight-code-%e0%b9%83%e0%b8%99-joomla/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Plugin : SyntaxHighlighter แสดง code สวยๆบน wordpress</title><link>http://killthewhat.com/wordpress-tutorials/plugin-syntaxhighlighter-%e0%b9%81%e0%b8%aa%e0%b8%94%e0%b8%87-code-%e0%b8%aa%e0%b8%a7%e0%b8%a2%e0%b9%86%e0%b8%9a%e0%b8%99-wordpress/</link> <comments>http://killthewhat.com/wordpress-tutorials/plugin-syntaxhighlighter-%e0%b9%81%e0%b8%aa%e0%b8%94%e0%b8%87-code-%e0%b8%aa%e0%b8%a7%e0%b8%a2%e0%b9%86%e0%b8%9a%e0%b8%99-wordpress/#comments</comments> <pubDate>Mon, 29 Jun 2009 10:57:12 +0000</pubDate> <dc:creator>snappy</dc:creator> <category><![CDATA[Wordpress]]></category> <category><![CDATA[code]]></category> <category><![CDATA[css]]></category> <category><![CDATA[highlight]]></category> <category><![CDATA[html]]></category> <category><![CDATA[php]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[sourcecode]]></category> <category><![CDATA[syntax]]></category> <category><![CDATA[xhtml]]></category><guid
isPermaLink="false">http://killthewhat.com/?p=3073</guid> <description><![CDATA[เป็น plugin ที่ผมตามหามานานแสนนาน สำหรับ plugin ในลักษณะแบบนี้ มันเอาไว้ใช้แสดง code ที่เราจะพิมพ์ออกมาในหน้าบทความเราให้ออกมาในรูปแบบที่ดูง่ายขึ้น มีการไฮไลท์สี และแสดงบรรทัด เหมาะสำหรับบทความที่ต้องการสอนเรื่องในการเขียน code ของภาษาต่างๆ เช่น CSS , PHP , HTML เป็นต้น ซึ่งผมถูกใจมากที่สุด เพราะเป็นปัญหามาโดยตลอดในการเขียนใส่ลงในเนื้อหาเพื่อให้แสดงผลออกมาในรูปแบบ code ให้คนที่เข้าชมเว็บเราสามารถ copy นำไปใช้งานได้เลย โดยให้เราดาวโหลด SyntaxHighlighter มาทำการติดตั้งบน wordpress ของเราครับ แล้วทำการ Active ตัว plugin ครับ จากนั้นถ้าต้องการปรับแต่งค่าต่างๆให้ไปที่ Settings >> SyntaxHighlighter วิธีใช้งานน่ะครับ เขียนเนื้อหาปกติอะครับ แต่ถ้าจะใส่ code ที่จะสอนลงไปก็ตามนี้ครับ ใส่ code ที่ต้องการ รูปภาพด้านล่างคือตัวอย่างการแสดงผลออกมาครับ Link : http://wordpress.org/extend/plugins/syntaxhighlighter/]]></description> <content:encoded><![CDATA[<p>เป็น plugin ที่ผมตามหามานานแสนนาน สำหรับ plugin ในลักษณะแบบนี้ มันเอาไว้ใช้แสดง code ที่เราจะพิมพ์ออกมาในหน้าบทความเราให้ออกมาในรูปแบบที่ดูง่ายขึ้น มีการไฮไลท์สี และแสดงบรรทัด<span
id="more-3073"></span> เหมาะสำหรับบทความที่ต้องการสอนเรื่องในการเขียน code ของภาษาต่างๆ เช่น CSS , PHP , HTML เป็นต้น ซึ่งผมถูกใจมากที่สุด เพราะเป็นปัญหามาโดยตลอดในการเขียนใส่ลงในเนื้อหาเพื่อให้แสดงผลออกมาในรูปแบบ code ให้คนที่เข้าชมเว็บเราสามารถ copy นำไปใช้งานได้เลย</p><p>โดยให้เราดาวโหลด <a
href="http://wordpress.org/extend/plugins/syntaxhighlighter/">SyntaxHighlighter</a> มาทำการติดตั้งบน wordpress ของเราครับ แล้วทำการ Active ตัว plugin ครับ</p><p>จากนั้นถ้าต้องการปรับแต่งค่าต่างๆให้ไปที่ Settings >> SyntaxHighlighter<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/06/syntaxhighlighter.png" alt="syntaxhighlighter" title="syntaxhighlighter" width="146" height="229" class="aligncenter size-full wp-image-3074" /><br
/> <a
href="http://killthewhat.com/wp-content/uploads/2009/06/syntaxhighlighter1.png" rel="lightbox[3073]"><img
src="http://killthewhat.com/wp-content/uploads/2009/06/syntaxhighlighter1.png" alt="syntaxhighlighter" title="syntaxhighlighter" width="630" height="306" class="aligncenter size-full wp-image-3076" /></a></p><p>วิธีใช้งานน่ะครับ เขียนเนื้อหาปกติอะครับ แต่ถ้าจะใส่ code ที่จะสอนลงไปก็ตามนี้ครับ<pre class="brush: php; title: ;">ใส่ code ที่ต้องการ</pre><p><img
src="http://killthewhat.com/wp-content/uploads/2009/06/syntaxhighlighter2.png" alt="syntaxhighlighter" title="syntaxhighlighter" width="630" height="228" class="aligncenter size-full wp-image-3078" /></p><p>รูปภาพด้านล่างคือตัวอย่างการแสดงผลออกมาครับ<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/06/screenshot-1.png" alt="screenshot-1" title="screenshot-1" width="452" height="332" class="aligncenter size-full wp-image-3079" /></p><p>Link : http://wordpress.org/extend/plugins/syntaxhighlighter/</p> ]]></content:encoded> <wfw:commentRss>http://killthewhat.com/wordpress-tutorials/plugin-syntaxhighlighter-%e0%b9%81%e0%b8%aa%e0%b8%94%e0%b8%87-code-%e0%b8%aa%e0%b8%a7%e0%b8%a2%e0%b9%86%e0%b8%9a%e0%b8%99-wordpress/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 24/39 queries in 0.022 seconds using disk

Served from: killthewhat.com @ 2012-02-08 18:02:44 -->
