<?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>vali petcu blog &#187; wordpress</title>
	<atom:link href="http://www.valipetcu.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.valipetcu.com</link>
	<description>notes of a traveler of both time and space</description>
	<lastBuildDate>Thu, 03 May 2012 06:27:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Facebook: Meta description = og:description</title>
		<link>http://www.valipetcu.com/2012/facebook-meta-description-ogdescription.html</link>
		<comments>http://www.valipetcu.com/2012/facebook-meta-description-ogdescription.html#comments</comments>
		<pubDate>Wed, 22 Feb 2012 04:59:41 +0000</pubDate>
		<dc:creator>vali petcu</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[tweaks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress plugins]]></category>
		<category><![CDATA[yoast]]></category>

		<guid isPermaLink="false">http://www.valipetcu.com/?p=407</guid>
		<description><![CDATA[I like to do things manually on my blogs and use as little plugins i can. If i can use a plugin for two things it’s great. A good example is Auto feature Image plugin i am using for display on the front page of my blog, rss thumbnail and Facebook thumbnail (details here). Here [...]]]></description>
			<content:encoded><![CDATA[<p>I like to do things manually on my blogs and use as little plugins i can. If i can use a plugin for two things it’s great. A good example is <a href="http://wordpress.org/extend/plugins/auto-featured-image/">Auto feature Image</a> plugin i am using for display on the front page of my blog, rss thumbnail and Facebook thumbnail (<a href="http://www.zoso.ro/thumb-pentru-facebook/">details here</a>).</p>
<p>Here is how you can use your seo plugin, whatever it is, to set an og:descrption, for better looking posts on Facebook timeline. So, look for <strong>meta name=”description”</strong> in your plugin and add <strong>property=&quot;og:description&quot;</strong> after it. </p>
<p>In <a href="http://wordpress.org/extend/plugins/wordpress-seo/">Yoast SEO plugin</a> it’s easy:</p>
<blockquote><p>echo &#8216;&lt;meta name=&quot;description&quot; content=&quot;&#8217;.esc_attr( strip_tags( stripslashes( $metadesc ) ) ).&#8217;&quot;/&gt;&#8217;.&quot;\n&quot;;</p>
</blockquote>
<blockquote><p>echo &#8216;&lt;meta name=&quot;description&quot; property=&quot;og:description&quot; content=&quot;&#8217;.esc_attr( strip_tags( stripslashes( $metadesc ) ) ).&#8217;&quot;/&gt;&#8217;.&quot;\n&quot;;</p>
</blockquote>
<p>The result is this: my post has a short description, the other one does not.</p>
<p> <a href="http://www.valipetcu.com/wp-content/uploads/2012/02/og-description.png"><img style="margin: 0px auto; display: block; float: none" src="http://www.valipetcu.com/wp-content/uploads/2012/02/og-description-150x150.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.valipetcu.com/2012/facebook-meta-description-ogdescription.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cheap and fake cache for your blog</title>
		<link>http://www.valipetcu.com/2012/cheap-and-fake-cache-for-your-blog.html</link>
		<comments>http://www.valipetcu.com/2012/cheap-and-fake-cache-for-your-blog.html#comments</comments>
		<pubDate>Mon, 02 Jan 2012 08:59:00 +0000</pubDate>
		<dc:creator>vali petcu</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[tweaks]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.valipetcu.com/2012/cheap-and-fake-cache-for-your-blog.html</guid>
		<description><![CDATA[Amongs Google PageSpeed ranking factors is one regarding a Content Delivery Network, that wants to use subdomains or a CDN for distributing content. IF you have basic DNS and HTML knowledge you can do these easy steps: add to your dns Aliases (A records) with the name cache1.yourdomain.com and cache2.yourdomain.com in order to point to [...]]]></description>
			<content:encoded><![CDATA[<p>Amongs <a href="http://code.google.com/speed/page-speed/">Google PageSpeed</a> ranking factors is one regarding a Content Delivery Network, that wants to use subdomains or a CDN for distributing content. IF you have basic DNS and HTML knowledge you can do these easy steps:</p>
<ol>
<li>add to your dns Aliases (A records) with the name cache1.yourdomain.com and cache2.yourdomain.com in order to point to the same place as <a href="http://www.yourdomain.com">www.yourdomain.com</a> </li>
<li>edit your theme header.php file and change the adresses of the css and js files to cache1.yourdomain.com. do this with the plugins also. </li>
<li>go to your media options in wordpress and put full URL path to files to cache2.yourdomain.com, as seen below:</li>
</ol>
<p> <img style="background-image: none; border-right-width: 0px; margin: 0px 0px 0px 5px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="cache" border="0" alt="cache" src="http://www.valipetcu.com/wp-content/uploads/2012/01/cache.png" width="556" height="223" />
<p>This is all. This can be easily done using <a href="http://wordpress.org/extend/plugins/cdn-rewrites/">CDN rewrites</a> after completing step one. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.valipetcu.com/2012/cheap-and-fake-cache-for-your-blog.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What I want from Live Writer</title>
		<link>http://www.valipetcu.com/2011/what-i-want-from-live-writer.html</link>
		<comments>http://www.valipetcu.com/2011/what-i-want-from-live-writer.html#comments</comments>
		<pubDate>Mon, 12 Dec 2011 07:40:43 +0000</pubDate>
		<dc:creator>vali petcu</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows live writer]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.valipetcu.com/2011/what-i-want-from-live-writer.html</guid>
		<description><![CDATA[I really hope the great blogging tool Windows Live Writer will get better over time. Here’s my wish list, in case anybody from Microsoft is listening: fixing the jpg-png transformation bug an option for a cropped thumbnail. an option for choosing my own thumbnail name. wordpress has the -100&#215;100.jpg naming system, wlw has _thumb.jpg system. [...]]]></description>
			<content:encoded><![CDATA[<p>I really hope the great blogging tool <a href="http://explore.live.com/windows-live-writer">Windows Live Writer</a> will get better over time. Here’s my wish list, in case anybody from Microsoft is listening:</p>
<ol>
<li><a href="http://www.valipetcu.com/2011/wlw-image-transformation-fix.html">fixing the jpg-png transformation bug</a></li>
<li>an option for a cropped thumbnail.</li>
<li>an option for choosing my own thumbnail name. wordpress has the -100&#215;100.jpg naming system, wlw has _thumb.jpg system. so wlw is uploading two files instead of one.</li>
</ol>
<p>It’s not much, but it will really help a lot of people. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.valipetcu.com/2011/what-i-want-from-live-writer.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing WordPress version from header? Google has a problem with that</title>
		<link>http://www.valipetcu.com/2011/removing-wordpress-version-from-header-google-has-a-problem-with-that.html</link>
		<comments>http://www.valipetcu.com/2011/removing-wordpress-version-from-header-google-has-a-problem-with-that.html#comments</comments>
		<pubDate>Fri, 25 Nov 2011 05:59:07 +0000</pubDate>
		<dc:creator>vali petcu</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.valipetcu.com/2011/removing-wordpress-version-from-header-google-has-a-problem-with-that.html</guid>
		<description><![CDATA[Dear site owner or webmaster of http://zoso.ro/, Your site appears to be running an older version of WordPress. Google recommends that you update to the latest release. Older or unpatched software may be vulnerable to hacking or malware that can hurt your users. To download the latest release, visit the WordPress download page. If you [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Dear site owner or webmaster of <a href="http://zoso.ro/">http://zoso.ro/</a>, Your site appears to be running an older version of WordPress. Google recommends that you update to the latest release. Older or unpatched software may be vulnerable to hacking or malware that can hurt your users. To download the latest release, visit the <a href="http://wordpress.org/download/">WordPress download page</a>. If you have any additional questions about why you are receiving this message, Google has provided more background information in a <a href="http://googlewebmastercentral.blogspot.com/2009/11/new-software-version-notifications-for.html">blog post</a> about this subject. Best wishes, Google Search Quality Team</p>
</blockquote>
<p>This is what i got from Webmasters Tools. The thing is i do have the latest version of WordPress, but i removed that announcement from the header, in order to protect myself from attacks.</p>
<blockquote><p>remove_action(‘wp_head’, ‘wp_generator’);</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.valipetcu.com/2011/removing-wordpress-version-from-header-google-has-a-problem-with-that.html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix for WordPress &#8220;Invalid Server Response&#8221; XMLRPC error</title>
		<link>http://www.valipetcu.com/2011/wordpress-xmlrpc-error-invalid-server-response.html</link>
		<comments>http://www.valipetcu.com/2011/wordpress-xmlrpc-error-invalid-server-response.html#comments</comments>
		<pubDate>Mon, 30 May 2011 16:21:30 +0000</pubDate>
		<dc:creator>vali petcu</dc:creator>
				<category><![CDATA[random]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.valipetcu.com/2011/05/wordpress-xmlrpc-error-invalid-server-response.html</guid>
		<description><![CDATA[After upgrading to WordPress 3.1.3 i get this error when I post news articles via Windows Live Writer: “Invalid Server Response – The response to the metaWeblog.newPost method received from the weblog server was invalid: Invalid response document returned from XmlRpc server.” . The error in the log is PHP Warning: strpos() [&#60;a href='function.strpos'&#62;function.strpos&#60;/a&#62;]: Empty [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading to WordPress 3.1.3 i get this error when I post news articles via Windows Live Writer:</p>
<blockquote><p>“Invalid Server Response – The response to the metaWeblog.newPost method received from the weblog server was invalid: Invalid response document returned from XmlRpc server.” .</p>
</blockquote>
<p><span id="more-281"></span>
<p>The error in the log is </p>
<blockquote><p> PHP Warning: strpos() [&lt;a href='function.strpos'&gt;function.strpos&lt;/a&gt;]: Empty delimiter in /usr/home/zoso/www/zoso.ro/wp-includes/class-wp-xmlrpc-server.php on line 2379      </p>
</blockquote>
<p>I just removed the line 2379 from wp-includes/class-wp-xmlrpc-server.php</p>
<blockquote><p>if ( strpos( $post_content, $file-&gt;guid ) !== false )</p>
</blockquote>
<p>And everything is back to normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.valipetcu.com/2011/wordpress-xmlrpc-error-invalid-server-response.html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

