Page 1 of 1

Having trouble with preg_match !! Please Help

Posted: Tue Jun 09, 2009 5:21 pm
by Guvnor
I am a complete newbie with PHP. but i am making progress.

So this is how far i got. I am trying to reformat an xml feed to get it working with my flash widget.

So i am using the orginal feed using PHP to format it and then use it. I used "getElementsByTagName" and formatted all what i wanted but now i just stuck with one thing. How to code so that i can get the image url from the xml feed.

The problem is the img url is not something i can get by "getElementsByTagName" because its inside a TAG: i dunno if i make sense but here is the xml feed:

Code: Select all

<item>
<title><![CDATA[SEXY UNIQUE PINK GOGO TOP SHORT WRAP AROUND 6  8 10 12]]></title>
<link><![CDATA[http://cgi.ebay.co.uk/SEXY-UNIQUE-PINK-GOGO-TOP-SHORT-WRAP-AROUND-6-8-10-12_W0QQitemZ380126183045QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:101]]></link>
<description><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-UNIQUE-PINK-GOGO-TOP-SHORT-WRAP-AROUND-6-8-10-12_W0QQitemZ380126183045QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380126183045_0.jpg"></a></td><td><strong>&#163;7.99</strong><br /> End Date: Sunday Jun-21-2009 18:07:40 BST<br />Buy It Now for only: &#163;7.99<br /><a href="http://cgi.ebay.co.uk/SEXY-UNIQUE-PINK-GOGO-TOP-SHORT-WRAP-AROUND-6-8-10-12_W0QQitemZ380126183045QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380126183045&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></description>
<guid isPermaLink="false"><![CDATA[http://cgi.ebay.co.uk/SEXY-UNIQUE-PINK-GOGO-TOP-SHORT-WRAP-AROUND-6-8-10-12_W0QQitemZ380126183045QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:101]]></guid>
<pubDate>Sat, 23 May 2009 02:02:41 BST</pubDate>
<rx:BuyItNowPrice xmlns:rx="urn:ebay:apis:eBLBaseComponents">799</rx:BuyItNowPrice>
<rx:CurrentPrice xmlns:rx="urn:ebay:apis:eBLBaseComponents">799</rx:CurrentPrice>
 
<rx:EndTime xmlns:rx="urn:ebay:apis:eBLBaseComponents">1245604060000</rx:EndTime>
<rx:Category xmlns:rx="urn:ebay:apis:eBLBaseComponents"><![CDATA[Women's Clothing]]></rx:Category>
<rx:AuctionType xmlns:rx="urn:ebay:apis:eBLBaseComponents">Buy It Now</rx:AuctionType>
<rx:ItemCharacteristic xmlns:rx="urn:ebay:apis:eBLBaseComponents">Listed with PayPal</rx:ItemCharacteristic>
</item>
 

Now This is the url i need to specify src="http://thumbs.ebaystatic.com/pict/380126183045_0.jpg, which is under the description tag. I need the value of this URL as a seprate TAG

so that i can create my feed for the flash widget.

The PHP Is as follows:

Code: Select all

<?php
$xml = new DomDocument;
$xml -> load("http://rss.api.ebay.com/ws/rssapi?FeedName=StoreItems&siteId=3&language=en-GB&output=RSS20&storeId=116907097");
$str = "";
//get elements from "<channel>"
$channel=$xml->getElementsByTagName('channel')->item(0);
$channel_title = $channel->getElementsByTagName('title')->item(0)->childNodes->item(0)->nodeValue;
$channel_link = $channel->getElementsByTagName('link')->item(0)->childNodes->item(0)->nodeValue;
$channel_desc = $channel->getElementsByTagName('description')->item(0)->childNodes->item(0)->nodeValue;
 
//output elements from "<channel>"
$str .= "<p><strong><a href='". $channel_link."'>".$channel_title."</a></strong>";
$str .= "<br />";
$str .= $channel_desc . "</p>" ;
 
$node=$xml->getElementsByTagName('item');
$i=0;
$str .= "<ul>";
$str .= "<list>"."\n";
 
foreach($node as $x){
 $item_title=$x->getElementsByTagName('title')->item(0)->childNodes->item(0)->nodeValue;
 $item_link=$x->getElementsByTagName('link')->item(0)->childNodes->item(0)->nodeValue;
 $item_desc=$x->getElementsByTagName('description')->item(0)->childNodes->item(0)->nodeValue;
 $item_date=$x->getElementsByTagName('pubDate')->item(0)->childNodes->item(0)->nodeValue;
 $item_image=$x->preg_match('/src=[\'"]?([^\'" >]+)[\'" >]/',$item_desc,$result);
 
 //$str .= "<li><a href='".$item_link."'>".$item_title ."</a></li><ul><li>";
 //$str .= $item_desc . "</li></ul>";
 //$str .="<list>"."\n";
 $str .="<item>"."\n";
 $str .="<date>".$item_date."</date>"."\n";
 $str .="<headline>".$item_title."</headline>"."\n";
 $str .="<image>".$item_image."</image>"."\n";
  $str .="<news_text><![CDATA[".$item_desc."]]></news_text></item>"."\n";
 $i++;
 }
//$str .= "</ul>";
$str .= "</list>";
echo $str;
?>
Please guys dont laugh :-) but i thought if i use $item_image=$x->preg_match('/src=[\'"]?([^\'" >]+)[\'" >]/',$item_desc,$result);, it might just work but hey it doesnt dunno what to use to get this working .

I would be really greateful if someone can point me to the right direction.

So in short i want to extract a URL which is under the description TAG for everything in the array. I dunno if i make sense but i think i tried my best.

Regards

Guvnor

Re: Having trouble with preg_match !! Please Help

Posted: Wed Jun 10, 2009 3:50 am
by Guvnor
Anybody ???

Re: Having trouble with preg_match !! Please Help

Posted: Wed Jun 10, 2009 7:41 am
by prometheuzz
Your regex works fine:

Code: Select all

preg_match(
  "/src=['\"]?([^'\" >]+)['\" >]/", 
  '...B:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380126183045_0.jpg"></a></td><td><st...', 
  $result
);
print_r($result);
 
/* Output:
Array
(
    [0] => src="http://thumbs.ebaystatic.com/pict/380126183045_0.jpg"
    [1] => http://thumbs.ebaystatic.com/pict/380126183045_0.jpg
)
*/

Re: Having trouble with preg_match !! Please Help

Posted: Wed Jun 10, 2009 8:10 am
by Guvnor
Thanx for the reply,

If i run my PHP i get the following

Code: Select all

<item>
<date>Sat, 23 May 2009 02:02:41 BST</date>
<headline>SEXY UNIQUE PINK GOGO TOP SHORT WRAP AROUND 6  8 10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-UNIQUE-PINK-GOGO-TOP-SHORT-WRAP-AROUND-6-8-10-12_W0QQitemZ380126183045QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380126183045_0.jpg"></a></td><td><strong>&#163;7.99</strong><br /> End Date: Sunday Jun-21-2009 18:07:40 BST<br />Buy It Now for only: &#163;7.99<br /><a href="http://cgi.ebay.co.uk/SEXY-UNIQUE-PINK-GOGO-TOP-SHORT-WRAP-AROUND-6-8-10-12_W0QQitemZ380126183045QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380126183045&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
</item>
 

Now i dunno how to get the reult for every tag into the image field (<image>.....</image>) if it makes any sense?

Is this ok to use here :

Code: Select all

$item_image=$x->preg_match('/src=['"]?([^'" >]+)['" >]/',$item_desc,$result);
and then later in the code i have :

Code: Select all

$str .="<image>".$item_image."</image>"."\n";

Re: Having trouble with preg_match !! Please Help

Posted: Wed Jun 10, 2009 8:20 am
by prometheuzz
Guvnor wrote:...
Now i dunno how to get the reult for every tag into the image field (<image>.....</image>) if it makes any sense?
...
No, sorry.
Concrete examples would help (ie. example input + corresponding output).

Re: Having trouble with preg_match !! Please Help

Posted: Wed Jun 10, 2009 8:28 am
by Guvnor
Ok let me try again if run this php code:

Code: Select all

<?php
$xml = new DomDocument;
$xml -> load("http://rss.api.ebay.com/ws/rssapi?FeedName=StoreItems&siteId=3&language=en-GB&output=RSS20&storeId=116907097");
$str = "";
//get elements from "<channel>"
$channel=$xml->getElementsByTagName('channel')->item(0);
$channel_title = $channel->getElementsByTagName('title')->item(0)->childNodes->item(0)->nodeValue;
$channel_link = $channel->getElementsByTagName('link')->item(0)->childNodes->item(0)->nodeValue;
$channel_desc = $channel->getElementsByTagName('description')->item(0)->childNodes->item(0)->nodeValue;
 
//output elements from "<channel>"
$str .= "<p><strong><a href='". $channel_link."'>".$channel_title."</a></strong>";
$str .= "<br />";
$str .= $channel_desc . "</p>" ;
 
$node=$xml->getElementsByTagName('item');
$i=0;
$str .= "<ul>";
$str .= "<list>"."\n";
 
foreach($node as $x){
 $item_title=$x->getElementsByTagName('title')->item(0)->childNodes->item(0)->nodeValue;
 $item_link=$x->getElementsByTagName('link')->item(0)->childNodes->item(0)->nodeValue;
 $item_desc=$x->getElementsByTagName('description')->item(0)->childNodes->item(0)->nodeValue;
 $item_date=$x->getElementsByTagName('pubDate')->item(0)->childNodes->item(0)->nodeValue;
 $item_image=$x->preg_match('/src=['"]?([^'" >]+)['" >]/',$item_desc,$result);
 
 //$str .= "<li><a href='".$item_link."'>".$item_title ."</a></li><ul><li>";
 //$str .= $item_desc . "</li></ul>";
 //$str .="<list>"."\n";
 $str .="<item>"."\n";
 $str .="<date>".$item_date."</date>"."\n";
 $str .="<headline>".$item_title."</headline>"."\n";
 $str .="<image>".$item_image."</image>"."\n";
  $str .="<news_text><![CDATA[".$item_desc."]]></news_text></item>"."\n";
 $i++;
 }
//$str .= "</ul>";
$str .= "</list>";
echo $str;
?>
i get this reformated xml.

Code: Select all

<p><strong><a href='http://stores.ebay.co.uk/ewa-sandhu?ssPageName=RSS:B:SILF:GB:100'>Ewa Sandhu</a></strong><br />Welcome to Ewa Sandhu store for women who like something extra special !
Our philosophy is to bring you the latest in fashion-wear for all occasion.
Ewa Sandhu designs stand for high style, exclusive designs and best quality service. 
Please check our feedback to see 100% happy buyers!</p><ul><list>
<item>
<date>Sat, 23 May 2009 02:02:41 BST</date>
<headline>SEXY UNIQUE PINK GOGO TOP SHORT WRAP AROUND 6  8 10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-UNIQUE-PINK-GOGO-TOP-SHORT-WRAP-AROUND-6-8-10-12_W0QQitemZ380126183045QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380126183045_0.jpg"></a></td><td><strong>&#163;7.99</strong><br /> End Date: Sunday Jun-21-2009 18:07:40 BST<br />Buy It Now for only: &#163;7.99<br /><a href="http://cgi.ebay.co.uk/SEXY-UNIQUE-PINK-GOGO-TOP-SHORT-WRAP-AROUND-6-8-10-12_W0QQitemZ380126183045QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380126183045&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Fri, 22 May 2009 12:27:32 BST</date>
<headline>SEXY BLACK PINK BUSINESS OFFICE WEAR DRESS BELTED 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-BLACK-PINK-BUSINESS-OFFICE-WEAR-DRESS-BELTED-12_W0QQitemZ380126130902QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380126130902_0.jpg"></a></td><td><strong>&#163;29.99</strong><br /> End Date: Sunday Jun-21-2009 12:32:32 BST<br />Buy It Now for only: &#163;29.99<br /><a href="http://cgi.ebay.co.uk/SEXY-BLACK-PINK-BUSINESS-OFFICE-WEAR-DRESS-BELTED-12_W0QQitemZ380126130902QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380126130902&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
 
<item>
<date>Fri, 22 May 2009 10:38:09 BST</date>
<headline>NEW SEXY LEGGINGS JEANS DENIM LOOK TROUSERS 8 10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-LEGGINGS-JEANS-DENIM-LOOK-TROUSERS-8-10-12_W0QQitemZ260415079953QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260415079953_0.jpg"></a></td><td><strong>&#163;12.99</strong><br /> End Date: Sunday Jun-21-2009 10:43:09 BST<br />Buy It Now for only: &#163;12.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-LEGGINGS-JEANS-DENIM-LOOK-TROUSERS-8-10-12_W0QQitemZ260415079953QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260415079953&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 19 May 2009 19:25:22 BST</date>
<headline>COCKTAIL ORANGE BALL EVENING PROM BRIDESMAID DRESS 16</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/COCKTAIL-ORANGE-BALL-EVENING-PROM-BRIDESMAID-DRESS-16_W0QQitemZ260413581716QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260413581716_0.jpg"></a></td><td><strong>&#163;34.99</strong><br /> End Date: Thursday Jun-18-2009 19:30:22 BST<br />Buy It Now for only: &#163;34.99<br /><a href="http://cgi.ebay.co.uk/COCKTAIL-ORANGE-BALL-EVENING-PROM-BRIDESMAID-DRESS-16_W0QQitemZ260413581716QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260413581716&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 19 May 2009 18:21:58 BST</date>
 
<headline>PINK BALL CHIFFON EVENING PROM PARTY DRESS SIZE  16</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/PINK-BALL-CHIFFON-EVENING-PROM-PARTY-DRESS-SIZE-16_W0QQitemZ380125440345QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380125440345_0.jpg"></a></td><td><strong>&#163;34.99</strong><br /> End Date: Thursday Jun-18-2009 18:26:58 BST<br />Buy It Now for only: &#163;34.99<br /><a href="http://cgi.ebay.co.uk/PINK-BALL-CHIFFON-EVENING-PROM-PARTY-DRESS-SIZE-16_W0QQitemZ380125440345QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380125440345&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Fri, 08 May 2009 15:37:18 BST</date>
<headline>SEXY HOT BLACK DANCE CLUB PARTY KINKY LONG DRESS  10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-HOT-BLACK-DANCE-CLUB-PARTY-KINKY-LONG-DRESS-10-12_W0QQitemZ260407149882QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260407149882_0.jpg"></a></td><td><strong>&#163;26.99</strong><br /> End Date: Tuesday Jul-07-2009 15:42:18 BST<br />Buy It Now for only: &#163;26.99<br /><a href="http://cgi.ebay.co.uk/SEXY-HOT-BLACK-DANCE-CLUB-PARTY-KINKY-LONG-DRESS-10-12_W0QQitemZ260407149882QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260407149882&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 06 May 2009 14:34:22 BST</date>
<headline>NEW SEXY TRENDY DENIM SPRING EAGLE JACKET ZIP HOODED 8</headline>
<image></image>
 
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-EAGLE-JACKET-ZIP-HOODED-8_W0QQitemZ260405919301QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260405919301_0.jpg"></a></td><td><strong>&#163;22.99</strong><br /> End Date: Sunday Jul-05-2009 14:39:22 BST<br />Buy It Now for only: &#163;22.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-EAGLE-JACKET-ZIP-HOODED-8_W0QQitemZ260405919301QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260405919301&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 29 Apr 2009 14:08:59 BST</date>
<headline>SEXY WHITE BALL EVENING PROM CHIFFON DRESS SIZE 12 14</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-WHITE-BALL-EVENING-PROM-CHIFFON-DRESS-SIZE-12-14_W0QQitemZ380120976629QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380120976629_0.jpg"></a></td><td><strong>&#163;34.99</strong><br /> End Date: Sunday Jun-28-2009 14:13:59 BST<br />Buy It Now for only: &#163;34.99<br /><a href="http://cgi.ebay.co.uk/SEXY-WHITE-BALL-EVENING-PROM-CHIFFON-DRESS-SIZE-12-14_W0QQitemZ380120976629QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380120976629&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 14 Apr 2009 12:34:41 BST</date>
<headline>CUTE SEXY SHORT JUMPER CREAM IVORY TOP SWEATER 10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/CUTE-SEXY-SHORT-JUMPER-CREAM-IVORY-TOP-SWEATER-10-12_W0QQitemZ380117447232QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380117447232_0.jpg"></a></td><td><strong>&#163;9.99</strong><br /> End Date: Saturday Jun-13-2009 12:39:41 BST<br />Buy It Now for only: &#163;9.99<br /><a href="http://cgi.ebay.co.uk/CUTE-SEXY-SHORT-JUMPER-CREAM-IVORY-TOP-SWEATER-10-12_W0QQitemZ380117447232QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380117447232&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 14 Apr 2009 11:59:00 BST</date>
 
<headline>SEXY FULL LENGTH LEGGINGS JEANS DENIM TROUSERS 8 10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-FULL-LENGTH-LEGGINGS-JEANS-DENIM-TROUSERS-8-10-12_W0QQitemZ380117440196QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380117440196_0.jpg"></a></td><td><strong>&#163;12.99</strong><br /> End Date: Saturday Jun-13-2009 12:04:00 BST<br />Buy It Now for only: &#163;12.99<br /><a href="http://cgi.ebay.co.uk/SEXY-FULL-LENGTH-LEGGINGS-JEANS-DENIM-TROUSERS-8-10-12_W0QQitemZ380117440196QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380117440196&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 08 Apr 2009 15:33:19 BST</date>
<headline>NEW LONG TUNIC GREY JUMPER TOP SLIM SWEATER DRESS 12 14</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-LONG-TUNIC-GREY-JUMPER-TOP-SLIM-SWEATER-DRESS-12-14_W0QQitemZ260390492104QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260390492104_0.jpg"></a></td><td><strong>&#163;23.99</strong><br /> End Date: Tuesday Jul-07-2009 15:38:19 BST<br />Buy It Now for only: &#163;23.99<br /><a href="http://cgi.ebay.co.uk/NEW-LONG-TUNIC-GREY-JUMPER-TOP-SLIM-SWEATER-DRESS-12-14_W0QQitemZ260390492104QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260390492104&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 08 Apr 2009 15:20:17 BST</date>
<headline>SEXY VELVET LEOPARD ANIMAL PRINT EVENING PARTY DRESS 8</headline>
<image></image>
 
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-VELVET-LEOPARD-ANIMAL-PRINT-EVENING-PARTY-DRESS-8_W0QQitemZ380116225710QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380116225710_0.jpg"></a></td><td><strong>&#163;19.99</strong><br /> End Date: Tuesday Jul-07-2009 15:25:17 BST<br />Buy It Now for only: &#163;19.99<br /><a href="http://cgi.ebay.co.uk/SEXY-VELVET-LEOPARD-ANIMAL-PRINT-EVENING-PARTY-DRESS-8_W0QQitemZ380116225710QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380116225710&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Sat, 04 Apr 2009 15:59:05 BST</date>
<headline>CUTE SEXY SHORT JUMPER BLACK TOP SWEATER 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/CUTE-SEXY-SHORT-JUMPER-BLACK-TOP-SWEATER-8-10_W0QQitemZ260388348021QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260388348021_0.jpg"></a></td><td><strong>&#163;9.99</strong><br /> End Date: Friday Jul-03-2009 16:04:05 BST<br />Buy It Now for only: &#163;9.99<br /><a href="http://cgi.ebay.co.uk/CUTE-SEXY-SHORT-JUMPER-BLACK-TOP-SWEATER-8-10_W0QQitemZ260388348021QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260388348021&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 01 Apr 2009 11:57:34 BST</date>
<headline>GORGEOUS ORANGE CHIFFON PROM COCKTAIL DRESS SIZE 12  14</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/GORGEOUS-ORANGE-CHIFFON-PROM-COCKTAIL-DRESS-SIZE-12-14_W0QQitemZ380114688384QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380114688384_0.jpg"></a></td><td><strong>&#163;34.99</strong><br /> End Date: Tuesday Jun-30-2009 12:02:34 BST<br />Buy It Now for only: &#163;34.99<br /><a href="http://cgi.ebay.co.uk/GORGEOUS-ORANGE-CHIFFON-PROM-COCKTAIL-DRESS-SIZE-12-14_W0QQitemZ380114688384QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380114688384&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 01 Apr 2009 11:54:06 BST</date>
 
<headline>EVENING ORANGE PARTY PROM COCKTAIL DRESS SIZE 8 - 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/EVENING-ORANGE-PARTY-PROM-COCKTAIL-DRESS-SIZE-8-10_W0QQitemZ260386721153QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260386721153_0.jpg"></a></td><td><strong>&#163;34.99</strong><br /> End Date: Tuesday Jun-30-2009 11:59:06 BST<br />Buy It Now for only: &#163;34.99<br /><a href="http://cgi.ebay.co.uk/EVENING-ORANGE-PARTY-PROM-COCKTAIL-DRESS-SIZE-8-10_W0QQitemZ260386721153QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260386721153&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Thu, 26 Mar 2009 16:53:32 GMT</date>
<headline>TRENDY UNIQUE SEXY RED  PARTY EVENING CLUBBING TOP 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/TRENDY-UNIQUE-SEXY-RED-PARTY-EVENING-CLUBBING-TOP-8-10_W0QQitemZ380113426749QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380113426749_0.jpg"></a></td><td><strong>&#163;11.99</strong><br /> End Date: Wednesday Jun-24-2009 17:58:32 BST<br />Buy It Now for only: &#163;11.99<br /><a href="http://cgi.ebay.co.uk/TRENDY-UNIQUE-SEXY-RED-PARTY-EVENING-CLUBBING-TOP-8-10_W0QQitemZ380113426749QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380113426749&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 25 Mar 2009 10:35:52 GMT</date>
<headline>BLACK PINK SILK OFFICE BUSINESS SEXY SECRETARY DRESS 10</headline>
<image></image>
 
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/BLACK-PINK-SILK-OFFICE-BUSINESS-SEXY-SECRETARY-DRESS-10_W0QQitemZ380113144493QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380113144493_0.jpg"></a></td><td><strong>&#163;30.99</strong><br /> End Date: Tuesday Jun-23-2009 11:40:52 BST<br />Buy It Now for only: &#163;30.99<br /><a href="http://cgi.ebay.co.uk/BLACK-PINK-SILK-OFFICE-BUSINESS-SEXY-SECRETARY-DRESS-10_W0QQitemZ380113144493QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380113144493&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 23 Mar 2009 14:56:37 GMT</date>
<headline>SEXY WHITE BALL EVENING PROM CHIFFON DRESS SIZE 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-WHITE-BALL-EVENING-PROM-CHIFFON-DRESS-SIZE-8-10_W0QQitemZ260382140809QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260382140809_0.jpg"></a></td><td><strong>&#163;34.99</strong><br /> End Date: Sunday Jun-21-2009 16:01:37 BST<br />Buy It Now for only: &#163;34.99<br /><a href="http://cgi.ebay.co.uk/SEXY-WHITE-BALL-EVENING-PROM-CHIFFON-DRESS-SIZE-8-10_W0QQitemZ260382140809QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260382140809&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 23 Mar 2009 11:53:23 GMT</date>
<headline>BEAUTIFUL SEXY SHEER LACE WHITE PARTY EVENING TOP 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/BEAUTIFUL-SEXY-SHEER-LACE-WHITE-PARTY-EVENING-TOP-8-10_W0QQitemZ260382076058QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260382076058_0.jpg"></a></td><td><strong>&#163;12.99</strong><br /> End Date: Sunday Jun-21-2009 12:58:23 BST<br />Buy It Now for only: &#163;12.99<br /><a href="http://cgi.ebay.co.uk/BEAUTIFUL-SEXY-SHEER-LACE-WHITE-PARTY-EVENING-TOP-8-10_W0QQitemZ260382076058QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260382076058&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 18 Mar 2009 10:33:57 GMT</date>
 
<headline>CUTE SEXY SHORT JUMPER BLACK TOP SWEATER 10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/CUTE-SEXY-SHORT-JUMPER-BLACK-TOP-SWEATER-10-12_W0QQitemZ380111497842QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380111497842_0.jpg"></a></td><td><strong>&#163;9.99</strong><br /> End Date: Tuesday Jun-16-2009 11:38:57 BST<br />Buy It Now for only: &#163;9.99<br /><a href="http://cgi.ebay.co.uk/CUTE-SEXY-SHORT-JUMPER-BLACK-TOP-SWEATER-10-12_W0QQitemZ380111497842QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380111497842&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 16 Mar 2009 17:27:31 GMT</date>
<headline>NEW SEXY TRENDY DENIM SPRING BUTTONS  LADIES JACKET 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-BUTTONS-LADIES-JACKET-12_W0QQitemZ260378465593QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260378465593_0.jpg"></a></td><td><strong>&#163;17.99</strong><br /> End Date: Sunday Jun-14-2009 18:32:31 BST<br />Buy It Now for only: &#163;17.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-BUTTONS-LADIES-JACKET-12_W0QQitemZ260378465593QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260378465593&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 16 Mar 2009 17:00:31 GMT</date>
<headline>NEW SEXY TRENDY DENIM SPRING EAGLE JACKET ZIP HOODED 10</headline>
<image></image>
 
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-EAGLE-JACKET-ZIP-HOODED-10_W0QQitemZ380111089634QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380111089634_0.jpg"></a></td><td><strong>&#163;22.99</strong><br /> End Date: Sunday Jun-14-2009 18:05:31 BST<br />Buy It Now for only: &#163;22.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-EAGLE-JACKET-ZIP-HOODED-10_W0QQitemZ380111089634QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380111089634&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 16 Mar 2009 17:00:21 GMT</date>
<headline>NEW SEXY TRENDY DENIM SPRING EAGLE JACKET ZIP HOODED 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-EAGLE-JACKET-ZIP-HOODED-12_W0QQitemZ260378450590QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260378450590_0.jpg"></a></td><td><strong>&#163;22.99</strong><br /> End Date: Sunday Jun-14-2009 18:05:21 BST<br />Buy It Now for only: &#163;22.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-EAGLE-JACKET-ZIP-HOODED-12_W0QQitemZ260378450590QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260378450590&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 16 Mar 2009 17:00:11 GMT</date>
<headline>NEW SEXY TRENDY DENIM SPRING EAGLE JACKET ZIP HOODED 14</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-EAGLE-JACKET-ZIP-HOODED-14_W0QQitemZ380111089515QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380111089515_0.jpg"></a></td><td><strong>&#163;22.99</strong><br /> End Date: Sunday Jun-14-2009 18:05:11 BST<br />Buy It Now for only: &#163;22.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-TRENDY-DENIM-SPRING-EAGLE-JACKET-ZIP-HOODED-14_W0QQitemZ380111089515QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380111089515&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 09 Mar 2009 15:27:48 GMT</date>
 
<headline>GOLD SEXY TUBE  PARTY EVENING TAIL DRESS  8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/GOLD-SEXY-TUBE-PARTY-EVENING-TAIL-DRESS-8-10_W0QQitemZ260374702798QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260374702798_0.jpg"></a></td><td><strong>&#163;18.99</strong><br /> End Date: Tuesday Jul-07-2009 16:32:48 BST<br />Buy It Now for only: &#163;18.99<br /><a href="http://cgi.ebay.co.uk/GOLD-SEXY-TUBE-PARTY-EVENING-TAIL-DRESS-8-10_W0QQitemZ260374702798QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260374702798&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 03 Mar 2009 14:23:27 GMT</date>
<headline>LOVELY SEXY JEWELED PARTY LACE EVENING CORSET TOP 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/LOVELY-SEXY-JEWELED-PARTY-LACE-EVENING-CORSET-TOP-8-10_W0QQitemZ380108130977QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380108130977_0.jpg"></a></td><td><strong>&#163;14.99</strong><br /> End Date: Wednesday Jul-01-2009 15:28:27 BST<br />Buy It Now for only: &#163;14.99<br /><a href="http://cgi.ebay.co.uk/LOVELY-SEXY-JEWELED-PARTY-LACE-EVENING-CORSET-TOP-8-10_W0QQitemZ380108130977QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380108130977&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 03 Mar 2009 14:23:20 GMT</date>
<headline>LOVELY SEXY JEWELED PARTY LACE EVENING CORSET TOP 8 10</headline>
<image></image>
 
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/LOVELY-SEXY-JEWELED-PARTY-LACE-EVENING-CORSET-TOP-8-10_W0QQitemZ260371135374QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260371135374_0.jpg"></a></td><td><strong>&#163;14.99</strong><br /> End Date: Wednesday Jul-01-2009 15:28:20 BST<br />Buy It Now for only: &#163;14.99<br /><a href="http://cgi.ebay.co.uk/LOVELY-SEXY-JEWELED-PARTY-LACE-EVENING-CORSET-TOP-8-10_W0QQitemZ260371135374QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260371135374&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 03 Mar 2009 14:23:14 GMT</date>
<headline>LOVELY SEXY JEWELED PARTY LACE EVENING CORSET TOP 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/LOVELY-SEXY-JEWELED-PARTY-LACE-EVENING-CORSET-TOP-8-10_W0QQitemZ260371135321QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260371135321_0.jpg"></a></td><td><strong>&#163;14.99</strong><br /> End Date: Wednesday Jul-01-2009 15:28:14 BST<br />Buy It Now for only: &#163;14.99<br /><a href="http://cgi.ebay.co.uk/LOVELY-SEXY-JEWELED-PARTY-LACE-EVENING-CORSET-TOP-8-10_W0QQitemZ260371135321QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260371135321&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 03 Mar 2009 11:15:34 GMT</date>
<headline>SEXY BURGUNDY BALL EVENING PROM BRIDESMAID DRESS 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-BURGUNDY-BALL-EVENING-PROM-BRIDESMAID-DRESS-8-10_W0QQitemZ260371072930QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260371072930_0.jpg"></a></td><td><strong>&#163;34.99</strong><br /> End Date: Wednesday Jul-01-2009 12:20:34 BST<br />Buy It Now for only: &#163;34.99<br /><a href="http://cgi.ebay.co.uk/SEXY-BURGUNDY-BALL-EVENING-PROM-BRIDESMAID-DRESS-8-10_W0QQitemZ260371072930QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260371072930&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 25 Feb 2009 18:56:33 GMT</date>
 
<headline>CUTE SEXY SHORT JUMPER CREAM IVORY TOP SWEATER 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/CUTE-SEXY-SHORT-JUMPER-CREAM-IVORY-TOP-SWEATER-8-10_W0QQitemZ260368222596QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260368222596_0.jpg"></a></td><td><strong>&#163;9.99</strong><br /> End Date: Thursday Jun-25-2009 20:01:33 BST<br />Buy It Now for only: &#163;9.99<br /><a href="http://cgi.ebay.co.uk/CUTE-SEXY-SHORT-JUMPER-CREAM-IVORY-TOP-SWEATER-8-10_W0QQitemZ260368222596QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260368222596&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Thu, 19 Feb 2009 17:27:02 GMT</date>
<headline>SEXY STUNNING RED EVENING  PARTY COCKTAIL DRESS 10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-STUNNING-RED-EVENING-PARTY-COCKTAIL-DRESS-10-12_W0QQitemZ380105464757QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380105464757_0.jpg"></a></td><td><strong>&#163;28.99</strong><br /> End Date: Friday Jun-19-2009 18:32:02 BST<br />Buy It Now for only: &#163;28.99<br /><a href="http://cgi.ebay.co.uk/SEXY-STUNNING-RED-EVENING-PARTY-COCKTAIL-DRESS-10-12_W0QQitemZ380105464757QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380105464757&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Thu, 19 Feb 2009 17:19:32 GMT</date>
<headline>LONG JUMPER TUNIC CREAM IVORY HOODIE TOP SWEATER 10 12</headline>
<image></image>
 
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/LONG-JUMPER-TUNIC-CREAM-IVORY-HOODIE-TOP-SWEATER-10-12_W0QQitemZ260365001329QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260365001329_0.jpg"></a></td><td><strong>&#163;14.99</strong><br /> End Date: Friday Jun-19-2009 18:24:32 BST<br />Buy It Now for only: &#163;14.99<br /><a href="http://cgi.ebay.co.uk/LONG-JUMPER-TUNIC-CREAM-IVORY-HOODIE-TOP-SWEATER-10-12_W0QQitemZ260365001329QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260365001329&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 16 Feb 2009 20:31:11 GMT</date>
<headline>NEW SEXY BROWN BOOB TUBE HALTER EVENING CLUB DRESS 14</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-BROWN-BOOB-TUBE-HALTER-EVENING-CLUB-DRESS-14_W0QQitemZ380104824516QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380104824516_0.jpg"></a></td><td><strong>&#163;17.99</strong><br /> End Date: Tuesday Jun-16-2009 21:36:11 BST<br />Buy It Now for only: &#163;17.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-BROWN-BOOB-TUBE-HALTER-EVENING-CLUB-DRESS-14_W0QQitemZ380104824516QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380104824516&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 16 Feb 2009 20:30:38 GMT</date>
<headline>NEW SEXY BROWN BOOB TUBE HALTER EVENING CLUB DRESS 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-BROWN-BOOB-TUBE-HALTER-EVENING-CLUB-DRESS-10_W0QQitemZ380104824376QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380104824376_0.jpg"></a></td><td><strong>&#163;17.99</strong><br /> End Date: Tuesday Jun-16-2009 21:35:38 BST<br />Buy It Now for only: &#163;17.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-BROWN-BOOB-TUBE-HALTER-EVENING-CLUB-DRESS-10_W0QQitemZ380104824376QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380104824376&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Wed, 11 Feb 2009 14:23:33 GMT</date>
 
<headline>NEW SEXY HALTER  PINK COCKTAIL EVENING PARTY DRESS 8</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-HALTER-PINK-COCKTAIL-EVENING-PARTY-DRESS-8_W0QQitemZ380103586654QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380103586654_0.jpg"></a></td><td><strong>&#163;19.99</strong><br /> End Date: Thursday Jun-11-2009 15:28:33 BST<br />Buy It Now for only: &#163;19.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-HALTER-PINK-COCKTAIL-EVENING-PARTY-DRESS-8_W0QQitemZ380103586654QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380103586654&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 10 Feb 2009 15:16:19 GMT</date>
<headline>BLACK STRIPPED OFFICE BUSINESS SEXY SECRETARY DRESS 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/BLACK-STRIPPED-OFFICE-BUSINESS-SEXY-SECRETARY-DRESS-10_W0QQitemZ260360321087QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260360321087_0.jpg"></a></td><td><strong>&#163;30.99</strong><br /> End Date: Wednesday Jun-10-2009 16:21:19 BST<br />Buy It Now for only: &#163;30.99<br /><a href="http://cgi.ebay.co.uk/BLACK-STRIPPED-OFFICE-BUSINESS-SEXY-SECRETARY-DRESS-10_W0QQitemZ260360321087QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260360321087&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 10 Feb 2009 14:13:22 GMT</date>
<headline>BLACK PINK SILK OFFICE BUSINESS SEXY SECRETARY DRESS 12</headline>
<image></image>
 
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/BLACK-PINK-SILK-OFFICE-BUSINESS-SEXY-SECRETARY-DRESS-12_W0QQitemZ260360298439QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260360298439_0.jpg"></a></td><td><strong>&#163;30.99</strong><br /> End Date: Wednesday Jun-10-2009 15:18:22 BST<br />Buy It Now for only: &#163;30.99<br /><a href="http://cgi.ebay.co.uk/BLACK-PINK-SILK-OFFICE-BUSINESS-SEXY-SECRETARY-DRESS-12_W0QQitemZ260360298439QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260360298439&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Sat, 07 Feb 2009 20:27:42 GMT</date>
<headline>SEXY RED BLACK BOOB TUBE PARTY COCKTAIL MINI DRESS 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-RED-BLACK-BOOB-TUBE-PARTY-COCKTAIL-MINI-DRESS-12_W0QQitemZ260358929780QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260358929780_0.jpg"></a></td><td><strong>&#163;14.99</strong><br /> End Date: Tuesday Jul-07-2009 21:32:42 BST<br />Buy It Now for only: &#163;14.99<br /><a href="http://cgi.ebay.co.uk/SEXY-RED-BLACK-BOOB-TUBE-PARTY-COCKTAIL-MINI-DRESS-12_W0QQitemZ260358929780QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260358929780&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Sat, 07 Feb 2009 20:27:30 GMT</date>
<headline>SEXY RED BLACK BOOB TUBE PARTY COCKTAIL MINI DRESS 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-RED-BLACK-BOOB-TUBE-PARTY-COCKTAIL-MINI-DRESS-10_W0QQitemZ380102731950QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380102731950_0.jpg"></a></td><td><strong>&#163;14.99</strong><br /> End Date: Tuesday Jul-07-2009 21:32:30 BST<br />Buy It Now for only: &#163;14.99<br /><a href="http://cgi.ebay.co.uk/SEXY-RED-BLACK-BOOB-TUBE-PARTY-COCKTAIL-MINI-DRESS-10_W0QQitemZ380102731950QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380102731950&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Thu, 05 Feb 2009 19:16:56 GMT</date>
 
<headline>PARTY SEXY BROWN SNAKE LEATHER LOOK FLOATY DRESS 12 14</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/PARTY-SEXY-BROWN-SNAKE-LEATHER-LOOK-FLOATY-DRESS-12-14_W0QQitemZ260357960712QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260357960712_0.jpg"></a></td><td><strong>&#163;18.99</strong><br /> End Date: Sunday Jul-05-2009 20:21:56 BST<br />Buy It Now for only: &#163;18.99<br /><a href="http://cgi.ebay.co.uk/PARTY-SEXY-BROWN-SNAKE-LEATHER-LOOK-FLOATY-DRESS-12-14_W0QQitemZ260357960712QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260357960712&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Thu, 05 Feb 2009 19:14:41 GMT</date>
<headline>PARTY SEXY BROWN SNAKE LEATHER LOOK FLOATY DRESS 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/PARTY-SEXY-BROWN-SNAKE-LEATHER-LOOK-FLOATY-DRESS-8-10_W0QQitemZ260357958914QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260357958914_0.jpg"></a></td><td><strong>&#163;18.99</strong><br /> End Date: Sunday Jul-05-2009 20:19:41 BST<br />Buy It Now for only: &#163;18.99<br /><a href="http://cgi.ebay.co.uk/PARTY-SEXY-BROWN-SNAKE-LEATHER-LOOK-FLOATY-DRESS-8-10_W0QQitemZ260357958914QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260357958914&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Tue, 03 Feb 2009 20:25:14 GMT</date>
<headline>NEW SILVER SEQUINED PARTY EVENING COCKTAIL DRESS 12 14</headline>
<image></image>
 
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SILVER-SEQUINED-PARTY-EVENING-COCKTAIL-DRESS-12-14_W0QQitemZ380101757185QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380101757185_0.jpg"></a></td><td><strong>&#163;29.99</strong><br /> End Date: Friday Jul-03-2009 21:30:14 BST<br />Buy It Now for only: &#163;29.99<br /><a href="http://cgi.ebay.co.uk/NEW-SILVER-SEQUINED-PARTY-EVENING-COCKTAIL-DRESS-12-14_W0QQitemZ380101757185QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380101757185&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Mon, 02 Feb 2009 20:07:12 GMT</date>
<headline>NEW BEAUTIFUL SEXY PINK SILKY SATIN RICH TOP BLOUSE 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-BEAUTIFUL-SEXY-PINK-SILKY-SATIN-RICH-TOP-BLOUSE-12_W0QQitemZ260356368017QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260356368017_0.jpg"></a></td><td><strong>&#163;22.99</strong><br /> End Date: Thursday Jul-02-2009 21:12:12 BST<br />Buy It Now for only: &#163;22.99<br /><a href="http://cgi.ebay.co.uk/NEW-BEAUTIFUL-SEXY-PINK-SILKY-SATIN-RICH-TOP-BLOUSE-12_W0QQitemZ260356368017QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260356368017&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Sun, 01 Feb 2009 20:54:41 GMT</date>
<headline>NEW SEXY RED EVENING CLUB PARTY MAXI LONG DRESS 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/NEW-SEXY-RED-EVENING-CLUB-PARTY-MAXI-LONG-DRESS-8-10_W0QQitemZ260355813815QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260355813815_0.jpg"></a></td><td><strong>&#163;29.99</strong><br /> End Date: Wednesday Jul-01-2009 21:59:41 BST<br />Buy It Now for only: &#163;29.99<br /><a href="http://cgi.ebay.co.uk/NEW-SEXY-RED-EVENING-CLUB-PARTY-MAXI-LONG-DRESS-8-10_W0QQitemZ260355813815QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260355813815&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Sat, 31 Jan 2009 17:50:19 GMT</date>
 
<headline>SEXY PINK CLUBBING PARTY MESH DRESS DIAMONDS 8 10</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-PINK-CLUBBING-PARTY-MESH-DRESS-DIAMONDS-8-10_W0QQitemZ380101009369QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/380101009369_0.jpg"></a></td><td><strong>&#163;29.99</strong><br /> End Date: Tuesday Jun-30-2009 18:55:19 BST<br />Buy It Now for only: &#163;29.99<br /><a href="http://cgi.ebay.co.uk/SEXY-PINK-CLUBBING-PARTY-MESH-DRESS-DIAMONDS-8-10_W0QQitemZ380101009369QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=380101009369&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
<item>
<date>Thu, 22 Jan 2009 15:43:27 GMT</date>
<headline>SEXY STUNNING RED EVENING  PARTY COCKTAIL DRESS 10 12</headline>
<image></image>
<news_text><![CDATA[<table border="0" cellpadding="8"><tr><td><a href="http://cgi.ebay.co.uk/SEXY-STUNNING-RED-EVENING-PARTY-COCKTAIL-DRESS-10-12_W0QQitemZ260350898019QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:102"><img border="0" src="http://thumbs.ebaystatic.com/pict/260350898019_0.jpg"></a></td><td><strong>&#163;24.99</strong><br /> End Date: Sunday Jun-21-2009 16:48:27 BST<br />Buy It Now for only: &#163;24.99<br /><a href="http://cgi.ebay.co.uk/SEXY-STUNNING-RED-EVENING-PARTY-COCKTAIL-DRESS-10-12_W0QQitemZ260350898019QQcmdZViewItemQQssPageNameZRSS:B:SILF:GB:105">Buy it now</a> | <a href="http://cgi1.ebay.co.uk/ws/eBayISAPI.dll?MfcISAPICommand=MakeTrack&item=260350898019&ssPageName=RSS:B:SILF:GB:104">Add to watch list</a></td></tr></table>]]></news_text></item>
</list>
 
If u see the image tags are empty:
<image></image>
I dunno how to code so that i can pickup the img src url which is in the
<news_text>
tag to be automatically inserted in the
<image></image>
Does it make sense now?

I really appreciate ur help with this by the way.

Regards

Re: Having trouble with preg_match !! Please Help

Posted: Wed Jun 10, 2009 8:43 am
by prometheuzz
Ah, I think I see what you mean.
The matches from the preg_match(...) function are stored in your $result variable. So, instead of doing:

Code: Select all

$str .="<image>".$item_image."</image>"."\n";
try:

Code: Select all

$str .="<image>".$result[1]."</image>"."\n";

Re: Having trouble with preg_match !! Please Help

Posted: Wed Jun 10, 2009 9:01 am
by Guvnor
I am sorry but all iget now is a blank page just a white page with nuthing on it.

I think ther is a problem with this part of the code :

Code: Select all

foreach($node as $x){
 $item_title=$x->getElementsByTagName('title')->item(0)->childNodes->item(0)->nodeValue;
 $item_link=$x->getElementsByTagName('link')->item(0)->childNodes->item(0)->nodeValue;
 $item_desc=$x->getElementsByTagName('description')->item(0)->childNodes->item(0)->nodeValue;
 $item_date=$x->getElementsByTagName('pubDate')->item(0)->childNodes->item(0)->nodeValue;
 $item_image=$x->preg_match('/src=['"]?([^'" >]+)['" >]/',$item_desc,$result);
If i rem this line

Code: Select all

$item_image=$x->preg_match('/src=['"]?([^'" >]+)['" >]/',$item_desc,$result);
then it starts working again. Not sure if i can use this line and doest this code is right

Code: Select all

$item_image=$x->preg_match('/src=['"]?([^'" >]+)['" >]/',$item_desc,$result);
According to me that for each tag in the xml my code should get the tags like "title", "link", "Description", "pubdate" and also now i have added that the item_image$ should be watever the preg match find but is that correct because how does pregmatch know that it only has to search in the description tag.

Regards