<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Daily Tech Notes</title>
	
	<link>http://www.dailytechnotes.com</link>
	<description>Get your daily doze of programming, technology, gadgets, software reviews, seo tips and more...</description>
	<pubDate>Fri, 18 Jul 2008 10:37:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/DailyTechNotes" type="application/rss+xml" /><feedburner:emailServiceId>1796619</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Windows live writer and WordPress 2.6 compatibility issues</title>
		<link>http://www.dailytechnotes.com/windows-live-writer-and-wordpress-26-compatibility-issues.html</link>
		<comments>http://www.dailytechnotes.com/windows-live-writer-and-wordpress-26-compatibility-issues.html#comments</comments>
		<pubDate>Fri, 18 Jul 2008 10:37:52 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[Tech Tips]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/windows-live-writer-and-wordpress-26-compatibility-issues.html</guid>
		<description><![CDATA[If you recently installed WordPress 2.6 and is unable to use Windows Live Writer, don&#8217;t worry. The problem is that that by default WordPress disables xml-rpc and atom api. Windows Live Writer requires xml-rpc to be turned on.
You can turn on XML-RPC using WordPress dashboard from Settings -&#62; Writing -&#62; XML-RPC option. Refer to the [...]]]></description>
			<content:encoded><![CDATA[<p>If you recently installed WordPress 2.6 and is unable to use Windows Live Writer, don&#8217;t worry. The problem is that that by default WordPress disables xml-rpc and atom api. Windows Live Writer requires xml-rpc to be turned on.</p>
<p>You can turn on XML-RPC using WordPress dashboard from Settings -&gt; Writing -&gt; XML-RPC option. Refer to the following screen shot,</p>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="152" alt="enabling xml-rpc" src="http://www.dailytechnotes.com/wp-content/uploads/2008/07/windowslivewriterwindowslivewriteran6compatibilityissues-d593enabling-xml-rpc-3.jpg" width="598" border="0" /> </p>
<p>If you recently upgraded from 2.5.1, you would be wondering what the fuss is all about! Interestingly the above two options are enabled by default when you upgrade from 2.5.1 to 2.6.</p>
<p>You may be wondering why XML-RPC is disabled by default. XML-RPC is used by a lot of hacking tools built around WordPress trying to exploit security vulnerabilities such as weak passwords. So by disabling XML-RPC, a lot of current hacking attempts can be prevented.</p>
<p>But for external tools such as Windows Live Writer, XML-RPC is a must. So in the end it becomes a trade off between flexibility and security. But as long as you keep your WordPress installation updated and use strong passwords, chances of getting hacked is minimal.</p>
<p>Another interesting thing I noticed while configuring Windows Live Writer for a WordPress 2.6 is that WLW is unable to detect WordPress 2.6 installation and RPC configuration. I had to manually select the WordPress and location of the RPC php file as shown below,</p>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="404" alt="windows live writer and wordpress 2.6" src="http://www.dailytechnotes.com/wp-content/uploads/2008/07/windowslivewriterwindowslivewriteran6compatibilityissues-d593windows-live-writer-and-wordpress-26-3.jpg" width="464" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/windows-live-writer-and-wordpress-26-compatibility-issues.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Disabling post revisions in WordPress 2.6 without using a plugin</title>
		<link>http://www.dailytechnotes.com/disabling-post-revisions-in-wordpress-26-without-using-a-plugin.html</link>
		<comments>http://www.dailytechnotes.com/disabling-post-revisions-in-wordpress-26-without-using-a-plugin.html#comments</comments>
		<pubDate>Thu, 17 Jul 2008 07:16:28 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/disabling-post-revisions-in-wordpress-26-without-using-a-plugin.html</guid>
		<description><![CDATA[Starting from WordPress 2.6 (code named&#160; Tyner), a new feature called post revisions is added in WordPress. This is a versioning system for WordPress posts and allows you to revert to an old version of a post if needed. You can also compare between versions to see the difference.
&#160; 
This is a good feature if [...]]]></description>
			<content:encoded><![CDATA[<p>Starting from WordPress 2.6 (code named&#160; Tyner), a new feature called post revisions is added in WordPress. This is a versioning system for WordPress posts and allows you to revert to an old version of a post if needed. You can also compare between versions to see the difference.</p>
<p>&#160;<img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="206" alt="post revisions in wp2.6" src="http://www.dailytechnotes.com/wp-content/uploads/2008/07/windowslivewriterdisablingpostrevisi6withoutusingaplugin-952bpost-revisions-in-wp26-3.jpg" width="513" border="0" /> </p>
<p>This is a good feature if you are using WordPress UI for writing your posts. But if you are using an external tool, you might not need this feature.</p>
<p>One of the problems with post revisions is that if you do a lot of editing, a lot of different versions are generated and are stored in the MySQL db. Over a period of time your database becomes bloated and performance of your blog can get affected. Unfortunately on the WordPress dashboard there is no option to disable post revisions.</p>
<p>So it is no wonder there are couple of plugins being released to add the post revision disabling option. But I am not a fan of plugins because many of the plugins come with security holes and many of them affects performance of the blog. So my mantra is to keep the number of plugins to a bare minimum.</p>
<p>Fortunately there is another way to disable post revisions in WordPress 2.6. You can edit wp-config.php and add the following line it,</p>
<div class="terminal">define(&#8217;WP_POST_REVISIONS&#8217;, false); </div>
<p>This command sets a flag which instructs WordPress to avoid creating versioned copied of a post.&#160; If you replace &#8216;false&#8217; with a number, WordPress will ensure that the number of version generated for a post is limited by that number.</p>
<p>Another feature recently added to WordPress is the auto save feature. This saves your post every 60 seconds automatically when you are using the WordPress editor. If you don&#8217;t want this feature or you want a different interval, you can add the following entry in wp-config.php,</p>
<div class="terminal">define( &#8216;AUTOSAVE_INTERVAL&#8217;, 60 ); </div>
<p>The second parameter indicates the number of seconds after which the post is auto saved. You can set this to a large value to avoid frequent auto saves.</p>
<p><strong>Where does WordPress store post revisions in DB?</strong></p>
<p>You may be wondering where WordPress 2.6 stores post revisions in DB. If you are looking for a new table you are mistaken. All the post revisions are stored in the wp-posts table itself.&#160; For the old revisions the post status is stored as &#8216;inherit&#8217; and post_type as &#8216;revision&#8217;. The post_parent in this case is set as the id of the currently published post.</p>
<p><strong>How do I delete old revisions of WordPress posts from MySQL DB?</strong></p>
<p>You can use the following SQL script to delete all old revisions from MySQL DB. For large WordPress databases, this will improve performance of the blog.</p>
<div class="terminal">delete from wp-posts where post_type=&#8217;revision&#8217;; </div>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/disabling-post-revisions-in-wordpress-26-without-using-a-plugin.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>WordPress 2.5 upgrade issues with Windows live writer?</title>
		<link>http://www.dailytechnotes.com/wordpress-25-upgrade-issues-with-windows-live-writer.html</link>
		<comments>http://www.dailytechnotes.com/wordpress-25-upgrade-issues-with-windows-live-writer.html#comments</comments>
		<pubDate>Tue, 22 Apr 2008 08:15:10 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[Tech Tips]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/wordpress-25-upgrade-issues-with-windows-live-writer.html</guid>
		<description><![CDATA[Normally I wait for sometime before upgrading WordPress installations. But this time I jumped to WordPress 2.5 when I came across serious security issues in 2.2.x series. Some of my blogs which ran under 2.2.x versions were badly hacked and I had to spend a lot of time recovering them! The hacker modified most of [...]]]></description>
			<content:encoded><![CDATA[<p>Normally I wait for sometime before upgrading WordPress installations. But this time I jumped to WordPress 2.5 when <a href="http://www.arachna.com/roller/page/spidaman/20080409#wordpress_pandemic_chronicles_2008_04">I came across serious security issues in 2.2.x series</a>. Some of my blogs which ran under 2.2.x versions were badly hacked and I had to spend a lot of time recovering them! The hacker modified most of my posts and cleverly inserted hidden links. Also he installed a backdoor php file in the current template folder! This ensured that even after upgrade he can control my WordPress blog.</p>
<p>I detected the problem only when I realized that my blog is no longer in the Google search index!</p>
<p>The WordPress hacking became so widespread that Technorati has special process <a href="http://technorati.com/weblog/2008/04/424.html">in place to quarantine infected/hacked WordPress blogs</a>! There <a href="http://www.securityfocus.com/bid/28703/info">are reports of WordPress 2.5 vulnerability</a>, but it is better to upgrade to 2.5 than stick with 2.3.3. The important thing is to upgrade as soon as a release is out rather than cling to a version for which hacking scripts may be sold in warez forums! So I am keeping my thumb on the WordPress upgrade button waiting for 2.5.1  <img src='http://www.dailytechnotes.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>After the upgrade I came across an interesting  issue when I tried to post through Windows Live Writer. It responded with an error message - <em>Invalid response document returned from XmlRpc server</em>. I initially thought that it is a bug with Windows Live writer and compatibility issue with WordPress 2.5. Then I tried posting the same from the WordPress admin. When I tried to upload an image I got the following error,</p>
<blockquote><p>- Fatal error: Call to undefined function wp_constrain_dimensions.</p></blockquote>
<p>Then I realized there is some problem with the WordPress 2.5 upgrade. Here is how I resolved the problem. First I deleted all the php files in the WordPress root folder (except wp-config.php) and then deleted wp-admin and wp-includes folder. After ensuring that all old files are deleted, I uploaded WordPress 2.5 files again. That resolved the issue with Windows Live Writer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/wordpress-25-upgrade-issues-with-windows-live-writer.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Intel announces 50% cut in quad core processors!</title>
		<link>http://www.dailytechnotes.com/intel-announces-50-cut-in-quad-core-processors.html</link>
		<comments>http://www.dailytechnotes.com/intel-announces-50-cut-in-quad-core-processors.html#comments</comments>
		<pubDate>Tue, 22 Apr 2008 07:24:54 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[Tech News]]></category>

		<category><![CDATA[Intel]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/intel-announces-50-cut-in-quad-core-processors.html</guid>
		<description><![CDATA[ In a move that could potentially push AMD out of business(!), Intel has announced drastic price cut in its quad core range of processors. The popular Q6700 series process will now cost $266 down from $530. Price cuts are also offered on other processors, but is not drastic as Q6700 range.
This surprise move by [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dailytechnotes.com/wp-content/uploads/2008/04/core-quad9.gif"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="77" alt="core quad" src="http://www.dailytechnotes.com/wp-content/uploads/2008/04/core-quad-thumb.gif" width="62" align="right" border="0" /></a> In a move that could potentially push AMD out of business(!), Intel has announced drastic price cut in its quad core range of processors. The popular Q6700 series process will now cost $266 down from $530. Price cuts are also offered on other processors, but is not drastic as Q6700 range.</p>
<p>This surprise move by Intel is going to immediately push quad core adoption. Intel&#8217;s manufacturing process costs are cheaper than AMD and hence AMD might find it difficult to compete in this area. Also <a href="http://www.amd.com/us-en/Corporate/VirtualPressRoom/0,,51_104_543~125171,00.html">AMD posted a net loss of $358 million for Q1 2008</a>. So this Intel move could be a &quot;terminator&quot; move for AMD! Who knows, Intel might have plans to acquire AMD <img src='http://www.dailytechnotes.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Multi core processor power is yet to be completely utilized. We might see a sudden influx of game engines which makes use of multi core architecture.</p>
<p>Here is a summary of the Quad core price cut,</p>
<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="117" alt="intel price cut" src="http://www.dailytechnotes.com/wp-content/uploads/2008/04/intel-price-cut.jpg" width="603" border="0" /> </p>
<p>The complete list of <a href="http://media.corporate-ir.net/media_files/irol/10/101302/April_20_08_pricelist.pdf">Intel price cut is available here (PDF).</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/intel-announces-50-cut-in-quad-core-processors.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Now blog without fear! - Piratebay starts uncensored blogging service</title>
		<link>http://www.dailytechnotes.com/now-blog-without-fear-piratebay-starts-uncensored-blogging-service.html</link>
		<comments>http://www.dailytechnotes.com/now-blog-without-fear-piratebay-starts-uncensored-blogging-service.html#comments</comments>
		<pubDate>Thu, 17 Apr 2008 12:18:14 +0000</pubDate>
		<dc:creator>daily</dc:creator>
		
		<category><![CDATA[Blogging]]></category>

		<category><![CDATA[Free Speech]]></category>

		<category><![CDATA[Pirate Bay]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.dailytechnotes.com/now-blog-without-fear-piratebay-starts-uncensored-blogging-service.html</guid>
		<description><![CDATA[Many free blogging service providers and Web hosting companies will take down your blog if you link to copyrighted material. Some of these services will close your account even for posting something controversial!
Now Pirate Bay has started a new blogging service named Baywords which won&#8217;t take your site down for linking to copyrighted material or for [...]]]></description>
			<content:encoded><![CDATA[<p><img align="right" src="http://www.dailytechnotes.com/wp-content/uploads/2008/04/baywards.jpg" alt="Baywards from Piratebay" />Many free blogging service providers and Web hosting companies will take down your blog if you link to copyrighted material. Some of these services will close your account even for posting something controversial!</p>
<p>Now Pirate Bay has started a new blogging service named <a target="_blank" href="http://www.baywords.com/">Baywords</a> which won&#8217;t take your site down for linking to copyrighted material or for writing on controversial subject.  So what is the catch?</p>
<p>First of all you cannot post anything you wish! You can only post stuff which are legal under Swedish law. I think services such as these may force Sweden to change the laws sooner than we expect! Secondly Baywords will push advertisement onto your blog. Not a pretty thing for many!</p>
<p>There is another problem. Baywords may see an influx of blogs which are illegal in US or other countries. This may cause the entire domain to be banned in those countries. Hence hosting your personal blog on Baywords may not be a good idea if you are looking for traffic. The only people who will find this useful are those who are publishing daily links to warez or ebooks (copyrighted material).</p>
<p>Baywards is running on a multi user version of WordPress software.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dailytechnotes.com/now-blog-without-fear-piratebay-starts-uncensored-blogging-service.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.200 seconds --><!-- Cached page served by WP-Cache -->
