<?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>Ask me Questions and get Answers ! &#187; Place</title>
	<atom:link href="http://askmetoo.com/tag/place/feed" rel="self" type="application/rss+xml" />
	<link>http://askmetoo.com</link>
	<description>Ask Questions and get Answers About everything for free!</description>
	<lastBuildDate>Wed, 21 Dec 2011 08:04:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Leave first image in text and cat length(howto)</title>
		<link>http://askmetoo.com/leave-first-image-in-text-and-cat-length.htm</link>
		<comments>http://askmetoo.com/leave-first-image-in-text-and-cat-length.htm#comments</comments>
		<pubDate>Wed, 28 Oct 2009 16:34:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Div]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[Place]]></category>
		<category><![CDATA[Text]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=130</guid>
		<description><![CDATA[This simple script makes good things! 1) leave first img tag 2) remove all another img tags 3) cut text by length So you get simple text short text with one image on it. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [...]]]></description>
			<content:encoded><![CDATA[<p>This simple script makes good things!<br />
1) leave first <strong>img</strong> tag<br />
2) remove all another <strong>img</strong> tags<br />
3) cut text by length<br />
So you get simple text short text with one image on it.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> cut_text<span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$alli</span> <span style="color: #339933;">=</span> catch_that_image<span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$alli</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$x</span><span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$alli</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #000088;">$alli</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">3</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span>
        <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span>strip_only<span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&lt;img&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$alli</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #cc66cc;">700</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$x</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">700</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$y</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strrpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$x</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$y</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">'&gt;...'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$x</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> catch_that_image<span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$output</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/&lt;img.+src=[\'&quot;]([^\'&quot;]+)[\'&quot;].*&gt;/i'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$x</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: #339933;">@</span><span style="color: #000088;">$first_img</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$matches</span> <span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$imglen</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strlen</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: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</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;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$matches</span> <span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> AND <span style="color: #000088;">$imglen</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$imgpos</span> <span style="color: #339933;">=</span> <span style="color: #990000;">stripos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #339933;">,</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: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000088;">$tx</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$imgpos</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$x</span><span style="color: #339933;">,</span> <span style="color: #000088;">$imgpos</span><span style="color: #339933;">+</span><span style="color: #000088;">$imglen</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Vsio krome&lt;img&gt;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$tx</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tx</span><span style="color: #339933;">,</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: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$imgpos</span><span style="color: #339933;">,</span> <span style="color: #000088;">$imglen</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> strip_only<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tags</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tags</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$tags</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'&gt;'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span> ? <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&gt;'</span><span style="color: #339933;">,</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tags</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tags</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">end</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tags</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #990000;">array_pop</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tags</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">foreach</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tags</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$tag</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'#&lt;/?'</span><span style="color: #339933;">.</span><span style="color: #000088;">$tag</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'[^&gt;]*&gt;#is'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$str</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #b1b100;">echo</span> cut_text<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;div class=&quot;content&quot; style=&quot;min-height: 202px;&quot;&gt;
