Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > PHP > PHP Forum > ++++++ เรียกใช้งานรูปจาก cURL ยังไงครับ ชี้แนะทีครับ +++++++



 

++++++ เรียกใช้งานรูปจาก cURL ยังไงครับ ชี้แนะทีครับ +++++++

 



Topic : 085271



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger



Code (PHP)
<?php

function load_file_from_url($url) {
	$curl = curl_init();
	curl_setopt($curl, CURLOPT_URL, $url);
	curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
	curl_setopt($curl, CURLOPT_REFERER, 'http://locolhost');
	$str = curl_exec($curl);
	curl_close($curl);
	return $str;
}
function load_xml_from_url($url) {
	return simplexml_load_string(load_file_from_url($url));
}

$url = 'http://locolhost/feed';
$xml = load_xml_from_url($url);

// echo '<pre>'.print_r($xml, 1).'</pre>';
foreach ($xml->channel->item as $item) {
	echo '<a href="'.$item->link.'" target="_blank">'.$item->title.'</a><br/>';
}

?>


1.ถ้าผมต้องการเรียกใช้งานรูปต้องเขียนโค้ดอะไรเพิ่มเติมครับ
2.หากผมจะกำหนดให้มันแสดงแค่ 2 หัวข้อที่ผมดึงมาจะกำหนดได้อย่างไร

ขอบคุณล่วงหน้าครับ พี่ๆ



Tag : PHP







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2012-10-11 04:12:51 By : sorawit.ff View : 2002 Reply : 26
 

 

No. 1



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


มีตัวอย่าง XML ที่ CURL มามั้ยครับ






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 12:52:00 By : maxairzoom
 


 

No. 2



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

ผมทดสอบจากดึงจาก feed ของ WordPress นี้ครับ
Code
http://www.wordpress.in.th/feed/

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 13:06:15 By : sorawit.ff
 

 

No. 3



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


เดียวขอรื้อ XML แปปครับ ไม่ได้จับนาน
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 13:11:49 By : maxairzoom
 


 

No. 4



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

ขอบคุณครับ อยากทราบจริงๆถ้าจะดึงรูป รูปแสดงทำไง
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 13:14:57 By : sorawit.ff
 


 

No. 5



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


ตอน CURL มารูปมันมาเป็นลิงค์นี่ครับ อย่าง ผมเห็นอยู่ลิงค์นึง

http://www.wordpress.in.th/wp-content/uploads/2012/09/css-1.png

เอาตรงนี้มาใช้ไม่ได้เหรอครับ มันใส่ Tag ไว้ให้แล้วด้วย


ประวัติการแก้ไข
2012-10-11 13:27:04
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 13:23:47 By : maxairzoom
 


 

No. 6



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

ใช้ครับดึงมาเป็นลิ้งค์ คือผมจะดึงมาเป้นแบบว่า <img src = "ตรงนี้ก็ลิ้งค์ครับ">
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 13:26:30 By : sorawit.ff
 


 

No. 7



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

ใช่ครับดึงมาเป็นลิ้งค์ คือผมจะดึงมาเป้นแบบว่า <img src = ".$item->ต้องใส่อะไรหรือป่าวครับตรงนี้....">
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 13:47:08 By : sorawit.ff
 


 

No. 8



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


ลองเอา Code ไป run ดูก่อนครับประมาณนี้มั้ย เดียวอีกสักพักผมมาครับ ไปทานข้าวก่อน
Code (PHP)
<?
$xml5=file("http://localhost/feed.xml"); 

$xmlDATA=""; 
foreach($xml5 as $key=>$value){
	$xmlDATA.=$value;
}
$data1=explode("<item>",$xmlDATA);
$iTitle=array(); 			
$iLink=array(); 			
$iDesc=array(); 			
$content=array(); 	
foreach($data1 as $key=>$value){ 
	if($key>0){
		$value=str_replace("</item>","",$value);
		$iTitle[$key]=strip_tags(substr($value,strpos($value,"<title>"),strpos($value,"</title>")));
		$content[$key]=substr($value,strpos($value,"<content:encoded>"),strpos($value,"</content:encoded>")); //<content:encoded>
		$iLink[$key]=strip_tags(substr($value,strpos($value,"<link>"),strpos($value,"</link>")-strpos($value,"<link>")));
		$iDesc[$key]=strip_tags(substr($value,strpos($value,"<description>"),strpos($value,"</description>")-strpos($value,"<description>")));
		echo "<a href='".$iLink[$key]."' target='_blank' />".$iTitle[$key]."</a> /".$ipubDate[$key]."<br/>";
		preg_match('/<img src="(.*?)"/', $content[$key], $matches);
		//print_r($matches);
		echo $matches[1];
		//print_r($matches);
	}
}
?>

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 14:07:27 By : maxairzoom
 


 

No. 9



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

***ทานข้าวให้อร่อยนะครับ***

คือผมลองแล้วครับผลออกมาเป็นดังนี้ รูปไม่แสดง แหะๆ!!

ผลแสดง
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 14:18:15 By : sorawit.ff
 


 

No. 10



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


ผมดึงมาจาก feed ที่ให้มาตอนแรก มันก็ echo ลิงค์รูปออกมานะครับ โค้ดเดิมเลยครับ

Code (PHP)
<?
$xml5=file("http://www.wordpress.in.th/feed/"); 

$xmlDATA=""; 
foreach($xml5 as $key=>$value){
	$xmlDATA.=$value;
}
$data1=explode("<item>",$xmlDATA);
$iTitle=array(); 			
$iLink=array(); 			
$iDesc=array(); 			
$content=array(); 	

foreach($data1 as $key=>$value){ 
	if($key>0){
		$value=str_replace("</item>","",$value);
		$iTitle[$key]=strip_tags(substr($value,strpos($value,"<title>"),strpos($value,"</title>")));
		$content[$key]=substr($value,strpos($value,"<content:encoded>"),strpos($value,"</content:encoded>")); //<content:encoded>
		$iLink[$key]=strip_tags(substr($value,strpos($value,"<link>"),strpos($value,"</link>")-strpos($value,"<link>")));
		$iDesc[$key]=strip_tags(substr($value,strpos($value,"<description>"),strpos($value,"</description>")-strpos($value,"<description>")));
		echo "<a href='".$iLink[$key]."' target='_blank' />".$iTitle[$key]."</a><br/>";
		preg_match('/<img src="(.*?)"/', $content[$key], $matches);
		//print_r($matches);
		echo $matches[1];
		//print_r($matches);
	}
}
?>

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 14:56:57 By : maxairzoom
 


 

No. 11



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

