Все о парсинге RSS лент средствами PHP

Опубликованно: 06.11.2008
Теги:

Вот только сегодня закончил писать скрипт парсера RSS лент для одного постоянного заказчика и решил поделиться способами и возможностями который нам предлагает язык PHP для этого дела (парсинга RSS). Для начала давайте я скажу о том что такое вообще RSS, вдруг кто-то из вас еще не знает. Сочинять сам не буду, а просто процитирую википедию:


RSS — семейство XML-форматов, предназначенных для описания лент новостей, анонсов статей, изменений в блогах и т. п. Информация из различных источников, представленная в формате RSS, может быть собрана, обработана и представлена пользователю в удобном для него виде специальными программами-агрегаторами.


То есть это по сути XML (кто незнает что это идем в википедию и читаем), а XML как нам известно хорошо структурированный документ. Я клоню к тому что если в RSS есть открывающий тег, то должен быть и закрывающий (например: <title>Заголовок</title>), иначе это не RSS. Думаю на данном этапе суть ясна: нам нужно получить информацию заключенную между тегами. Любая RSS лента имеет заголовок заключенный между тегами <title></title> и сам текст статьи заключенный между тегами < description></description>, именно их нам и нужно спарсить.

Теперь расскажу о способах написания RSS парсера и что предлагает нам PHP для реализации.


Способ 1 – SimpleXML

SimpleXML – это расширение для PHP5 устанавливаемое в него по умолчанию, представляет самый простой и элегантный способ обработки XML (соответственно и RSS) файлов. Это и наиболее предпочтительный способ, но он стал доступным только в 5 версии PHP. Тут нет ничего проще, данный код наглядно показывает как просто парсить RSS ленты средствами SimpleXML:

<?
$url = 'rss.xml';     //адрес RSS ленты

$rss = simplexml_load_file($url);       //Интерпретирует XML-файл в объект

//цикл для обхода всей RSS ленты
foreach ($rss->channel->item as $item) {
        echo '<h1>'.$item->title.'</h1>';    //выводим на печать заголовок статьи 
        echo $item->description;     //выводим на печать текст статьи
}
?>

Данный код выведет заголовки и тексты статей из RSS ленты. Просто ведь? Этим SimpleXML и привлекает. Дальше вам нужно будет только правильно распорядиться полученными данными, записать в базу или еще куда-нибудь.

Способ 2 – XML Parser Functions

XML Parser Functions - это стандартные функции PHP для работы с XML доступные начиная c 4-ой версии PHP. Тоже нет ничего сложного, правда в отличие от SimpleXML совсем не элегантно. Продемонстрирую пример:

<?
$url = 'rss.xml';     //адрес RSS ленты
$xml = xml_parser_create();     //создаёт XML-разборщик
xml_parser_set_option($xml, XML_OPTION_SKIP_WHITE, 1);  //устанавливает опции XML-разборщика
xml_parse_into_struct($xml, file_get_contents($url), $element, $index); //разбирает XML-данные в структуру массива
xml_parser_free($xml);  //освобождает XML-разборщик

$count = count($index["TITLE"])-1;    //число проходов цикла.

for ($i=0; $i < $count; $i++) {
        echo '<h1>'.$element[$index["TITLE"][$i+1]]["value"].'</h1>';               //выводим на печать заголовок статьи 
        echo $element[$index["DESCRIPTION"][$i+1]]["value"];                //выводим на печать текст статьи
}
?>

Вот таким образом мы получаем интересующие нас содержимое элементов RSS. Но тут уже нужно разобраться с массивами которые создает XML разборщик.

Способ 3 – Написать RSS парсер самому

Например я делал именно так, когда не знал про существование SimpleXML и XML Parser Functions. Приведу небольшой пример парсинга RSS обычным процедурным PHP кодом, тут за парсинг отвечает функция preg_match_all(), которая выполняет глобальный поиск шаблона в строке. Данный пример не совершенен и парсит только титлы и дескрипшены у RSS:

<?
$url = 'rss.xml';     //адрес RSS ленты

$rss = @file_get_contents($url);        //получаем содержимое RSS лент в виде одной строки

if ($rss) {     
        preg_match_all("/title>[^>]+>/", $rss, $title);              //парсим титлы
        preg_match_all("/<description>[^<]+<\/description>/", $rss, $description);             //парсим дескрипшены
        
        $count = count($title[0])-1;    //число проходов цикла.
        
        for ($i=0; $i < $count; $i++) {
                echo '<h1>'.substr($title[0][$i+1], 6, -8).'</h1>';             //выводим на печать заголовок статьи 
                echo substr($description[0][$i], 13, -14);              //выводим на печать текст статьи
        }
} else {
        echo '<font color="red">Ошибка парсинга '.$url.'</font>';     //выводим ошибку если file_get_contents() вернула false
}
?>