&lt;img width=&quot;200&quot; height=&quot;200&quot; alt=&quot;Post Pic&quot; src=&quot;http://www.wprecipes.com/wp-content/uploads/2009/02/php2.jpg&quot;/&gt;
&lt;div class=&quot;pic fl&quot;&gt;
&lt;img width=&quot;200&quot; height=&quot;200&quot; alt=&quot;Post Pic&quot; src=&quot;http://www.wprecipes.com/wp-content/uploads/2009/02/php2.jpg&quot;/&gt;
&lt;/div&gt;
&lt;div class=&quot;post-title&quot;&gt;
&lt;/div&gt;
&lt;img width=&quot;200&quot; height=&quot;200&quot; alt=&quot;Post Pic&quot; src=&quot;http://www.wprecipes.com/wp-content/uploads/2009/02/php2.jpg&quot;/&gt;
&lt;div class=&quot;post-excerpt&quot;&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/leave-first-image-in-text-and-cat-length.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO description for wordpress categories</title>
		<link>http://askmetoo.com/seo-description-for-wordpress-categories.htm</link>
		<comments>http://askmetoo.com/seo-description-for-wordpress-categories.htm#comments</comments>
		<pubDate>Thu, 02 Apr 2009 14:32:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Place]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=101</guid>
		<description><![CDATA[please open header php in template and replace title &#60;title&#62; &#60;?php if (is_category()) { echo strip_tags(category_description());   } else{ wp_title(&#8216;&#38;laquo;&#8217;, true, &#8216;right&#8217;); ?&#62; &#60;?php bloginfo(&#8216;name&#8217;); } ?&#62;&#60;/title&#62;]]></description>
			<content:encoded><![CDATA[<p>please open header php in template<br />
and replace title</p>
<p><strong>&lt;title&gt;<br />
&lt;?php if (is_category()) { echo strip_tags(category_description());   }<br />
else{<br />
wp_title(&#8216;&amp;laquo;&#8217;, true, &#8216;right&#8217;); ?&gt; &lt;?php bloginfo(&#8216;name&#8217;);<br />
}<br />
?&gt;&lt;/title&gt;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/seo-description-for-wordpress-categories.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linkator</title>
		<link>http://askmetoo.com/linkator.htm</link>
		<comments>http://askmetoo.com/linkator.htm#comments</comments>
		<pubDate>Fri, 25 Jul 2008 06:20:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Place]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=19</guid>
		<description><![CDATA[Linkator is the avtomatizirovannya system of exchange by Refs.s. Participants place for itself on a site the catalogue of Refs.s, where the sites of other participants are presented, or pay placing of reference the creator of catalogue without placing of catalogue for itself.]]></description>
			<content:encoded><![CDATA[<p>Linkator is the avtomatizirovannya system of exchange by Refs.s. Participants place for itself on a site the catalogue of Refs.s, where the sites of other participants are presented, or pay placing of reference the creator of catalogue without placing of catalogue for itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/linkator.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PPC &#8211; Pay Per Click PPC</title>
		<link>http://askmetoo.com/ppc-pay-per-click-ppc.htm</link>
		<comments>http://askmetoo.com/ppc-pay-per-click-ppc.htm#comments</comments>
		<pubDate>Fri, 25 Jul 2008 06:19:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Place]]></category>
		<category><![CDATA[Text]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=20</guid>
		<description><![CDATA[(pay per click)(angl.) to pay for pressure. It is the system of advertising in the internet, which places advertising on sites, suitable under this theme, and payment goes for pressure an user on a banner(text or graphic). Thus turns out that an advertiser buys itself clients in the internet after fully priemlimuyu sum.]]></description>
			<content:encoded><![CDATA[<p>(pay per click)(angl.) to pay for pressure. It is the system of advertising in the internet, which places advertising on sites, suitable under this theme, and payment goes for pressure an user on a banner(text or graphic). Thus turns out that an advertiser buys itself clients in the internet after fully priemlimuyu sum.</p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/ppc-pay-per-click-ppc.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Banner Banner</title>
		<link>http://askmetoo.com/banner-banner.htm</link>
		<comments>http://askmetoo.com/banner-banner.htm#comments</comments>
		<pubDate>Sat, 07 Jun 2008 13:44:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Place]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=13</guid>
		<description><![CDATA[Banner Banner &#8211; it more frequent than all an animation graphic picture placed with the purpose of advertising on some site. Sometimes it is compared to the outdoor advertising.]]></description>
			<content:encoded><![CDATA[<p>Banner Banner &#8211; it more frequent than all an animation graphic picture placed with the purpose of advertising on some site. Sometimes it is compared to the outdoor advertising.</p>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/banner-banner.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular expressions for treatment of lines of Utf-8 in PHP</title>
		<link>http://askmetoo.com/regular-expressions-for-treatment-of-lines-of-utf-8-in-php.htm</link>
		<comments>http://askmetoo.com/regular-expressions-for-treatment-of-lines-of-utf-8-in-php.htm#comments</comments>
		<pubDate>Sat, 07 Jun 2008 13:42:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Place]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=11</guid>
		<description><![CDATA[At development of multilingual sites for html-pages most more comfortable and predpochtitel&#8217;ney to use the code of Utf-8, providing support all or almost all existent languages and encoding ascii-characters (Roman alphabet, numbers and special characters) by one byte, and national alphabets — a few. Thus, the code of Utf-8 has variable physical length of every [...]]]></description>
			<content:encoded><![CDATA[<p>At development of multilingual sites for html-pages most more comfortable and predpochtitel&#8217;ney to use the code of Utf-8, providing support all or almost all existent languages and encoding ascii-characters (Roman alphabet, numbers and special characters) by one byte, and national alphabets — a few. Thus, the code of Utf-8 has variable physical length of every character. In this connection sometimes there are problems at programming of multilanguage sites.</p>
<p>For example, in a programming of PHP of function of strlen and substr language give out improper results, if there are characters of national alphabet in a line (as intended for work with an onebyte code). Certainly, in PHP there are such functions as mb_strlen and mb_susbtr, specially intended for work with multibyte lines. But, by default support of Multibyte String Functions in PHP is turned off,that automatically limits the choice of khostinga for the designed site. In addition, during connecting of the module of mb_string the set of the supported languages is specified. And that is why there is probability, that the language required you can not appear in the list of supported.</p>
<p>However, there is other, more comfortable and flexible decision of problem. Taking advantage of functions of PCRE, correctly perceiving the code of Utf-8, it is possible to write the functions of utf8_strlen and utf8_substr:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> utf8_strlen<span style="color: #009900;">&#40;</span><span style="color: #000088;">$s</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">return</span> <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/./u'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$s</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tmp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>code<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>code<span style="color: #339933;">&gt;</span>
<span style="color: #000000; font-weight: bold;">function</span> utf8_substr<span style="color: #009900;">&#40;</span><span style="color: #000088;">$s</span><span style="color: #339933;">,</span> <span style="color: #000088;">$offset</span><span style="color: #339933;">,</span> <span style="color: #000088;">$len</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'all'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$offset</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$offset</span> <span style="color: #339933;">=</span> utf8_strlen<span style="color: #009900;">&#40;</span><span style="color: #000088;">$s</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$offset</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$len</span><span style="color: #339933;">!=</span><span style="color: #0000ff;">'all'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$len</span><span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #000088;">$len</span> <span style="color: #339933;">=</span> utf8_strlen<span style="color: #009900;">&#40;</span><span style="color: #000088;">$s</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$offset</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$len</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$xlen</span> <span style="color: #339933;">=</span> utf8_strlen<span style="color: #009900;">&#40;</span><span style="color: #000088;">$s</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$offset</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$len</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$len</span><span style="color: #339933;">&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #000088;">$xlen</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$xlen</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$len</span><span style="color: #339933;">;</span>
<span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/^.{'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$offset</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'}(.{0,'</span><span style="color: #339933;">.</span><span style="color: #000088;">$len</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'})/us'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$s</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tmp</span><span style="color: #009900;">&#41;</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: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/^.{'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$offset</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'}(.*)/us'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$s</span><span style="color: #339933;">,</span> <span style="color: #000088;">$tmp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">return</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$tmp</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$tmp</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">:</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Continuing the theme of work with lines in the code of Utf-8, will consider a few functions, workings without set in PHP of expansion of Multibyte String Functions, namely utf8_strpos and utf8_substr_count:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> utf8_strpos<span style="color: #009900;">&#40;</span><span style="color: #000088;">$haystack</span><span style="color: #339933;">,</span> <span style="color: #000088;">$needle</span><span style="color: #339933;">,</span> <span style="color: #000088;">$offset</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;"># get substring (if isset offset param)
</span>    <span style="color: #000088;">$offset</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$offset</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> ? <span style="color: #cc66cc;">0</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$offset</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$offset</span><span style="color: #339933;">&gt;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/^.{'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$offset</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'}(.*)/us'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$haystack</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dummy</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$haystack</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dummy</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #000088;">$dummy</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># get relative pos
</span>    <span style="color: #000088;">$p</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$haystack</span><span style="color: #339933;">,</span> <span style="color: #000088;">$needle</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$haystack</span><span style="color: #339933;">==</span><span style="color: #0000ff;">''</span> or <span style="color: #000088;">$p</span><span style="color: #339933;">===</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$r</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$offset</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># calc real pos
</span>    <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span><span style="color: #339933;">&lt;</span><span style="color: #000088;">$p</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">ord</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$haystack</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&lt;</span><span style="color: #cc66cc;">128</span><span style="color: #009900;">&#41;</span> 
        <span style="color: #009900;">&#123;</span>
            <span style="color: #666666; font-style: italic;"># ascii symbol
</span>            <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">1</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: #666666; font-style: italic;"># non-ascii symbol with variable length 
</span>            <span style="color: #666666; font-style: italic;"># (handling first byte)
</span>            <span style="color: #000088;">$bvalue</span> <span style="color: #339933;">=</span> <span style="color: #990000;">decbin</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">ord</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$haystack</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>        
            <span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">+</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/^(1+)(.+)$/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'\1'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$bvalue</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000088;">$r</span><span style="color: #339933;">++;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$r</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> utf8_substr_count<span style="color: #009900;">&#40;</span><span style="color: #000088;">$h</span><span style="color: #339933;">,</span> <span style="color: #000088;">$n</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;"># preparing $n for using in reg. ex.
</span>    <span style="color: #000088;">$n</span> <span style="color: #339933;">=</span> <span style="color: #990000;">preg_quote</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$n</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;"># select all matches
</span>    <span style="color: #990000;">preg_match_all</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$n</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/u'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$h</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dummy</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dummy</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/regular-expressions-for-treatment-of-lines-of-utf-8-in-php.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is the main Ranking Factors for Search Engines?</title>
		<link>http://askmetoo.com/what-is-the-main-ranking-factors-for-search-engines.htm</link>
		<comments>http://askmetoo.com/what-is-the-main-ranking-factors-for-search-engines.htm#comments</comments>
		<pubDate>Mon, 11 Feb 2008 13:33:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Place]]></category>
		<category><![CDATA[Text]]></category>

		<guid isPermaLink="false">http://askmetoo.com/2008/02/11/what-is-the-main-ranking-factors-for-search-engines/</guid>
		<description><![CDATA[There are many Ranking Factors for SEO, but Search Engines owners do not liked to people know about them. This table is explain what is the distribution of Ranking Factors Mini SEO Textbook Keywords   Keywords in &#60;title&#62; +3 Keywords in URL +3 Density of a keyword in the text of the document +3 Keywords [...]]]></description>
			<content:encoded><![CDATA[<h4>There are many Ranking Factors for SEO, but Search Engines owners do not liked to people know about them.</h4>
<p>This table is explain what is the distribution of Ranking Factors<br />
Mini SEO Textbook</p>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<table border="1" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
Keywords
</td>
<td>
 
</td>
</tr>
<tr>
<td valign="top">
Keywords      in &lt;title&gt;
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Keywords      in URL
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Density      of a keyword in the text of the document
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Keywords      in references(links) of pages
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Keywords      in headings (&lt;H1&gt;, &lt;H2&gt;, etc. tags)
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Keywords      in the beginning of the document
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
Keywords      in &lt;alt&gt; tag
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
Keywords      in meta tags
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
Optimization      under low-frequency inquiries
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
Synonyms
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
Keywords      with a typing error
</td>
<td valign="top">
0
</td>
</tr>
<tr>
<td valign="top">
Dissolution      of a keyword in the text
</td>
<td valign="top">
-2
</td>
</tr>
<tr>
<td valign="top">
The      greater(big) density of keywords on page
</td>
<td valign="top">
-3
</td>
</tr>
<tr>
<td>
<strong>outer</strong><strong> and inner links</strong>
</td>
<td>
 
</td>
</tr>
<tr>
<td valign="top">
Keywords      in references(links)
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
References(Links)      to your site from popular pages
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
References(Links)      from pages of similar subjects
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
References(Links)      from domains of the second level in a zone .ru (if at you Russian site)
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
It is a      lot of references(links) to your site
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
The      text around of the reference(link)
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
Age of      references(links) of referring sites (the is more senior that, the better)
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
References(Links)      from popular catalogues
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
The it      is less on a referring page of external references(links) the better
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
Tag &lt;title = &#8220;&gt; with a keyword in      the reference(link)
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
References(Links)      with bad link category sites and from      doubtful sites
</td>
<td valign="top">
0
</td>
</tr>
<tr>
<td valign="top">
Spam of      references(links) in the comment
</td>
<td valign="top">
-1
</td>
</tr>
<tr>
<td valign="top">
The      latent references(links)
</td>
<td valign="top">
-3
</td>
</tr>
<tr>
<td>
Meta tags
</td>
<td>
 
</td>
</tr>
<tr>
<td valign="top">
&lt;Description&gt; <a name="OLE_LINK1">metatag</a>
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
&lt;Keywords&gt;      metatag
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
&lt;Language&gt;      metatag
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
&lt;Refresh&gt;      metatag
</td>
<td valign="top">
-1
</td>
</tr>
<tr>
<td>
The      maintenance(contents)
</td>
<td>
 
</td>
</tr>
<tr>
<td valign="top">
The      unique maintenance(contents)
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Frequent      changes (updating of pages, addition new)
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Formatting      of keywords tags (&lt;strong&gt; &lt;i&gt;)
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
Bad      design and dirty html a code
</td>
<td valign="top">
-2
</td>
</tr>
<tr>
<td valign="top">
Plagiarism
</td>
<td valign="top">
-3
</td>
</tr>
<tr>
<td valign="top">
The      invisible text
</td>
<td valign="top">
-3
</td>
</tr>
<tr>
<td valign="top">
Doorways
</td>
<td valign="top">
-3
</td>
</tr>
<tr>
<td valign="top">
Duplicates      of pages
</td>
<td valign="top">
-3
</td>
</tr>
<tr>
<td>
Structure      of pages and its(her) maintenance(contents)
</td>
<td>
 
</td>
</tr>
<tr>
<td valign="top">
JavaScript (do not go too far and clean(remove) in      files)
</td>
<td valign="top">
0
</td>
</tr>
<tr>
<td valign="top">
Images      in the text
</td>
<td valign="top">
0
</td>
</tr>
<tr>
<td valign="top">
Podcast and video
</td>
<td valign="top">
0
</td>
</tr>
<tr>
<td valign="top">
Navigation      from pictures
</td>
<td valign="top">
-1
</td>
</tr>
<tr>
<td valign="top">
Frames      (Frames)
</td>
<td valign="top">
-2
</td>
</tr>
<tr>
<td valign="top">
Flash
</td>
<td valign="top">
-2
</td>
</tr>
<tr>
<td>
Domains,      URL
</td>
<td>
 
</td>
</tr>
<tr>
<td valign="top">
Keywords      in URL
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Availability      of a site (a good hosting, fast loading of page)
</td>
<td valign="top">
+3
</td>
</tr>
<tr>
<td valign="top">
Sitemap
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
It is a      lot of pages
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
The the      site, the is more senior better
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
One      subjects of a site (it is not necessary to do auto      a site and in the same place to write about brooms)
</td>
<td valign="top">
+2
</td>
</tr>
<tr>
<td valign="top">
The      domain of the second level (site.us)
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
Dear      zones (.us it is better than .info or .org)
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
Hyphens      in URL (instead of blanks between keywords)
</td>
<td valign="top">
+1
</td>
</tr>
<tr>
<td valign="top">
Length      URL
</td>
<td valign="top">
0
</td>
</tr>
<tr>
<td valign="top">
IP the      address
</td>
<td valign="top">
0
</td>
</tr>
<tr>
<td valign="top">
Google      Adsense on pages
</td>
<td valign="top">
0
</td>
</tr>
<tr>
<td valign="top">
Inaccessibility      of a site, bad hosting
</td>
<td valign="top">
-1
</td>
</tr>
<tr>
<td valign="top">
Dynamic      URL
</td>
<td valign="top">
-1
</td>
</tr>
<tr>
<td valign="top">
Sessions      (Session ID)
</td>
<td valign="top">
-2
</td>
</tr>
<tr>
<td valign="top">
Redirects (301 and 302)
</td>
<td valign="top">
-3
</td>
</tr>
</table>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/what-is-the-main-ranking-factors-for-search-engines.htm/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How do I place text to div?</title>
		<link>http://askmetoo.com/how-do-i-place-text-to-div.htm</link>
		<comments>http://askmetoo.com/how-do-i-place-text-to-div.htm#comments</comments>
		<pubDate>Wed, 16 Jan 2008 21:16:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Div]]></category>
		<category><![CDATA[Place]]></category>
		<category><![CDATA[Text]]></category>

		<guid isPermaLink="false">http://askmetoo.com/?p=3</guid>
		<description><![CDATA[JavaScript allowing to do this by this easy steps: 1 2 3 4 5 &#60;script type=”text/javascript”&#62; document.getElementById(&#34;z&#34;).innerHTML = &#34;bla bnla&#34;; &#60;/script&#62; &#160; &#60;diz id=”z”&#62; Text goes here&#60;/div&#62;]]></description>
			<content:encoded><![CDATA[<p>JavaScript allowing to do this by this easy steps:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;script type=”text/javascript”&gt;
document.getElementById(&quot;z&quot;).innerHTML = &quot;bla bnla&quot;;
&lt;/script&gt; 
&nbsp;
&lt;diz id=”z”&gt; Text goes here&lt;/div&gt;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://askmetoo.com/how-do-i-place-text-to-div.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

