<?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>A K Chauhan's Blog &#187; curl</title>
	<atom:link href="http://www.akchauhan.com/tag/curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.akchauhan.com</link>
	<description>PHP, MySql, JavaScript, JQuery, Prototype, Drupal, HTML, CSS and more...</description>
	<lastBuildDate>Mon, 02 Jan 2012 03:29:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Verify the iTunes Account access information with the help of cURL</title>
		<link>http://www.akchauhan.com/verify-the-itunes-account-access-information-with-the-help-of-curl/</link>
		<comments>http://www.akchauhan.com/verify-the-itunes-account-access-information-with-the-help-of-curl/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 20:19:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[iTunes]]></category>

		<guid isPermaLink="false">http://www.akchauhan.com/?p=646</guid>
		<description><![CDATA[&#60;?php // URLs of iTunesconnect. $urlBase = 'https://itts.apple.com'; $urlWebsite = $urlBase . '/cgi-bin/WebObjects/Piano.woa'; &#160; // function to check finance role acounts validity. This function return true is the detail is still valid. function isAccountValid&#40;$username, $password&#41; &#123; global $urlBase, $urlWebsite; &#160; $html = curlRequest&#40;$urlWebsite, null&#41;; // First cURL request to get the login form &#160; preg_match&#40;'/&#34; [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #666666; font-style: italic;">// URLs of iTunesconnect.</span>
<span style="color: #000088;">$urlBase</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'https://itts.apple.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$urlWebsite</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$urlBase</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/cgi-bin/WebObjects/Piano.woa'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// function to check finance role acounts validity. This function return true is the detail is still valid.</span>
<span style="color: #000000; font-weight: bold;">function</span> isAccountValid<span style="color: #009900;">&#40;</span><span style="color: #000088;">$username</span><span style="color: #339933;">,</span> <span style="color: #000088;">$password</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$urlBase</span><span style="color: #339933;">,</span> <span style="color: #000088;">$urlWebsite</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$html</span> <span style="color: #339933;">=</span> curlRequest<span style="color: #009900;">&#40;</span><span style="color: #000088;">$urlWebsite</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// First cURL request to get the login form</span>
&nbsp;
	<span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/&quot; action=&quot;.*&quot;/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$html</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Search the form action URL because all URLs are dynamic</span>
&nbsp;
	<span style="color: #000088;">$urlActionLogin</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$urlBase</span> <span style="color: #339933;">.</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">,</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$postData</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'theAccountName'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$username</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'theAccountPW'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$password</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'1.Continue.x'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'1'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'1.Continue.y'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Creating the form POST data</span>
&nbsp;
	<span style="color: #000088;">$html</span> <span style="color: #339933;">=</span> curlRequest<span style="color: #009900;">&#40;</span><span style="color: #000088;">$urlActionLogin</span><span style="color: #339933;">,</span> <span style="color: #000088;">$postData</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Second cURL request with form data for login</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$html</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Report Options'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;">// If the return HTML contain 'Report Options' text then its successful login</span>
		<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// function send the curl request on given URL with post variables and return the html output</span>
<span style="color: #000000; font-weight: bold;">function</span> curlRequest<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #339933;">,</span> <span style="color: #000088;">$postVars</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_null</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$postVars</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
		<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_POST<span style="color: #339933;">,</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$postVars</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 		<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_POSTFIELDS<span style="color: #339933;">,</span> <span style="color: #990000;">http_build_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$postVars</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
 	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_FOLLOWLOCATION<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">TRUE</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
 	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">TRUE</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_SSL_VERIFYPEER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
 	<span style="color: #000088;">$html</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">curl_errno</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">curl_error</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$html</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Examples 01</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>isAccountValid<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'anil@test.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'test@anil'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;anil@test.com account is valid.&lt;br/&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;anil@test.com account is not valid.&lt;br/&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Examples 02</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>isAccountValid<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'invalid_address@test.com'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wrong_password'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;invalid_address@test.com account is valid.&lt;br/&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;invalid_address@test.com account is not valid.&lt;br/&gt;&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.akchauhan.com/verify-the-itunes-account-access-information-with-the-help-of-curl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How use cURL library when running PHP through Command Line</title>
		<link>http://www.akchauhan.com/how-use-curl-library-when-running-php-through-command-line/</link>
		<comments>http://www.akchauhan.com/how-use-curl-library-when-running-php-through-command-line/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 23:40:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[curl]]></category>

		<guid isPermaLink="false">http://www.akchauhan.com/?p=551</guid>
		<description><![CDATA[If you run any PHP code which using cURL extension through command line like this: c:\&#62;php somefile.php it might give error that &#8220;curl_init()&#8221; function is not defined. The reason is the cURL extension &#8220;php_curl.dll&#8221; is not loaded. So, to resolve this issue you can load cURL (or any extension) dynamically in your PHP code. The [...]]]></description>
			<content:encoded><![CDATA[<p>If you run any <strong>PHP code</strong> which using <strong>cURL extension</strong> through command line like this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">c<span style="color: #339933;">:</span>\<span style="color: #339933;">&gt;</span>php somefile<span style="color: #339933;">.</span>php</pre></div></div>

<p> it might give error that &#8220;<strong>curl_init()</strong>&#8221; function is not defined. The reason is the cURL extension &#8220;<strong>php_curl.dll</strong>&#8221; is not loaded. So, to resolve this issue you can load cURL (or any extension) dynamically in your PHP code. The &#8220;<strong>dl()</strong>&#8221; basically load PHP extension at <strong>runtime</strong>.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">dl</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;php_curl.dll&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">...</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.akchauhan.com/how-use-curl-library-when-running-php-through-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How upload file using cURL?</title>
		<link>http://www.akchauhan.com/how-upload-file-using-curl/</link>
		<comments>http://www.akchauhan.com/how-upload-file-using-curl/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 17:52:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[file upload]]></category>

		<guid isPermaLink="false">http://blog.akchauhan.com/?p=26</guid>
		<description><![CDATA[Here I am giving an example of how you can upload file using cURL in PHP. Code: &#60;?php $request_url = ‘http://www.akchauhan.com/test.php’; $post_params&#91;'name'&#93; = urlencode&#40;’Test User’&#41;; $post_params&#91;'file'&#93; = ‘@’.'demo/testfile.txt’; $post_params['submit'] = urlencode(’submit’); &#160; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $request_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_params); $result = curl_exec($ch); curl_close($ch); ?&#62; Here we have [...]]]></description>
			<content:encoded><![CDATA[<p>Here I am giving an example of how you can upload file using cURL in PHP.</p>
<p><strong>Code:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
	<span style="color: #000088;">$request_url</span> <span style="color: #339933;">=</span> ‘http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//www.akchauhan.com/test.php’;</span>
        <span style="color: #000088;">$post_params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'name'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span>’Test User’<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$post_params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'file'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> ‘<span style="color: #339933;">@</span>’<span style="color: #339933;">.</span><span style="color: #0000ff;">'demo/testfile.txt’;
        $post_params['</span>submit<span style="color: #0000ff;">'] = urlencode(’submit’);
&nbsp;
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $request_url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $post_params);
        $result = curl_exec($ch);
        curl_close($ch);
?&gt;</span></pre></div></div>

<p>Here we have first initialized the new CURL session using &#8220;<em>curl_init</em>&#8221; function.<em> </em>Then we have set few curl options for CURL session.</p>
<p>CURLOPT_URL: URL to fetch.</p>
<p>CURLOPT_POST: TRUE to regular HTML POST.</p>
<p>CURLOPT_RETURNTRANSFER: <tt class="constant"><strong>TRUE</strong></tt> to return the transfer as a string of the  return value of <strong>&#8220;curl_exec&#8221;</strong><a href="function.curl-exec.html"><strong class="function"></strong></a> instead of outputting it out directly.</p>
<p>CURLOPT_POSTFIELDS: The full data to post in a HTTP &#8220;POST&#8221; operation.</p>
<p>You can also set more options as per your requirement but these are the minimum require options for file upload. You can find more information about these options in PHP manual.</p>
<p>Then execute the CURL session through &#8220;curl_exec&#8221; function. This function will return the output of request.</p>
<p>Here the tricky part is &#8216;@&#8217; symbol before file name. CURL automatically upload the give file to server or requested URL when it find the &#8216;@&#8217; symbol in starting of file name.</p>
<p><strong>Note:</strong> If you try this code on localhost under windows operating system then you might get the error message &#8220;CURL is failed to created the post data&#8221;. But this code is work fine under Linux environment. So, try this on your server.</p>
<p>The requested file &#8220;test.php&#8221; consider this request as simple POST FROM request. Like if you use this form for request.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">method</span><span style="color: #66cc66;">=</span>”post” <span style="color: #000066;">action</span><span style="color: #66cc66;">=</span>”test.php” <span style="color: #000066;">enctype</span><span style="color: #66cc66;">=</span>”multipart<span style="color: #66cc66;">/</span>form-<span style="color: #000066;">data</span>”&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span>”<span style="color: #000066;">text</span>” <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span>”<span style="color: #000066;">name</span>” <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span>”Test User” <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span>”file” <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span>”file” <span style="color: #66cc66;">/</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span>”submit” <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span>”submit” <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span>”submit” <span style="color: #66cc66;">/</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">form</span>&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.akchauhan.com/how-upload-file-using-curl/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

