<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Блог SEO-шника &#187; javascript</title>
	<atom:link href="http://myseoincome.ru/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://myseoincome.ru</link>
	<description>Ближайшая цель: 2000$/мес</description>
	<lastBuildDate>Mon, 07 Jun 2010 05:54:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Спамер ucoz`а</title>
		<link>http://myseoincome.ru/2009/04/spamer-ucoz/</link>
		<comments>http://myseoincome.ru/2009/04/spamer-ucoz/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 11:13:17 +0000</pubDate>
		<dc:creator>koder</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Скрипты]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[ucoz]]></category>
		<category><![CDATA[капча]]></category>

		<guid isPermaLink="false">http://myseoincome.ru/?p=232</guid>
		<description><![CDATA[Где-то месяц назад решил как-то автоматизировать постинг сообщений в гостевые юкоза и разбирая их систему впервые натолкнулся на довольно интересный способ защиты.
Сообщение постилось при отправке запроса по адресу
http://$HOST/gb/
В запросе нужно было отдать все куки полученные при загрузке страницы и вот такой POST-массив:
$postdata = array(
	"id" =&#62; '/gb/',
	"name" =&#62; "[имя]",
	"message" =&#62; "[само сообщение]",
	"email" =&#62; "",
	"www"	=&#62; "",
	"code" =&#62; [...]<p>Источник: <a href="http://myseoincome.ru">Блог SEO-шника</a><br/><br/><a href="http://myseoincome.ru/2009/04/spamer-ucoz/">Спамер ucoz`а</a></p>
]]></description>
		<wfw:commentRss>http://myseoincome.ru/2009/04/spamer-ucoz/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Многострочные переменные и JavaScript</title>
		<link>http://myseoincome.ru/2009/02/javascript-text/</link>
		<comments>http://myseoincome.ru/2009/02/javascript-text/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 15:05:59 +0000</pubDate>
		<dc:creator>koder</dc:creator>
				<category><![CDATA[Скрипты]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://myseoincome.ru/?p=166</guid>
		<description><![CDATA[Небольшая заметка для программистов.
Появилась у меня необходимость сформировать кусок текста в PHP и вставить его в страницу средствами JavaScript.
Получилось что-то вроде
header('Content-type: text/javascript');
...
$msg = '....';
?&#62;
alert('');
И все бы хорошо,  но если $msg содержит переводы строки, то JavaScript не сработает, не понимает он многострочные переменные!
Выход нашел на php.net
function jsAddSlashes($str) {
$pattern = array(
"/\\\\/"  , "/\n/"    , "/\r/"    , "/\"/"    [...]<p>Источник: <a href="http://myseoincome.ru">Блог SEO-шника</a><br/><br/><a href="http://myseoincome.ru/2009/02/javascript-text/">Многострочные переменные и JavaScript</a></p>
]]></description>
		<wfw:commentRss>http://myseoincome.ru/2009/02/javascript-text/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