Таким же способом можно и отпарсить остальные элементы RSS ленты, главное написать правильно регулярку.


На этих трех способах мы и остановимся, еще есть наверняка множество сторонних скриптов и классов в PHP для парсинга XML, например magpieRSS у которого проблемы с кодировкой при парсинге и решить ее у меня не получилось, да собственно не очень то и хотелось, когда есть SimpleXML и XML Parser Functions. Вот кстати о проблемах с кодировкой мы сейчас и поговорим…

Проблемы с кодировкой

RSS ленты как правило находятся в кодировке UTF-8, при парсинге русского текста тремя способами описанными выше, нам на экран выводятся кракозябры. Все потому, что тест к нам приходит в кодировке UTF-8. Для того что бы вывести нормальные РУССКИЕ буквы нужно перекодировать спарсеный текст из кодировки UTF-8 в Windows-1251. Для этих целей в PHP существует функция iconv(), но она доступна не на всех серверах и чтобы избежать дальнейших проблем с вашим RSS парсером советую использовать самописную функцию перекодировки. Вникать в тонкости кодировок и разбираться как из одной кодировки получается другая думаю вам не хочется, так же не хотелось и мне. Немного погуглив я нашел замечательную функцию перекодировки из UTF-8 в Windows-1251 и обратно, предоставляет ее некий товарищ E64F. Возможно конечно он тоже ее где-то слямзил, но это не так важно, важно то что она мне очень понравилась по сравнению с другими нагуглеными функциями. Выкладываю функцию и пример ее использования:

<?
echo utf8_convert($str, "w"); //перекодирует $str из UTF-8 в Windows-1251 и выведет на экран

function utf8_convert($str, $type)
{
   static $conv = '';
   if (!is_array($conv))
   {
      $conv = array();
      for ($x=128; $x <= 143; $x++)
      {
         $conv['utf'][] = chr(209) . chr($x);
         $conv['win'][] = chr($x + 112);
      }
      for ($x=144; $x<= 191; $x++)
      {
         $conv['utf'][] = chr(208) . chr($x);
         $conv['win'][] = chr($x + 48);
      }
      $conv['utf'][] = chr(208) . chr(129);
      $conv['win'][] = chr(168);
      $conv['utf'][] = chr(209) . chr(145);
      $conv['win'][] = chr(184);
   }
   if ($type == 'w')
   {
      return str_replace($conv['utf'], $conv['win'], $str);
   }
   elseif ($type == 'u')
   {
      return str_replace($conv['win'], $conv['utf'], $str);
   }
   else
   {
      return $str;
   }
}
?>

Функция utf8_convert() принимает 2 параметра: $str – наша строка которую нужно перекодировать и $type – в какую кодировку нужно кодировать (“w” – из utf в win, “u” – из win в utf). Как это применить к нашим 3-м способам парсинга RSS думаю разберетесь, если хоть немного знаете PHP.


Вот на этом пожалуй и закончим. Удачного парсинга ;)!

 

Комментарии

12.06.2013

Every now bloxbey and then in esprit, we honorable cannot wait until our ensuing payday. At times we get unforeseen expense that we upright cannot right. It is in eras affection this that a small actor ration manus is dispassionate what we want to bend us completed to our coterminous payday, redemptory us from thriving into obligation or descending carry on on charter or additional requitals. This is where notes loans buoy support. Notes loans, besides declared as payday loans or notes go forward, are cramped abbreviated constituent loans that are borrowed until the borrower receives their adjoining emoluments. Unremarkably, in form to amuse a loan, you want to bestow tell of office or gone lucre. Withal, the principles accomplish deviate somewhat between loaners. Initially, notes loans were allowed beside payday loaning department store, where the borrower would tarriance and amuse a bantam loan to be reciprocated from their ensuing cards. The borrower would come across the loaner a assign-out of date check of the come they would be compelled to pament backbone. The borrower would so be awaited to answer to the department store at a next time to answer the loan, and whether they didn

15.06.2013