สงสัยจะดึงมาไม่เหมือนกัน นี้ตัวอย่างที่ผมลองดึงจาก http://localhost/feed/

มันไม่แสดงลิ้งค์รูปจริงๆครับ

เนี่ยครับ จาก xml ของผม

Code (PHP)
<?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>เว็บนี้สีใส! Test by หมูกรอบ</title>
	<atom:link href="http://localhost/feed" rel="self" type="application/rss+xml" />
	<link>http://localhost</link>
	<description>สีใส</description>
	<lastBuildDate>Wed, 12 Sep 2012 13:39:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>เนย ประมาณนั้นแหละ  [ ประมาณนี้หรือเปล่า &gt;___&lt; ]</title>
		<link>http://localhost/1127</link>
		<comments>http://localhost/1127#comments</comments>
		<pubDate>Fri, 24 Aug 2012 09:42:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ดาราอินเตอร์เน็ต]]></category>
		<category><![CDATA[ประมาณนั้นแหละ]]></category>
		<category><![CDATA[รูปของเนย]]></category>
		<category><![CDATA[รูปคนน่ารัก]]></category>
		<category><![CDATA[รูปเซ็กซี่]]></category>
		<category><![CDATA[เนย]]></category>

		<guid isPermaLink="false">http://localhost/?p=1127</guid>
		<description><![CDATA[ติดตามผลงานได้ที่.. FB FAN  PAGE : เนย ประมาณนั้นแหละ]]></description>
			<content:encoded><![CDATA[
<a href='http://localhost/1127/33945_3954361547622_153083893_n' title='33945_3954361547622_153083893_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/33945_3954361547622_153083893_n-150x200.jpg" class="attachment-thumbnail" alt="33945_3954361547622_153083893_n" title="33945_3954361547622_153083893_n" /></a>
<a href='http://localhost/1127/547779_4281514806249_196445811_n' title='547779_4281514806249_196445811_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/547779_4281514806249_196445811_n-150x200.jpg" class="attachment-thumbnail" alt="547779_4281514806249_196445811_n" title="547779_4281514806249_196445811_n" /></a>
<a href='http://localhost/1127/577299_4121682450540_1533347860_n' title='577299_4121682450540_1533347860_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/577299_4121682450540_1533347860_n-150x200.jpg" class="attachment-thumbnail" alt="577299_4121682450540_1533347860_n" title="577299_4121682450540_1533347860_n" /></a>
<a href='http://localhost/1127/540542_3545909336572_2117011977_n' title='540542_3545909336572_2117011977_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/540542_3545909336572_2117011977_n-150x200.jpg" class="attachment-thumbnail" alt="540542_3545909336572_2117011977_n" title="540542_3545909336572_2117011977_n" /></a>
<a href='http://localhost/1127/601858_3996891850853_826286609_n' title='601858_3996891850853_826286609_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/601858_3996891850853_826286609_n-150x200.jpg" class="attachment-thumbnail" alt="601858_3996891850853_826286609_n" title="601858_3996891850853_826286609_n" /></a>
<a href='http://localhost/1127/532115_4159906606120_531808929_n' title='532115_4159906606120_531808929_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/532115_4159906606120_531808929_n-150x200.jpg" class="attachment-thumbnail" alt="532115_4159906606120_531808929_n" title="532115_4159906606120_531808929_n" /></a>
<a href='http://localhost/1127/555137_4107151607278_20210476_n' title='555137_4107151607278_20210476_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/555137_4107151607278_20210476_n-150x200.jpg" class="attachment-thumbnail" alt="555137_4107151607278_20210476_n" title="555137_4107151607278_20210476_n" /></a>
<a href='http://localhost/1127/1-3' title='1'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/11-150x200.jpg" class="attachment-thumbnail" alt="1" title="1" /></a>
<a href='http://localhost/1127/306277_3740289795962_680769697_n' title='306277_3740289795962_680769697_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/306277_3740289795962_680769697_n-150x200.jpg" class="attachment-thumbnail" alt="306277_3740289795962_680769697_n" title="306277_3740289795962_680769697_n" /></a>
<a href='http://localhost/1127/575286_3942239524579_1013901227_n' title='575286_3942239524579_1013901227_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/575286_3942239524579_1013901227_n-150x200.jpg" class="attachment-thumbnail" alt="575286_3942239524579_1013901227_n" title="575286_3942239524579_1013901227_n" /></a>
<a href='http://localhost/1127/554104_4121727251660_402959453_n' title='554104_4121727251660_402959453_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/554104_4121727251660_402959453_n-150x200.jpg" class="attachment-thumbnail" alt="554104_4121727251660_402959453_n" title="554104_4121727251660_402959453_n" /></a>
<a href='http://localhost/1127/577523_3740074350576_1922990160_n' title='577523_3740074350576_1922990160_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/577523_3740074350576_1922990160_n-150x200.jpg" class="attachment-thumbnail" alt="577523_3740074350576_1922990160_n" title="577523_3740074350576_1922990160_n" /></a>
<a href='http://localhost/1127/486588_4078006598671_600307869_n' title='486588_4078006598671_600307869_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/486588_4078006598671_600307869_n-150x200.jpg" class="attachment-thumbnail" alt="486588_4078006598671_600307869_n" title="486588_4078006598671_600307869_n" /></a>
<a href='http://localhost/1127/481039_3993969097786_2004463746_n' title='481039_3993969097786_2004463746_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/481039_3993969097786_2004463746_n-150x200.jpg" class="attachment-thumbnail" alt="481039_3993969097786_2004463746_n" title="481039_3993969097786_2004463746_n" /></a>

<p style="text-align: center;"><strong>ติดตามผลงานได้ที่.. FB FAN  PAGE : เนย ประมาณนั้นแหละ</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1127/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>น้องนุ้ยสุดน่ารัก&#8230;.แห่ง FB เอ๊ะใช่หรือเปล่า</title>
		<link>http://localhost/1102</link>
		<comments>http://localhost/1102#comments</comments>
		<pubDate>Fri, 24 Aug 2012 09:29:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ดาราอินเตอร์เน็ต]]></category>
		<category><![CDATA[Khai'Nuy]]></category>
		<category><![CDATA[นุ้ย]]></category>
		<category><![CDATA[รูป fb]]></category>
		<category><![CDATA[รูปน้องนุ้ย]]></category>
		<category><![CDATA[รูปใน facebook]]></category>

		<guid isPermaLink="false">http://localhost/?p=1102</guid>
		<description><![CDATA[ติดตามเธอไำด้ที่ FB FAN PAGE :  Khai&#8217;Nuy FriendsPage]]></description>
			<content:encoded><![CDATA[
<a href='http://localhost/1102/189523_146795325459347_1195971153_n' title='189523_146795325459347_1195971153_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/189523_146795325459347_1195971153_n-150x200.jpg" class="attachment-thumbnail" alt="189523_146795325459347_1195971153_n" title="189523_146795325459347_1195971153_n" /></a>
<a href='http://localhost/1102/417318_146794418792771_1602972519_n' title='417318_146794418792771_1602972519_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/417318_146794418792771_1602972519_n-150x200.jpg" class="attachment-thumbnail" alt="417318_146794418792771_1602972519_n" title="417318_146794418792771_1602972519_n" /></a>
<a href='http://localhost/1102/388077_148518851953661_1034803553_n' title='388077_148518851953661_1034803553_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/388077_148518851953661_1034803553_n-150x200.jpg" class="attachment-thumbnail" alt="388077_148518851953661_1034803553_n" title="388077_148518851953661_1034803553_n" /></a>
<a href='http://localhost/1102/297410_146526412152905_1766047813_n' title='297410_146526412152905_1766047813_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/297410_146526412152905_1766047813_n-150x200.jpg" class="attachment-thumbnail" alt="297410_146526412152905_1766047813_n" title="297410_146526412152905_1766047813_n" /></a>
<a href='http://localhost/1102/1-2' title='1'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/1-150x200.jpg" class="attachment-thumbnail" alt="1" title="1" /></a>
<a href='http://localhost/1102/579971_148604031945143_1880976331_n' title='579971_148604031945143_1880976331_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/579971_148604031945143_1880976331_n-150x200.jpg" class="attachment-thumbnail" alt="579971_148604031945143_1880976331_n" title="579971_148604031945143_1880976331_n" /></a>
<a href='http://localhost/1102/304936_148274181978128_1647081481_n' title='304936_148274181978128_1647081481_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/304936_148274181978128_1647081481_n-150x200.jpg" class="attachment-thumbnail" alt="304936_148274181978128_1647081481_n" title="304936_148274181978128_1647081481_n" /></a>
<a href='http://localhost/1102/524338_147153922090154_2145431233_n' title='524338_147153922090154_2145431233_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/524338_147153922090154_2145431233_n-150x200.jpg" class="attachment-thumbnail" alt="524338_147153922090154_2145431233_n" title="524338_147153922090154_2145431233_n" /></a>
<a href='http://localhost/1102/303534_148847945254085_176647294_n' title='303534_148847945254085_176647294_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/303534_148847945254085_176647294_n-150x200.jpg" class="attachment-thumbnail" alt="303534_148847945254085_176647294_n" title="303534_148847945254085_176647294_n" /></a>
<a href='http://localhost/1102/539228_146796178792595_987571304_n' title='539228_146796178792595_987571304_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/539228_146796178792595_987571304_n-150x200.jpg" class="attachment-thumbnail" alt="539228_146796178792595_987571304_n" title="539228_146796178792595_987571304_n" /></a>
<a href='http://localhost/1102/574532_148563005282579_838363995_n' title='574532_148563005282579_838363995_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/574532_148563005282579_838363995_n-150x200.jpg" class="attachment-thumbnail" alt="574532_148563005282579_838363995_n" title="574532_148563005282579_838363995_n" /></a>
<a href='http://localhost/1102/431025_146793205459559_1387108695_n' title='431025_146793205459559_1387108695_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/431025_146793205459559_1387108695_n-150x200.jpg" class="attachment-thumbnail" alt="431025_146793205459559_1387108695_n" title="431025_146793205459559_1387108695_n" /></a>
<a href='http://localhost/1102/391485_147536698718543_450868324_n' title='391485_147536698718543_450868324_n'><img width="150" height="200" src="http://localhost/wp-content/uploads/2012/08/391485_147536698718543_450868324_n-150x200.jpg" class="attachment-thumbnail" alt="391485_147536698718543_450868324_n" title="391485_147536698718543_450868324_n" /></a>

<p style="text-align: center;"><span style="color: #000000;"><strong>ติดตามเธอไำด้ที่ FB FAN PAGE :  Khai&#8217;Nuy FriendsPage</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1102/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>6 อันดับชาร์ทข้อความเก่าๆ จิ๊ดถึงใจ</title>
		<link>http://localhost/1085</link>
		<comments>http://localhost/1085#comments</comments>
		<pubDate>Thu, 23 Aug 2012 18:10:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ข้อความจิ๊ดถึงใจ]]></category>
		<category><![CDATA[ข้อความ]]></category>
		<category><![CDATA[ข้อความอกหัก]]></category>
		<category><![CDATA[ข้อความเก่าๆ]]></category>
		<category><![CDATA[จิ๊ดถึงใจ]]></category>
		<category><![CDATA[หัวใจเก่าๆ]]></category>

		<guid isPermaLink="false">http://localhost/?p=1085</guid>
		<description><![CDATA[* &#8220;เจ็บปวด&#8221; เพราะคิดไปไกล &#8220;เจ็บใจ&#8221; เพราะคิดไปเอง * * เมื่อรักที่เธอ ต้องการ &#8220;ไม่ใช่ฉัน&#8221; วันนั้นเธอก็แค่เหงาใจ * * &#8220;เจ็บ&#8221; แล้วจำคือ &#8220;คน&#8221;  &#8220;เจ็บ&#8221; แล้วทนคือ &#8220;ควาย&#8221; * * ให้ &#8220;กู&#8243; เป็น &#8220;ชู้&#8221; ถามกูยัง ? ? * * ตื่นขึ้นมา ก็เจอ &#8220;หมอน&#8221; ก่อนจะนอน ก็เจอ &#8220;เหงา&#8243; * * แฟนใหม่ คือ &#8220;พรมลิขิต&#8221; แฟนเก่า คือ &#8220;พรมเช็ดตีน&#8221; * อย่าใช่ &#8220;อดีต&#8221; สร้างอนาคต แต่จงใช้ &#8220;อนาคต&#8221; ลบอดีต !!.. * Cr. นายหมูกรอบ ไข่ดาว]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-1086" href="http://localhost/1085/heart6"><img class="alignnone size-large wp-image-1086" title="heart6" src="http://localhost/wp-content/uploads/2012/08/heart6-1024x768.jpg" alt="" width="450" height="337" /></a></p>
<p>* &#8220;เจ็บปวด&#8221; เพราะคิดไปไกล &#8220;เจ็บใจ&#8221; เพราะคิดไปเอง *</p>
<p>* เมื่อรักที่เธอ ต้องการ &#8220;ไม่ใช่ฉัน&#8221; วันนั้นเธอก็แค่เหงาใจ *</p>
<p>* &#8220;เจ็บ&#8221; แล้วจำคือ &#8220;คน&#8221;  &#8220;เจ็บ&#8221; แล้วทนคือ &#8220;ควาย&#8221; *</p>
<p>* ให้ &#8220;กู&#8243; เป็น &#8220;ชู้&#8221; ถามกูยัง ? ? *</p>
<p>* ตื่นขึ้นมา ก็เจอ &#8220;หมอน&#8221; ก่อนจะนอน ก็เจอ &#8220;เหงา&#8243; *</p>
<p>* แฟนใหม่ คือ &#8220;พรมลิขิต&#8221; แฟนเก่า คือ &#8220;พรมเช็ดตีน&#8221;</p>
<p>* อย่าใช่ &#8220;อดีต&#8221; สร้างอนาคต แต่จงใช้ &#8220;อนาคต&#8221; ลบอดีต !!.. *</p>
<p>Cr. <a rel="ignore" href="https://www.facebook.com/sorawitkub">นายหมูกรอบ ไข่ดาว</a></p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1085/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20 ข้อความสั้นๆ ที่อ่านแล้วจี๊ดไปถึงหัวใจ</title>
		<link>http://localhost/1064</link>
		<comments>http://localhost/1064#comments</comments>
		<pubDate>Thu, 23 Aug 2012 17:25:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ข้อความจิ๊ดถึงใจ]]></category>
		<category><![CDATA[กลอนความรัก]]></category>
		<category><![CDATA[ข้อความ]]></category>
		<category><![CDATA[ข้อความจิ๊ดๆ]]></category>
		<category><![CDATA[ข้อความโดนๆ]]></category>
		<category><![CDATA[คำคมโดนๆ]]></category>

		<guid isPermaLink="false">http://localhost/?p=1064</guid>
		<description><![CDATA[1 . &#8221; เชื่อว่า &#8221; 99 % ของคนอกหัก ชอบเปิดเพลงฟัง &#8221; เพื่อตอกย้ำตัวเอง &#8221; 2 . อย่าทิ้งคนที่คุณรักเพื่อคนที่คุณชอบ เพราะว่าคนที่คุณชอบจะทิ้งคุณเพื่อคนที่เขารัก 3 . สิ่งที่เพื่อนมี แต่แฟนไม่มี คือคำว่า ตลอดไป 4 . เคยไหม ? ที่แอบชอบใคร แล้วเขียนชื่อใส่ &#8220;โต๊ะนักเรียน&#8221; 5 . ทำไมเวลาเราโกรธกัน เรามักจะไม่พูดคุยกัน? ทั้งๆที่ใจนั้น อยากเคลียร์ให้จบ แล้วกลับมาคุยกันเหมือนเดิม 6 . เคยไหม ? &#8221; คิดถึงมาก &#8221; แต่ &#8221; อยากลองใจ &#8221; ลอง ไม่โทรไป เพราะรอให้  &#8221; อีกฝ่าย โทรมา &#8221; 7 [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-1065" href="http://localhost/1064/20-%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%aa%e0%b8%b1%e0%b9%89%e0%b8%99%e0%b9%86-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%ad%e0%b9%88%e0%b8%b2%e0%b8%99%e0%b9%81%e0%b8%a5/4d6a127012197"><img class="alignnone size-full wp-image-1065" title="4d6a127012197" src="http://localhost/wp-content/uploads/2012/08/4d6a127012197.jpg" alt="" width="512" height="384" /></a></p>
<p>1 . &#8221; เชื่อว่า &#8221; 99 % ของคนอกหัก ชอบเปิดเพลงฟัง &#8221; เพื่อตอกย้ำตัวเอง &#8221;</p>
<p>2 . อย่าทิ้งคนที่คุณรักเพื่อคนที่คุณชอบ เพราะว่าคนที่คุณชอบจะทิ้งคุณเพื่อคนที่เขารัก</p>
<p>3 . สิ่งที่เพื่อนมี แต่แฟนไม่มี คือคำว่า ตลอดไป</p>
<p>4 . เคยไหม ? ที่แอบชอบใคร แล้วเขียนชื่อใส่ &#8220;โต๊ะนักเรียน&#8221;</p>
<p>5 . ทำไมเวลาเราโกรธกัน เรามักจะไม่พูดคุยกัน? ทั้งๆที่ใจนั้น อยากเคลียร์ให้จบ แล้วกลับมาคุยกันเหมือนเดิม</p>
<p>6 . เคยไหม ? &#8221; คิดถึงมาก &#8221; แต่ &#8221; อยากลองใจ &#8221; ลอง ไม่โทรไป เพราะรอให้  &#8221; อีกฝ่าย โทรมา &#8221;</p>
<p>7 . แปลกมั๊ย ?  เมื่อก่อน เค้าคือ .. คนที่เราเคยคุยด้วย ได้นานๆ เป็นชั่วโมง  โดยไม่เบื่อ! แต่วันนี้! กลับกลาย เป็นคนที่ &#8220;แค่ประโยคๆเดียว&#8221; ก็ยังไม่รู้เลย   ว่าจะคุยอะไร  ?</p>
<p>8 . ปากก็บอก ไม่สนใจ แต่เปิด &#8221; facebook &#8221;  ทีไร ก็เปิด &#8221; โปรไฟล์ &#8221; เธอทุกที ทำเป็นไม่สนใจแต่สุดท้าย  ก็ &#8221; ติดตาม &#8221; ทุกความเคลื่อนไหว อยู่ดี !!</p>
<p>9 . เวลาที่เราหลบตาใคร ..สังเกตมั๊ย ? .. จริงๆอยากมอง &#8220;ใจแทบขาด&#8221;</p>
<p>10 . (70%) ของคนที่โสด คือ มีคนมาชอบแต่ไม่เอา (25%) ยังไม่ลืมแฟนเก่า ส่วนอีก 5% ไม่มีใครเอาจริงๆ</p>
<p>11 . เคยไหม ? รู้ว่า &#8221; เค้าหมดใจ &#8221; แต่ทำไม&#8230;ยังรักเหลือเกิน !</p>
<p>12 . &#8221; เคยมั๊ย ? &#8221; &#8220;บอกเลิก&#8221; ทั้งน้ำตา ที่นองหน้า &#8221; พอเค้า หันหลัง จากลา &gt; ก็ร้องไห้แทบบ้าไม่อายสายตาใคร</p>
<p>13 . ‎&#8221; เคยมั๊ย? &#8221; มี &#8220;คนรัก..คนห่วงใย&#8221; หลายคนอยู่รอบตัว แต่ก็มัว &#8220;จะเป็น..จะตาย&#8221; อยู่กับคนที่ไม่เคยคิดจะสนใจ &#8220;เพียงคนเดียว&#8221;</p>
<p>14 . ผู้หญิง 99.99% ชอบพูดว่า&#8243;สนใจกันบ้าง&#8221;  &#8220;บ้าง&#8221;ของผู้หญิงคือ &#8220;24ชั่วโมง&#8221; ?</p>
<p>15 . บางครั้ง ! เราก็ไม่ได้อยากจะได้ คนที่ดีกว่า &#8220;แฟนเก่า&#8243; ขอแค่ เจอคนที่เขา &#8220;รักเรา&#8243; และไม่ทิ้งให้เราเศร้า .. เหมือน &#8220;แฟนเก่า&#8243; ก็พอ</p>
<p>16 . เคยไหม !  &#8221; รู้ทั้งรู้ว่า &#8221; เขาไม่สนใจ &#8220;  แต่..ก็ยังใส่ใจเขา &#8221; เสมอมา &#8221;</p>
<p>17 . &#8221; เคยไหม &#8221; รู้ว่าเขามี &#8220;แฟน&#8221; แล้ว แต่ก็ยัง &#8220;ชอบ&#8221; ไม่เปลี่ยนแปลง ?</p>
<p>18 . &#8221; ความทรมาน &#8221; &gt; อย่างหนึ่งคือ &#8221; การคิดถึง &#8221; คนที่  &#8221; ไม่มีสิทธิ์คิดถึง &#8221;</p>
<p>19 . ธรรมชาติ ของคน &#8220;แอบรัก&#8221; ตอนจบส่วนมากมัก &#8220;อกหัก&#8221; เสมออออออ !</p>
<p>20 . (ข้อความ)&#8230;.ที่เราเคยคุยกัน อ่านกี่ครั้ง&#8230;มันก็  น่ารักอ่ะ !!!!</p>
<p>Cr. S<strong>eawpondy</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1064/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vista Codec Package 5.9.2 Final</title>
		<link>http://localhost/1027</link>
		<comments>http://localhost/1027#comments</comments>
		<pubDate>Wed, 30 Mar 2011 12:41:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[โปรแกรมด้านวิดีโอ]]></category>
		<category><![CDATA[Vista Codec Package Downloads]]></category>
		<category><![CDATA[ดาวน์โหลด Vista Codec Package]]></category>
		<category><![CDATA[ปรับแต่งวิดีโอ]]></category>
		<category><![CDATA[โปรแกรม Vista Codec Package]]></category>

		<guid isPermaLink="false">http://localhost/bestvariety/?p=1027</guid>
		<description><![CDATA[อัพเดท Vista Codec Package โปรแกรมสำหรับเสริมประสิทธิภาพให้กับเครื่องเล่นวิดีโอในเครื่องของท่าน Vista Codec โปรแกรมขนาดเล็กและแจกฟรีทำให้วิดีโอของท่านเล่นไฟล์ได้หลากหลายขึ้น ไม่ว่าจะเป็นการเพิ่มประสิทธิภาพการเล่นไฟล์มีเดียประเภทต่าง ๆ ได้ดีขึ้น คุณภาพของภาพและเสียงดีขึ้น และฟังก์ชั่นอื่น ๆ สำหรับผู้ใช้ Vista ดาวน์โหลดไปใช้งานกันได้เลย Codecs have been a problem for most users at one time or another. This is because there has never been an &#8216;out of the box&#8217; working solution that the average computer user could install and just have everything work properly [...]]]></description>
			<content:encoded><![CDATA[<p>อัพเดท <strong>Vista Codec Package </strong>โปรแกรมสำหรับเสริมประสิทธิภาพให้กับเครื่องเล่นวิดีโอในเครื่องของท่าน Vista Codec โปรแกรมขนาดเล็กและแจกฟรีทำให้วิดีโอของท่านเล่นไฟล์ได้หลากหลายขึ้น ไม่ว่าจะเป็นการเพิ่มประสิทธิภาพการเล่นไฟล์มีเดียประเภทต่าง ๆ ได้ดีขึ้น คุณภาพของภาพและเสียงดีขึ้น และฟังก์ชั่นอื่น ๆ สำหรับผู้ใช้ Vista ดาวน์โหลดไปใช้งานกันได้เลย</p>
<p>Codecs have been a problem for most users at one time or another. This is because there has never been an &#8216;out of the box&#8217; working solution that the average computer user could install and just have everything work properly from the beginning. There are several decent codec package solutions out there, but none of them did everything I wanted. I was always in need of a tweak, adjustment, or even a re-installation just to get the codecs I needed/wanted and most of the time, the file still didn&#8217;t play properly. I&#8217;ve never claimed to be a media guru. My media experience prior to creating these packages was to double-click a file I downloaded and hope that it played.</p>
<p>The installer will automatically remove most other popular codec packs from your computer before installing this concise yet comprehensive windows media center setup package. You won&#8217;t need to make any adjustments or tweaks to enjoy your windows media center content immediately. Windows Media Player and Vista Media Center will instantly recognize all your files as playable.</p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1027/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DVDFab 8.0.8.5</title>
		<link>http://localhost/1024</link>
		<comments>http://localhost/1024#comments</comments>
		<pubDate>Wed, 30 Mar 2011 12:39:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[เครื่องมือ ซีดี ดีวีดี]]></category>
		<category><![CDATA[DVDFab 8.0.8.5]]></category>

		<guid isPermaLink="false">http://localhost/bestvariety/?p=1024</guid>
		<description><![CDATA[อัพเดท โปรแกรมที่ง่ายที่สุดในการ Copy หรือคัดลอกหนังจากแผ่น DVD นั่นคือ DVDFab เพียงคลิกเดียวเท่านั้นก็สามารถคัดลอกหนังให้คุณได้อย่างรวดเร็ว เพราะทุกขั้นตอนโปรแกรมนี้จัดการให้เราโดยอัตโนมัติไว้แล้ว ส่วนเรื่องของประสิทธิภาพของโปรแกรมนั้นไม่ต้องกลัวว่าข้อมูลต่าง ๆ ของท่านจะตกหล่นเพราะโปรแกรมนี้ถูกพัฒนามาเป็นอย่างดี เพื่อรองรับคุณภาพและประสิทธิของงานให้คงเดิม DVDFab is the all-in-one software package for copying Blu-ray / DVD and converting video file. The resulting disk is a perfect colone of the original DVD. It consists of several feature options. &#8220;DVD to DVD&#8221; option is the most powerful and flexible DVD copying/burning [...]]]></description>
			<content:encoded><![CDATA[<p>อัพเดท โปรแกรมที่ง่ายที่สุดในการ Copy หรือคัดลอกหนังจากแผ่น DVD นั่นคือ <strong>DVDFab</strong> เพียงคลิกเดียวเท่านั้นก็สามารถคัดลอกหนังให้คุณได้อย่างรวดเร็ว เพราะทุกขั้นตอนโปรแกรมนี้จัดการให้เราโดยอัตโนมัติไว้แล้ว ส่วนเรื่องของประสิทธิภาพของโปรแกรมนั้นไม่ต้องกลัวว่าข้อมูลต่าง ๆ ของท่านจะตกหล่นเพราะโปรแกรมนี้ถูกพัฒนามาเป็นอย่างดี เพื่อรองรับคุณภาพและประสิทธิของงานให้คงเดิม</p>
<p>DVDFab is the all-in-one software package for copying Blu-ray / DVD and converting video file. The resulting disk is a perfect colone of the original DVD. It consists of several feature options.</p>
<p>&#8220;DVD to DVD&#8221; option is the most powerful and flexible DVD copying/burning software. With 8 copy modes, you can backup any DVD to DVDR or hard drive in just one or a few clicks.</p>
<p>&#8220;DVD to Mobile&#8221; option converts DVD title to AVI/MP4/WMV/MKV files which can be played on mobile devices like iPod, PSP, ZUNE, cell phone, etc.</p>
<p>&#8220;Blu-ray to Blu-ray&#8221; option is the first full-featured Blu-ray copying/burning software. With 4 copy modes, you can backup Blu-ray to BD-R or hard drive in just one or a few clicks.</p>
<p>&#8220;Blu-ray to Mobile&#8221; option converts Blu-ray title to MKV/MP4/AVI/WMV files which can be played on next generation console like PS3 and Xbox 360, or mobile devices like iPod, PSP, ZUNE, cell phone, etc.</p>
<p>&#8220;File to Mobile&#8221; option converts source video file on your PC to next generation console like PS3 and Xbox 360, or mobile devices like iPod, PSP, ZUNE, cell phone, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1024/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Avast! Free Edition BETA 6.0.1035</title>
		<link>http://localhost/1021</link>
		<comments>http://localhost/1021#comments</comments>
		<pubDate>Wed, 30 Mar 2011 12:37:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[โปรแกรมด้านความปลอดภัย]]></category>
		<category><![CDATA[ดาวน์โหลด Avast Free Edition]]></category>
		<category><![CDATA[โปรแกรม Avast Free Edition]]></category>
		<category><![CDATA[โปรแกรม สแกนไวรัส]]></category>
		<category><![CDATA[โปรแกรมกำจัดไวรัส]]></category>
		<category><![CDATA[โปรแกรมฆ่าไวรัส]]></category>
		<category><![CDATA[โปรแกรมป้องกันไวรัส]]></category>

		<guid isPermaLink="false">http://localhost/bestvariety/?p=1021</guid>
		<description><![CDATA[อัพเดท Avast! Free Edition โปรแกรมป้องกันไวรัสอีกตัวที่เราอยากให้ท่านลองใช้งานกันดู เป็นโปรแกรมป้องกันไวรัสตัวฟรีที่ดีอีกตัวหนึ่ง ทำงานแบบ Real Time ทันทีที่เปิดเครื่อง ตัวโปรแกรมมีการอัพเดทไวรัสอย่างสม่ำเสมอ จึงมั่นใจได้ว่าเครื่องของท่านปลอดจากเหล่าไวรัส โทรจัน สปายแวร์หรือสิ่งไม่พึ่งประสงค์อื่น ๆ อย่างแน่นอนดาวน์โหลดไปใช้กันฟรี ๆ เลย avast! Free Antivirus is perfect for people who send e-mails and surf popular websites. avast! is a package of applications that aim to protect your computer from a possible virus infection or other malware threat. This is a [...]]]></description>
			<content:encoded><![CDATA[<p>อัพเดท <strong>Avast! Free Edition</strong> โปรแกรมป้องกันไวรัสอีกตัวที่เราอยากให้ท่านลองใช้งานกันดู เป็นโปรแกรมป้องกันไวรัสตัวฟรีที่ดีอีกตัวหนึ่ง ทำงานแบบ Real Time ทันทีที่เปิดเครื่อง ตัวโปรแกรมมีการอัพเดทไวรัสอย่างสม่ำเสมอ จึงมั่นใจได้ว่าเครื่องของท่านปลอดจากเหล่าไวรัส โทรจัน สปายแวร์หรือสิ่งไม่พึ่งประสงค์อื่น ๆ อย่างแน่นอนดาวน์โหลดไปใช้กันฟรี ๆ เลย</p>
<p>avast! Free Antivirus is perfect for people who send e-mails and surf popular websites. avast! is a package of applications that aim to protect your computer from a possible virus infection or other malware threat. This is a beta to preview the next version.</p>
<p>If you use it correctly, and in combination with other programs such as data backup utilities, it will significantly reduce the risk of your computer being attacked or infected by a virus, and thus the risk of losing important or private data.</p>
<p>Based on the award-winning avast! antivirus engine, avast! antivirus contains all of the features you would expect in a modern antivirus program. It incorporates anti-spyware technology certified by West Coast Labs&#8217; Checkmark process, as well as anti-rootkit and strong self-protection capabilities, but now provides even faster scanning with improved detection ability. It contains several real-time &#8220;Shields&#8221; which continuously monitor your email and internet connections and check the files on your computer whenever they are opened or closed</p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1021/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IncrediMail 2 6.27 Build 4922</title>
		<link>http://localhost/1018</link>
		<comments>http://localhost/1018#comments</comments>
		<pubDate>Wed, 30 Mar 2011 12:34:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[โปรแกรมอีเมล์ สนทนา]]></category>
		<category><![CDATA[ดาวน์โหลด IncrediMail 2]]></category>
		<category><![CDATA[รับ ส่ง email]]></category>
		<category><![CDATA[รับ ส่งอีเมล์]]></category>
		<category><![CDATA[รูปแบบอีเมล์]]></category>
		<category><![CDATA[โปรแกรม IncrediMail 2]]></category>
		<category><![CDATA[โปรแกรมรับ ส่งอีเมล์]]></category>
		<category><![CDATA[โปรแกรส่งเมล์]]></category>

		<guid isPermaLink="false">http://localhost/bestvariety/?p=1018</guid>
		<description><![CDATA[อัพเดท IncrediMail 2 โปรแกรมสำหรับคนที่อยากได้อีเมล์รูปแบบสวย ๆ น่ารัก ๆ ส่งให้เพื่อน ๆ มีรูปแบบให้เลือกมากมาย เรียกได้ว่าโปรแกรมนี้เป็นโปรแกรมรับส่งเมล์ที่กิ๊บเก๋เลยทีเดียว มีรูปไอคอนประดับประดาอีเมล์กุ๊กกิ๊กเพียบ เรื่องความปลอดภัยในการรับส่งเมล์หายห่วงได้เลย รวมไปถึงเรื่องอีเมล์สแปมหมดกังวลไปได้เพราะโปรแกรมนี้พัฒนามาเป้นอย่างดี ดาวน์โหลดไปเล่นกันดู IncrediMail 2 is a powerful, easy to use, feature-rich and fun email program. Better and smarter than ever before, IncrediMail 2 includes features such as a powerful and fast email search tool, taking less than a second for IncrediMail 2 to [...]]]></description>
			<content:encoded><![CDATA[<p>อัพเดท <strong>IncrediMail 2</strong> โปรแกรมสำหรับคนที่อยากได้อีเมล์รูปแบบสวย ๆ น่ารัก ๆ ส่งให้เพื่อน ๆ มีรูปแบบให้เลือกมากมาย เรียกได้ว่าโปรแกรมนี้เป็นโปรแกรมรับส่งเมล์ที่กิ๊บเก๋เลยทีเดียว มีรูปไอคอนประดับประดาอีเมล์กุ๊กกิ๊กเพียบ เรื่องความปลอดภัยในการรับส่งเมล์หายห่วงได้เลย รวมไปถึงเรื่องอีเมล์สแปมหมดกังวลไปได้เพราะโปรแกรมนี้พัฒนามาเป้นอย่างดี ดาวน์โหลดไปเล่นกันดู</p>
<p>IncrediMail 2 is a powerful, easy to use, feature-rich and fun email program. Better and smarter than ever before, IncrediMail 2 includes features such as a powerful and fast email search tool, taking less than a second for IncrediMail 2 to search through 10,000’s of emails.</p>
<p>IncrediMail 2 also features an advanced Address book, enabling you to create contact groups in new convenient ways, see who your most popular contacts are, and assign a picture to each of your contacts. The unique attachments preview options provide a quick glance of the attachment file type you’ve received, may it be a photo, video, Word document, or any other file.</p>
<p>IncrediMail 2 introduces a better, more attractive and user-friendly design, making browsing through your emails easier and more productive. IncrediMail 2 also includes a built-in dictionary and translation tool, a personal Display Picture option, and animated effects that are now a part of the user interface. Furthermore, this application comes with a wide range of Stationery, Ecards, Email Backgrounds, Animations and Sounds that you can easily use for enhancing your emails.</p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1018/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ทุ้มอยู่ในใจ (Acoustic) (เพลงประกอบภาพยนตร์ SuckSeed ห่วยขั้นเทพ)</title>
		<link>http://localhost/1014</link>
		<comments>http://localhost/1014#comments</comments>
		<pubDate>Wed, 30 Mar 2011 09:18:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[เพลงอื่น ๆ]]></category>
		<category><![CDATA[SuckSeed ห่วยขั้นเทพ]]></category>

		<guid isPermaLink="false">http://localhost/bestvariety/?p=1014</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="340" height="201"><param name="movie" value="http://music.gmember.com/flash/jedakrAkraM.swf?songid=1104938002&#038;autostart=0&#038;adslot=1" /><param name="allowScriptAccess" value="never" /><param name="wmode" value="transparent" /><embed allowScriptAccess="never" src="http://music.gmember.com/flash/jedakrAkraM.swf?songid=1104938002&#038;autostart=0&#038;adslot=1" type="application/x-shockwave-flash" width="340" height="201" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1014/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>คืนที่เจ็บ (เพลงประกอบภาพยนต์ &#8220;หนังผี&#8221;)</title>
		<link>http://localhost/1011</link>
		<comments>http://localhost/1011#comments</comments>
		<pubDate>Wed, 30 Mar 2011 09:17:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[เพลงอื่น ๆ]]></category>
		<category><![CDATA[คืนที่เจ็บ]]></category>

		<guid isPermaLink="false">http://localhost/bestvariety/?p=1011</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object width="340" height="201"><param name="movie" value="http://music.gmember.com/flash/jedakrAkraM.swf?songid=1105268901&#038;autostart=0&#038;adslot=1" /><param name="allowScriptAccess" value="never" /><param name="wmode" value="transparent" /><embed allowScriptAccess="never" src="http://music.gmember.com/flash/jedakrAkraM.swf?songid=1105268901&#038;autostart=0&#038;adslot=1" type="application/x-shockwave-flash" width="340" height="201" wmode="transparent"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://localhost/1011/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>


แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 15:07:57 By : sorawit.ff
 


 

No. 12



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

เพิ่มเติมครับ ถ้าเป็นเปลี่ยนตรง http://www.wordpress.in.th/feed/ เป็น http://localhost/feed ของผมของมันไม่แสดงลิ้งค์รูปให้ครับ

Code (PHP)
<?
$xml5=file("http://www.wordpress.in.th/feed/"); 

$xmlDATA=""; 
foreach($xml5 as $key=>$value){
	$xmlDATA.=$value;
}
$data1=explode("<item>",$xmlDATA);
$iTitle=array(); 			
$iLink=array(); 			
$iDesc=array(); 			
$content=array(); 	

foreach($data1 as $key=>$value){ 
	if($key>0){
		$value=str_replace("</item>","",$value);
		$iTitle[$key]=strip_tags(substr($value,strpos($value,"<title>"),strpos($value,"</title>")));
		$content[$key]=substr($value,strpos($value,"<content:encoded>"),strpos($value,"</content:encoded>")); //<content:encoded>
		$iLink[$key]=strip_tags(substr($value,strpos($value,"<link>"),strpos($value,"</link>")-strpos($value,"<link>")));
		$iDesc[$key]=strip_tags(substr($value,strpos($value,"<description>"),strpos($value,"</description>")-strpos($value,"<description>")));
		echo "<a href='".$iLink[$key]."' target='_blank' />".$iTitle[$key]."</a><br/>";
		preg_match('/<img src="(.*?)"/', $content[$key], $matches);
		//print_r($matches);
		echo $matches[1];
		//print_r($matches);
	}
}
?>

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 15:15:48 By : sorawit.ff
 


 

No. 13



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


ผมปรับใหม่ครับ ลองอันนี้ดู ผลที่ได้


code ครับ
Code (PHP)
<?
$xml5=file("http://www.wordpress.in.th/feed/"); 

$xmlDATA=""; 
foreach($xml5 as $key=>$value){
	$xmlDATA.=$value;
}
$data1=explode("<item>",$xmlDATA);
$iTitle=array(); 			
$iLink=array(); 			
$iDesc=array(); 			
$content=array(); 	

foreach($data1 as $key=>$value){ 
	if($key>0){
		$value=str_replace("</item>","",$value);
		$iTitle[$key]=strip_tags(substr($value,strpos($value,"<title>"),strpos($value,"</title>")));
		$content[$key]=substr($value,strpos($value,"<content:encoded>"),strpos($value,"</content:encoded>")); //<content:encoded>
		$iLink[$key]=strip_tags(substr($value,strpos($value,"<link>"),strpos($value,"</link>")-strpos($value,"<link>")));
		$iDesc[$key]=strip_tags(substr($value,strpos($value,"<description>"),strpos($value,"</description>")-strpos($value,"<description>")));
		preg_match('/src="(.*?)"/', $content[$key], $matches);
		//echo $matches[1]."<br>";
		echo '<img src="'.$matches[1].'" width="260" height="100"><br>';
		echo "<a href='".$iLink[$key]."' target='_blank' />".$iTitle[$key]."</a><br/><hr>";
		//preg_match('/src="(.*?)"/', $content[$key], $matches);
		//print_r($matches);
		
		//print_r($matches);
	}
}
?>



ประวัติการแก้ไข
2012-10-11 15:23:05
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 15:19:21 By : maxairzoom
 


 

No. 14



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

โอ๊วได้แล้วครับ ขอบคุณมากจริงๆ เสียสรเวลาะมาช่้วยครับ

ขอรู้จักชื่อได้ไหมครับอยากรู้จัก
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 15:36:28 By : sorawit.ff
 


 

No. 15



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


จาก XML ของคุณข้างบน คุณน่าจะต้องเปลี่ยน ให้มันไปจับ tag <description> มาครับ ก็คือเปลี่ยน

Code (PHP)
$content[$key]=substr($value,strpos($value,"<content:encoded>"),strpos($value,"</content:encoded>")); //<content:encoded>


เป็น

Code (PHP)
$content[$key]=substr($value,strpos($value,"<description>"),strpos($value,"</description>"));


ลองดูครับ หลักการทำงานก็แค่ เอา text ใน tag <description> เสร็จแล้วก็หา ลิงค์ โดยการ ใช้ function preg_match ครับ มันจะใช้ Regular Expression ในการค้นหาข้อความที่ matches ในที่นี้ผมให้มันค้นว่า src="(.*?)" ก็คือมันจะหา src=" แล้วก็ไปอ่านพวกสัญลักษณ์ Regular Expression ว่ามีอะไรที่ต้องการอีก ในที่นี้ จะมี () ก้คือจัดกลุ่ม แล้วก็มี . ก็คือ ให้มันหาตัวอักษรอะไรก็ได้ ก็ประมาณว่า 123abc พวกเนี่ยอะครับจะมาหมด * กับ ? ก็คือ จะมีไอ้พวก 123abc กี่ตัวก็ได้ พอมันหาครบ ไปเจอ " อันสุดท้ายของ src="(.*?)" มันก็จะหยุดค้น แล้วก็ดึงข้อความนั้นมาครับ ประมาณนี้ ถ้าผมอธิบาย ผิดถูกยังไง ก็ขออภัยด้วยครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 15:42:09 By : maxairzoom
 


 

No. 16



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


อ้าวได้ซะละ เผลอนั่งอธิบายยืดยาวเลย ยินดีด้วยครับ ละก็เรียก jirawat แหละครับ ง่ายดี 5555
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 15:45:04 By : maxairzoom
 


 

No. 17



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

อธิบายมาจะดีมากเลยครับเป็นความรู้ในวันข้างหน้า :) ตอนนี้ผมอายุ 16 ย่าง 17 เดียวเวลาเข้ามหาลัยจะได้เป็นก่อนเพื่อนครับ 555
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 15:51:50 By : sorawit.ff
 


 

No. 18



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


ผมอธิบายไว้ที่ No. 15 แล้วครับ เกี่ยวกับ Regular Expression นิดๆหน่อยๆ ที่จะดึง ลิงค์ออกมา ถ้าอยากศึกษา ลองเข้าไปดูคร่าวๆก่อนครับ ที่
http://www.nextproject.net/contents/default.aspx?00103
Regular Expression ทำอะไรได้เยอะแยะมากมายครับ ลองดูครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 15:57:31 By : maxairzoom
 


 

No. 19



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

ขอบคุณครับเดียวไปติดตาม :)
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 16:14:56 By : sorawit.ff
 


 

No. 20



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

อ่อพี่ครับผมจากถามเพิ่มเติมนิดหน่อย ถ้าผมจะ

ผมจะสามารถกำหนดได้อย่างไรครับ

แต่ถ้าทำให้มันเป็นสองแถวแบบนี้ควรจะศึกษาวิธีนี้จากไหนครับ

ผลแสดง


ประวัติการแก้ไข
2012-10-11 16:53:46
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-11 16:29:58 By : sorawit.ff
 


 

No. 21



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


ใส่ตารางครอบได้เลยครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-12 15:30:01 By : maxairzoom
 


 

No. 22



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

ขอบคุณครับ แล้วถ้าผมจะกำหนดให้มันแสดง 8 หัวข้อแรก แก้ไข ตรง if($key>0){ ใช่ไหมครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-12 15:56:59 By : sorawit.ff
 


 

No. 23



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


ตอบความคิดเห็นที่ : 22 เขียนโดย : sorawit.ff เมื่อวันที่ 2012-10-12 15:56:59
รายละเอียดของการตอบ ::
ครับผม

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-12 16:14:42 By : maxairzoom
 


 

No. 24



โพสกระทู้ ( 40 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook Blogger

jirawat ขอถามอีกสักข้อ..... ถ้าำเราจะกำหนดให้มันข้ามไปหัวข้อที่ 2 หรือ หัวข้ออื่นๆ จะแก้ไขได้อย่างไรครับ...
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-12 16:27:57 By : sorawit.ff
 


 

No. 25



โพสกระทู้ ( 59 )
บทความ ( 0 )



สถานะออฟไลน์


ลองศึกษา 2 ตัวนี้ดูครับ

Go to : PHP continue()

Go to : PHP break()

หรือจะใส่ใน IF เลยก็ได้ครับ สมมติไม่เอา หัวข้อที่ 5 ก็ if($key>0 AND $key!=5)

ลองดูครับ เขียนได้หลายแบบ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-12 16:38:21 By : maxairzoom
 


 

No. 26

Guest


very goods
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-12-28 14:42:24 By : tree
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : ++++++ เรียกใช้งานรูปจาก cURL ยังไงครับ ชี้แนะทีครับ +++++++
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 00
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่