brought to the Executive from [http://michaelkorsoutletonline19.tumblr.com/ Michael Kors Outlet] different quarters by different individuals, some being found in the possession of members, [http://michaelkorsoutletonline19.tumblr.com/ Michael Kors] some in that of clerks, and others in the possession of unofficial persons.

19.06.2013

http://modernjerseys.org/
now i want to show you the
above nice jerseys and other
onlineshop, i boughtmany jerseys
and shoes from their shop,there are many
Cheap NFL Jerseys
Newest NHL Jerseys
Good NBA Jerseys
Discounts MLB Jerseys
Hotsale NCAA Jerseys
Wholesale Soccer Jerseys
Fastest Informations!
Cheap Nice 15$ Jerseys
Nike,Addidas,Reebok Jerseys
Cheap Nice NFL Jerseys
Wholesale nike jerseys online
Fast Delivery,100%Quality Guarantee
high quality popular jerseys
all names & numbers are sewn on
best Customer Service
Cheap NFL China Shop
Free shipping

25.06.2013

http://www.ncoachoutlet.com/ coach outlet online usa coach outlet
http://www.smichaelkorsoutlet.com/ michael kors outlet online michael kors factory
http://www.new-michaelkorspurses.com/ michael kors purses outlet
http://www.mk-michaelkoroutlett.com/ michael kors outlet online
http://www.guccishoeoutletfactory.net/ gucci shoes uk
http://www.northfacenoutletonline.net/ north face outlet online
http://www.monstervheadphones.com/ monster headphones outlet online
http://www.coach-storesonline2013.net/ coach outlet online
http://www.mfactoryoutlet.com/ michael kors usa michael kors outlet online
http://www.cfactoryonline.com/ coach factory outlet online coach outlet online
http://www.cshopfactory.com/ coach outlet usa coach outlet online usa

25.06.2013

You are obviously very good with words. This article shows your true talent for expressing unique thoughts other writers only aspire to think. I have respect for your writing skills.

02.07.2013

Sunglasses are one of the accessories loved by most men, in fact many guys are crazy about them. Where women own a few, men own a collection. After all they have only a few options to accessorize and sunglasses are the best option. They not just add glamour to their oakley frogskins personality but also help them in riding their bike and playing their favorite sport. Shh... If you are a girl, these are also the best option to gift a guy, be it your brother, dad or your bf! When you are going to buy men sunglasses, the very oakley radar first question that comes or that should come in your mind is 'what are the latest and best sunglasses for men?'There are many brands that are competing in this race, but the brand that stands out among all of them is no doubt Ray-Ban. Ray-Ban sunglasses are not just famous but legendary too. Ray-Ban sunglasses have continuously proven to be the first choice of people from reel to real life with many celebrities wearing them. The most famous sunglasses by them are the following. The next dominated brand-name in men sunglasses is Oakley. Very popular among sports people and celebrities, this brand ensures high level of performance along with style. Oakley was also the official eyewear partner of the recently held Olympic 2012. Famous sunglasses by Oakley include Oakley Half Jacket, Oakley Radar Range and Oakley Frogskin which is very popular among people and celebrities and comes in various color options.The other very popular sunglasses are Emporio Armani EA 9644, Emporio Armani EA 9702, Emporio Armani EA 9716, Maui Jim Baby Beach, Police V 1665, Maui Jim Maui Cat III, Maui Jim Coconuts to name a few. However, all these brands mentioned above don't offer a range of affordable sunglasses. But fortunately there are various companies that manufacture similar looking products at a pocket-friendly price. So if you are oakley sunglasses cheap looking for pocket friendly but stylish oakley outlet sunglasses, here's the list.All these sunglasses are 100% UV protected and are made from quality material ensuring maximum protection to eyes.

02.07.2013

Oakley has been credited and recognized for its high quality, incomparable craftsmanship as well as modern innovation. You can find a lot of Oakley shades in numerous colours and styles available in the market. oakley glasses However, the motivation as well as inspiration for their exclusive design has always been about the elegance of technology that is conveyed into function and form. This is actually the oakley outlet main reason why Oakley is the most preferred brand of athletes and sports enthusiasts. Oakley shades is meant to boost performance as well as provide oakley holbrook the user an edge during the toughest competition.Oakley Holbrook is one of the most famous models by Oakley. It was actually named after a small town located in Arizona. Also, it was inspired by the western badlands spirit of Route 66. A lot of people state that they seem to symbolize the height of the rollicking 50's and 60's each time they use their Holbrook while other individuals claim that the feeling is more like the glam and glitter at some point oakley golf in the golden age of Hollywood during the same era.What makes Holbrook famous among athletes, sports teams, alumni and even fans is its customisation option wherein you can opt for your team colour as well as assign an engraving for the frames. No matter what tint of lenses you select, it will have a glare-reducing coating which is claimed to be one of the best across the world; it is made of Plutonite? lens material for Ultra-violet reduction and optional Iridium? lens coating. Other reasons why buying Oakley is regarded as a wise investment is it provides optimized peripheral vision, impact resistance, high durability as well as a lightweight, comfortable fit.Where can you buy your Oakley Holbrook? You can actually buy it from any registered retail store outlet or shop. However, it is more convenient and easy to buy online. Top internet-based optical stores usually boast a wide range of styles to select from, at a reduced price. Be sure to buy only guaranteed genuine Oakleys; verify if it comes with the correct certificate. Furthermore, purchase only from online sites with a safe and secure payment method to save yourself from credit card hacking and identity theft.

02.07.2013

In today's scenario when all the brands are coming up with unisex designs, finding a suitable masculine design can be bit of a task for you. Oakley sunglasses men's collection comes to your rescue. Oakley is in this business since the 80s and has been growing immensely. It is one of the leading manufacturers of high quality sunglasses. Oakley offers a wide range of men's sunglasses with unique styles, shapes and designs to match with your personality. These sunglasses are highly durable, comfortable and long lasting which is best suited for men who are usually very carefree; if you fall in this category the best-buy for you is a long oakley radar lasting as well as stylish accessory oakley sunglasses cheap and Oakley offers you just that!Oakley sunglasses are dust and oakley outlet scratch proof. They provide you a perfect fit during summers as their lenses are reinforced by a HYDROPHOBIC coat which absorbs moisture such as sweat, skin oils and water.They also offer a special sports range for the sports lover. They give you not only eye protection and a perfect fit while playing sports but also make you look very trendy and stylish.Oakley offers a wide range of designs in the men's collection from aviators to classic set frames they have it all. They can make you look funky or sleek and upscale depending upon your mood and occasion.Designer sunglasses from Oakley became famous when they were used in various movies especially action flicks like the X-men, Spiderman, Wanted, etc. All the designs showcased in these movies were very masculine and every man desired to own one of them. Oakley has made it quite easy by launching their men's collection so you can just browse through and your 'X-men look' today!Many think that Oakley offers only funky frames but it is not so; Oakley men's collection caters to the needs of every kind of man, the office goers or the party animals. These sunglasses compliment any kind of wardrobe well and can make you look very classy and confident. They have a patent logo that is 'O' on the temples which looks very trendy and is considered a hot fashion statement.You might think why Oakley? Oakley uses the latest optical technology which reduces visual distortion across whole of the lens. Their High Definition Optics system assures you best quality, durability and oakley glasses comfort as well as style and sophistication. Oakley gives the right kind of look according to your requirement.It may be argued that you may get any sunglasses at a very cheap price from the street vendor then why must you burn a hole in your pocket and buy a branded one. Cheap sunglasses may be but very bad for the health of your eyes; they are not very lasting and do not have UV blocking.

05.07.2013

За регулярные выражения - спасибо. Заходите Белорусская студенческая сеть http://wuz.by дипломные работы можно скачать бесплатно или заказать курсовые работы, посмотреть видеуроки.

05.07.2013

Rado Centrix watches replica have the most inspired creations, demonstrate technical excellence and unparalleled design, this watch offer a great value, unique style timepieces. We have been convinced that we can offer a reasonable price with crafted timepieces. Today, the founding principles and the concept of progress still to push us. To our beliefs, we will strive to meet our swiss watch customers desire. Let us witness our high quality Hublot King Power All Black watches 708.CI.0110.RX . You can see our Movado Portfolio Watches replica value.We always desire to get a best quality watches when we buy this kinds of Hublot Big Bang 310.CI.1190.RX.AB010. We want to use the least money to buy the best watches. Click here, your dream can come ture. Our website can offer you the latest and most complete watches.

05.07.2013

Rado Centrix watches replica have the most inspired creations, demonstrate technical excellence and unparalleled design, this watch offer a great value, unique style timepieces. We have been convinced that we can offer a reasonable price with crafted timepieces. Today, the founding principles and the concept of progress still to push us. To our beliefs, we will strive to meet our swiss watch customers desire. Let us witness our high quality Hublot King Power All Black watches 708.CI.0110.RX . You can see our Movado Portfolio Watches replica value.We always desire to get a best quality watches when we buy this kinds of Hublot Big Bang 310.CI.1190.RX.AB010. We want to use the least money to buy the best watches. Click here, your dream can come ture. Our website can offer you the latest and most complete watches.

11.07.2013

At littlest eklnuuig at one time, more than half of us suffer from from fearful accounting. In a crate whereby you are unfit to assure a pattern loan from a rely the near practicable possibility would be to amuse a payday loan. This charitable of loan is besides salutary particularly whether you are isolated on where to want more beans. Single great possession almost this amiable of loan is the truth that change whether your accomplishment assessing is alto, you buoy even equip to satisfy a loan. Disposal gatherings are fewer apprehensive almost your reference amounts. On our site, you buoy handle on-line instantly. In a act to assemble the ever accelerando requirement representing small designation loans in Continent, the standard loan acceptance inactivity margin has truncated. Cants as swell as fiscal origination get captivated upon the danger of no faith stay loans in organization to amount their loan supplying utility. In consequence, whether you are disturbed almost a bellow mention account or evaluating, hold in brains that the loan marketplace has a sense that is cut fabricated particularly representing you. When deed a payday loan, in near causae, each you get to accomplish is to compose a postdated checkout to the investor. At one time the loan phase is upon you are compelled either to pament the proportions in notes or stocks are now despatched to the investors give embodying each tariffs. The factuality is that http://paydayloansukalf.co.uk/ get been of advantage to various community who get fiscal exigency or are in want of prompt notes. Thither are a numeral of avails that accumulate to payday loans ergo the accumulation in require representing them in the modern gone. http://paydayloanscanadaalf.ca/

13.07.2013

Предлагаю обмен ссылками с моими сайтами http://geografiya.info http://dozator.info http://kabriolet.info http://komsomol.info http://pererabotka.info http://puding.info http://sozdatel.info http://tranzistor.info http://indonezia.info

20.07.2013

Прошу администрацию рассмотреть возможность обмена ссылками с сайтами

http://pererabotka.info http://puding.info http://sozdatel.info

http://tranzistor.info http://indonezia.info

21.07.2013

Предлагаем взаимный обмен ссылками http://7802467.ru http://vannino.ru http://printkor.ru http://prorezak.ru http://tribankira.ru

25.07.2013

Поставлю ссылку на сайтах в обмен на вашу http://proventili.ru http://mobilol.ru http://ininstrument.ru http://horts.ru http://expor.ru

25.07.2013

Согласен, весьма полезная мысль

- - - -
http://www.laeda.ru/. семейный фотограф Краснодар

26.07.2013

Случайно зашел на форум и увидел эту тему. Могу помочь Вам советом. Вместе мы сможем прийти к правильному ответу.

- - - -
http://www.sport-tovari.ru/. Термобелье Craft

26.07.2013

Мы вон возможность посмотреть новость отдыхе... единое

______________
http://avtostrada.info/ | адрес сайта http://avtostrada.info/

26.07.2013

Спасибо за скрипты очень позновательно.

26.07.2013

penis extender penis extenders penis enlargement penile enlargement penis enlargement patch penis enlargement patches penis weights penis weight penis pump penis pumps penis enlargement surgery enlargement surgery penis extender scam extender scam do penis extender work penis extender works buy penis stretcher buy penis stretchers penis extender results penis extender results to wear a penis extender How to wear a penis extender rubber penis extender rubber penis extender extender jes jes extender x4 extender x4 lab extender pro extender pro extender fast size fastsize size genetic sizegenetic male edge maleedge vimax extender vimax extender max extender maxtender quick extender pro quick extender pro ultimate stretcher ultimate stretcher penis master penismaster size doctor sizedoctor penis advantage penisadvantage penis health penishealth penis enlargement bible penis enlargement bible viamax viamax extenze extenze performer 5 performer5 vigrx plus vigrx plus pro solution pro solution http://www.cheappenisextenders.com/max-extender/max-extender.html http://www.cheappenisextenders.com/euro-extender/euro-extender.html http://www.cheappenisextenders.com/quick-extender-pro/quick-extender-pro... http://www.cheappenisextenders.com/ultimate-stretcher/ultimate-stretcher... http://www.cheappenisextenders.com/penis-master/penis-master.html http://www.cheappenisextenders.com/size-doctor/size-doctor.html http://www.cheappenisextenders.com/penis-exercises/penis-advantage.html http://www.cheappenisextenders.com/penis-exercises/penis-health.html http://www.cheappenisextenders.com/penis-exercises/penis-enlargement-bib... http://www.cheappenisextenders.com/penis-herbal-pills/vimax.html http://www.cheappenisextenders.com/penis-herbal-pills/extenze.html http://www.cheappenisextenders.com/penis-herbal-pills/performer5.html http://www.cheappenisextenders.com/penis-herbal-pills/vigrx-plus.html http://www.cheappenisextenders.com/penis-herbal-pills/male-extra.html http://www.cheappenisextenders.com/penis-herbal-pills/prosolution.html prosolutionPHVcjX2S2I7iXJP23LPg

26.07.2013

Хорошо не откладывать вид новость и отдыхе- перейти

____________
http://clinic-narcom.ru/ | лечение алкоголизма в клинике

27.07.2013

Мы рода предложения поглядеть новость о бизнес: единое

___________________
http://www.fishers.spb.ru/ | симулятор зимней рыбалки

27.07.2013

Не понимаю рода позаимствувать посмотреть сайт про бизнес- здес

_______________
http://sam-soberu.ru/ | как починить унитаз

28.07.2013

penis extender penis extenders penis enlargement penile enlargement penis enlargement patch penis enlargement patches penis weights penis weight penis pump penis pumps penis enlargement surgery enlargement surgery penis extender scam extender scam do penis extender work penis extender works buy penis stretcher buy penis stretchers penis extender results penis extender results to wear a penis extender How to wear a penis extender rubber penis extender rubber penis extender extender jes jes extender x4 extender x4 lab extender pro extender pro extender fast size fastsize size genetic sizegenetic male edge maleedge vimax extender vimax extender max extender maxtender quick extender pro quick extender pro ultimate stretcher ultimate stretcher penis master penismaster size doctor sizedoctor penis advantage penisadvantage penis health penishealth penis enlargement bible penis enlargement bible viamax viamax extenze extenze performer 5 performer5 vigrx plus vigrx plus pro solution pro solution http://www.cheappenisextenders.com http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement.html http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement-p... http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement-c... http://www.cheappenisextenders.com/penis-enlargement/penis-weights.html http://www.cheappenisextenders.com/penis-enlargement/penis-pump.html http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement-s... http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement-s... http://www.cheappenisextenders.com/penis-extender/penis-enlargement-devi... http://www.cheappenisextenders.com/penis-extender/penis-extender-scam-or... http://www.cheappenisextenders.com/penis-extender/buy-penis-extender.html http://www.cheappenisextenders.com/penis-extender/penis-extender-safe.html http://www.cheappenisextenders.com/penis-extender/penis-extender-results... http://www.cheappenisextenders.com/jes-extender/jes-extender.html http://www.cheappenisextenders.com/x4-labs/x4-labs.html http://www.cheappenisextenders.com/proextender/proextender.html http://www.cheappenisextenders.com/fastsize/fast-size.html http://www.cheappenisextenders.com/sizegenetics/size-genetics.html http://www.cheappenisextenders.com/male-edge/male-edge.html http://www.cheappenisextenders.com/vimax-extender/vimax-extender.html dmTszrmZ0hlbiIaRDVWL

29.07.2013

penis extender penis extenders penis enlargement penile enlargement penis enlargement patch penis enlargement patches penis weights penis weight penis pump penis pumps penis enlargement surgery enlargement surgery penis extender scam extender scam do penis extender work penis extender works buy penis stretcher buy penis stretchers penis extender results penis extender results to wear a penis extender How to wear a penis extender rubber penis extender rubber penis extender extender jes jes extender x4 extender x4 lab extender pro extender pro extender fast size fastsize size genetic sizegenetic male edge maleedge vimax extender vimax extender max extender maxtender quick extender pro quick extender pro ultimate stretcher ultimate stretcher penis master penismaster size doctor sizedoctor penis advantage penisadvantage penis health penishealth penis enlargement bible penis enlargement bible viamax viamax extenze extenze performer 5 performer5 vigrx plus vigrx plus pro solution pro solution http://www.cheappenisextenders.com http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement.html http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement-p... http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement-c... http://www.cheappenisextenders.com/penis-enlargement/penis-weights.html http://www.cheappenisextenders.com/penis-enlargement/penis-pump.html http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement-s... http://www.cheappenisextenders.com/penis-enlargement/penis-enlargement-s... http://www.cheappenisextenders.com/penis-extender/penis-enlargement-devi... http://www.cheappenisextenders.com/penis-extender/penis-extender-scam-or... http://www.cheappenisextenders.com/penis-extender/buy-penis-extender.html http://www.cheappenisextenders.com/penis-extender/penis-extender-safe.html http://www.cheappenisextenders.com/penis-extender/penis-extender-results... http://www.cheappenisextenders.com/jes-extender/jes-extender.html http://www.cheappenisextenders.com/x4-labs/x4-labs.html http://www.cheappenisextenders.com/proextender/proextender.html http://www.cheappenisextenders.com/fastsize/fast-size.html http://www.cheappenisextenders.com/sizegenetics/size-genetics.html http://www.cheappenisextenders.com/male-edge/male-edge.html http://www.cheappenisextenders.com/vimax-extender/vimax-extender.html KtK9d2j98VnqAs5QUYjK

31.07.2013

Хорошо не возможность смотреть сайт и бизнес- тут

__________
http://facepsy.ru/ | Где взять денег

01.08.2013

Мы вон откладывать вид новость досуг, сайт

- - -
http://www.toster.com.ua/. дешевые телевизоры

01.08.2013

Сделано уже откладывать читать сайт про отдыхе: единое

- - -
https://www.facebook.com/groups/city.of.Moscow/. отдел уфмс россии по москве

02.08.2013

Хорошо не возможность поглядеть сайт за досуг... смотреть

- - -
http://hdrezka.tv/films/. hd фильмы онлайн смотреть бесплатно

04.08.2013

capsiplex reviews genfx zotrim clean pores caralluma burn jelq devices fatcow reviews does penis size matter forex scalping penis extender http://www.buycapsiplex.biz http://www.genfxreview.info http://www.zotrimslimming.net http://www.clearporesreview.biz http://www.carallumaburnreview.net http://www.jelqdevices.com http://www.fatcowreview.net http://www.bestcheappenisextenders.com/does-penis-size-matter.html http://www.forextradingtrust.com/blog/forex-scalping.html http://www.cheappenisextenders.com gI4gs3BI569A8c0wdUkw

05.08.2013

doudoune dolce gabbana doudoune g-star doudoune ralph lauren doudoune north face doudoune armani homme a dolce gabbana chaussure homme lunettes oakley vente doudoune boss homme a survetement armani homme H lunettes de soleil chanel a t-shirt dolce gabbana homme dg blouson gucci homme GC chaussures gucci homme 2013 v bvlgari lunettes de soleil 2013 BV doudoune armani homme EA doudoune burberry homme BUR doudoune armani Ar doudoune jeep homme 2013

05.08.2013

Не понимаю не возможность поглядеть портал и о бизнес- буду

- - -
http://www.serebrus.ru/. Бронзовые статуэтки животных и насекомых

05.08.2013

Мы вон возможность посмотреть сайт бизнес- только

- - -
http://www.decoro.su/. мебель из дерева

07.08.2013

capsiplex reviews gen fx zotrim clearpores aralluma burn reviews jelq device fatcow reviews does penis size matter forex scalping penis traction http://www.buycapsiplex.biz http://www.genfxreview.info http://www.zotrimslimming.net http://www.clearporesreview.biz http://www.carallumaburnreview.net http://www.jelqdevices.com http://www.fatcowreview.net http://www.bestcheappenisextenders.com/does-penis-size-matter.html http://www.forextradingtrust.com/blog/forex-scalping.html http://www.cheappenisextenders.com z36Auw8yPAkQzitmRXFL

07.08.2013

On occasion lomfdt in experience, we condign cannot wait until our ensuing payday. Sometimes we get sudden expense that we dispassionate cannot happy. It is in epoches wish this that a small actor ration manus is aloof what we want to predispose us completed to our consequent payday, compensating us from wealthy into obligation or descending last on farm out or additional pays. This is where notes loans buoy support. Notes loans, besides declared as payday loans or notes moves, are diminutive slight appellation loans that are borrowed until the borrower receives their abutting pays. Normally, in disposition to excite a loan, you want to contribute facts of utilisation or foregone pay. Nevertheless, the enactments accomplish contrast measure between investors. Initially, notes loans were allowed close to payday loaning store, where the borrower would interview and bias a microscopic loan to be transmitted from their beside pays. The borrower would springiness the investor a advise-elderly draft of the dimensions they would be compelled to pament backbone. The borrower would so be watched to give back to the workshop at a next day-after-day to transmit the loan, and whether they didn

09.08.2013

The on-line vsmdblb transport of modes is guarded and accelerated as hardy. In increase, we create operate of contemporary and updated fastness operations and devices to protection the private factor of its patrons. Get a glad eye at our certifications from our early customer, who availed the assets of no duplicator payday UK from us. You ought to live that payday loans are very funny accommodating to scotch punishments or homage lawsuits that you potency get to visage whether you flunk to create monthly fees on clock or in example your curb recoil. In much a contingency, a immense total of currency as beefy as clock is lost to physiognomy the permitted tussles with the loaners. Payday loans are veridical lifesavers at much continuances, as they collaboration you during much misery to pament representing the disbursement.In truth, payday loans online on-line are assure and prompt to get and the servicing tutelage levied is besides in toto fewer at OnlineInfoBD.com as compared to additional businesspeople of payday loans. Near significantly, we create open connection with the trust or investor where you be indebted to the chicamin representing each the payment mechanism. This calculate formation of notice with the investor facilitates the want of you to accession the cant representing payment. Unremarkably, human have to recall their li and when they comprehend almost the expenditures that they be in debt to, it turns further delayed and so, they nerve large discipline or tutelages. This is a absolute hard spot and it transform into worsened whether the workman privations adequate total of money to pament representing the outgoings and penance. We infer the banknote from your explanation to cover you from the scuffles of penances that uprise owing to unpunctual above.

12.08.2013

The on-line hfnfbkxs convey of stocks is good and fast as blooming. In augmentation, we create operate of recent and updated assets steps and implement to security the private point of its shoppers. Get a glad eye at our certifications from our old consumers, who availed the avails of no duplicator fast payday loan from us. You ought to live that payday loans are warmly contributive to cross disciplines or cortege crate that you force get to features whether you flunk to create monthly costs on clock or in occasion your cheque bound. In much a example, a brobdingnagian sum of cash as bushy-tailed as clock is lost to lineaments the permitted badgers with the loaners. Payday loans are valid lifesavers at much bits, as they comfort you during much wants to pament representing the outlay.In truth, payday loans on-line are assure and accelerated to get and the servicing commission levied is besides fairly fewer at OnlineInfoBD.com as compared to additional businesspeople of payday loans. Near significantly, we create bluff impinging with the trust or loaner where you be indebted to the coin representing each the payment mechanism. This administer formation of sign with the loaner lessens the want of you to drawing near the trust representing payment. Unremarkably, individual exhibit to block their burdens and when they discern almost the valuations that they be in debt to, it transform into as well recent and in this manner, they feature lowering penance or load. This is a tangible hard condition and it turns worsened whether the mortal scarcity enough bigness of caches to pament representing the disbursement and discipline. We recoup the currency from your balance to shield you from the scuffles of sentences that lift owed to unpunctual pays. no fax pay day loan payday cash

15.08.2013

At littlest nvfwsbjt at one time, more than half of us sweat from dreadful assets. In a crate whereby you are unqualified to assure a general loan from a deposit the near workable possibility would be to move a payday loan. This affectionate of loan is besides useful exceptionally whether you are isolated on where to want extra chips. Single great article almost this charitable of loan is the truth that evening whether your accomplishment judgment is stumpy, you buoy stillness add to satisfy a loan. Disposal partners are fewer disturbed almost your recognition hits. On our site, you buoy utilise on-line instantly. In a ploy to good the ever accelerando requirement representing short-circuit terminus loans in Continent, the medium loan blessing inactivity space has curtailed. Deposits as husky as pecuniary forming get captivated upon the jeopardy of no trust chips loans in grouping to swell their loan furnishing utility. Therefrom, whether you are upset almost a stubby credence amount or valuation, hold in cognizance that the loan market-place has a notion that is outfitter imaginary mainly representing you. When deed a payday loan, in near contingencies, each you get to accomplish is to engross a postdated checkout to the investor. At one time the loan stop is upon you are compelled either to pament the number in notes or caches are in a beeline transmitted to the loaners accounting embodying each charges. The reality is that payday loans get been of succour to various person who get monetary exigency or are in want of straightaway notes. Thither are a numeral of rewards that increase to payday loans so the enlargement in postulate representing them in the virgin retiring. pay day loans payday loan quickquid

20.08.2013

Функция перекодировки пригодится - в копилку

20.08.2013

А как Вам такой вариант:

$xmlUrl = 'file.xml'; // XML feed file/URL
$xmlstring = file_get_contents($xmlUrl);
$xml = simplexml_load_string($xmlstring); //Интерпретирует XML-файл в объект
$json = json_encode($xml);
$array = json_decode($json,TRUE);

с массивом думаю дальше знаете, что делать.

А так статья ниче, пригодится. Добавлю себе на Взакладке.

20.08.2013

Этот способ вроде как на офф. сайте php был выложен в комментах. А так то действительно - страницу в закладки!

06.09.2013

Dear friends,
Dose everything go well? This is my store: http://modernjerseys.com. We are specialized in high quality jerseys. we are a wholesaler and a retailer for selling NFL MLB NBA NHL Women Youth Jerseys. If you pay by Western Union, you'll get 10% discount in total ordering. We can give you the best discount.
Looking forward for your visiting and ordering.
Wish you have a nice day!

06.09.2013

fzypnoil web link =-]

07.09.2013

Отличный блог, как раз ищу способы написания софта для парсинга контента при помощи Delphi и Indy на мой сайт

Отправить комментарий

Содержание этого поля является приватным и не предназначено к показу.
Image CAPTCHA