<?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>Mohanjith&#039;s Blog &#187; Blog</title> <atom:link href="http://mohanjith.net/blog/topics/blog/feed" rel="self" type="application/rss+xml" /><link>http://mohanjith.net/blog</link> <description>MOHA blogging news and thoughts...</description> <lastBuildDate>Wed, 14 Dec 2011 14:18:18 +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>Bye, bye Blogger. Howdy WordPress</title><link>http://mohanjith.net/blog/2008/10/bye-bye-blogger-howdy-wordpress.html</link> <comments>http://mohanjith.net/blog/2008/10/bye-bye-blogger-howdy-wordpress.html#comments</comments> <pubDate>Tue, 28 Oct 2008 17:01:38 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Blogger]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://mohanjith.net/blog/?p=80</guid> <description><![CDATA[TweetFinally moved my blog to WordPress from Blogger. I also moved it to a different URL as well. Move was as smooth as it could get. I wasn&#8217;t sure whether I should make the move. I didn&#8217;t want any Google juice to be lost or give my readers 404s. In my old setup I was [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/10/bye-bye-blogger-howdy-wordpress.html" data-text="Bye, bye Blogger. Howdy WordPress" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F10%2Fbye-bye-blogger-howdy-wordpress.html&#038;text=Bye%2C%20bye%20Blogger.%20Howdy%20WordPress" >Tweet</a></span>Finally moved my blog to WordPress from Blogger. I also moved it to a different URL as well. Move was as smooth as it could get. I wasn&#8217;t sure whether I should make the move. I didn&#8217;t want any Google juice to be lost or give my readers 404s. In my old setup I was using Feedburner to serve my feeds and Blogger to serve my blog. Now WordPress serves the blog and Feedburner still serves the feeds. Here you have the steps.</p><ol><li>Install WordPress (I used 2.6.3)</li><li>Import the blog posts and comments from Blogger. Go to Manage -&gt; Import in WordPress and follow the instructions there.</li><li>Set the authors properly.</li><li>Download and install the WordPress plugin <a
href="http://justinsomnia.org/files/wp-maintain-blogger-permalinks-1.0.zip" target="_blank">wp-maintain-blogger-permalinks-1.0.zip</a>. (Do not forget to enable the plugin as well)</li><li>Under Manage &gt; Maintain Blogger Permalinks click the button that says Maintain Blogger Permalinks.</li><li>You can disable (or even delete) the wp-maintain-blogger-permalinks plugin.</li><li>Go to Options &gt; Permalinks, select Custom, and enter the following:<pre>/%year%/%monthnum%/%postname%.html</pre></li></ol><p>…and you are done <img
src='http://cdn.mohanjith.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br
/> Hope this helps someone who wants to move to WordPress form blogger.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/10/bye-bye-blogger-howdy-wordpress.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/10/bye-bye-blogger-howdy-wordpress.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>New features and bug fixes on Poll-n-Ping!</title><link>http://mohanjith.net/blog/2008/08/new-features-and-bug-fixes.html</link> <comments>http://mohanjith.net/blog/2008/08/new-features-and-bug-fixes.html#comments</comments> <pubDate>Mon, 18 Aug 2008 00:16:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Ping]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=67</guid> <description><![CDATA[TweetNew version of Poll-n-Ping! was rolled out. With new features to help you spend more time on Poll-n-Ping! and a major bug fix in the user registration. read more &#124; digg story]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/08/new-features-and-bug-fixes.html" data-text="New features and bug fixes on Poll-n-Ping!" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F08%2Fnew-features-and-bug-fixes.html&#038;text=New%20features%20and%20bug%20fixes%20on%20Poll-n-Ping%21" >Tweet</a></span>New version of Poll-n-Ping! was rolled out. With new features to help you spend more time on Poll-n-Ping! and a major bug fix in the user registration.</p><p><a
href="http://admin.freshblog.ws/2008/08/new-features-and-bug-fixes.html">read more</a> | <a
href="http://digg.com/software/New_features_and_bug_fixes">digg story</a></p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/08/new-features-and-bug-fixes.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/08/new-features-and-bug-fixes.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ping Bloglines &#8211; Poll-n-Ping! exclusive</title><link>http://mohanjith.net/blog/2008/04/ping-bloglines-poll-n-ping-exclusive.html</link> <comments>http://mohanjith.net/blog/2008/04/ping-bloglines-poll-n-ping-exclusive.html#comments</comments> <pubDate>Mon, 07 Apr 2008 10:32:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Bloglines]]></category> <category><![CDATA[Ping]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=61</guid> <description><![CDATA[TweetBloglines is the latest service to be added to the list of services Poll-n-Ping! can ping. None of the multiple ping services that are out there has the ability to ping Bloglines. This brings the total number of services Poll-n-Ping! support to 20. Some multiple blog ping services (e.g. Pingoat)&#160; have ping servers that are [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/04/ping-bloglines-poll-n-ping-exclusive.html" data-text="Ping Bloglines &#8211; Poll-n-Ping! exclusive" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F04%2Fping-bloglines-poll-n-ping-exclusive.html&#038;text=Ping%20Bloglines%20%26%238211%3B%20Poll-n-Ping%21%20exclusive" >Tweet</a></span><a
href="http://www.bloglines.com/">Bloglines</a> is the latest service to be added to the list of services <a
href="http://mohanjith.net/pnp/">Poll-n-Ping!</a> can ping. None of the multiple ping services that are out there has the ability to ping Bloglines. This brings the total number of services Poll-n-Ping! support to 20.</p><p>Some multiple blog ping services (e.g. Pingoat)&nbsp; have ping servers that are no longer existant. We at Poll-n-Ping! continuousy monitor the upstream ping services to ensure that they are live. We are also believe in being transparent, hence provide you will the result of each ping we make.</p><p>We are constantly trying to increase the number of services we ping. Do not forget to check your Poll-n-Ping! account regularly for the latest additions. If you do not already have a Poll-n-Ping!, you are not exploiting the maximum potential of your blog. Grab your self a free <a
href="http://mohanjith.net/pnp/">Poll-n-Ping!</a> account without further dalay.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/04/ping-bloglines-poll-n-ping-exclusive.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/04/ping-bloglines-poll-n-ping-exclusive.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ping more search engines than with Ping-o-Matic</title><link>http://mohanjith.net/blog/2008/03/ping-more-search-engines-than-with-ping.html</link> <comments>http://mohanjith.net/blog/2008/03/ping-more-search-engines-than-with-ping.html#comments</comments> <pubDate>Mon, 31 Mar 2008 19:59:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Ping]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=60</guid> <description><![CDATA[TweetNow you can ping more blog search engines at once than it was possible with Ping-o-Matic. Poll-n-Ping! added 3 more services today, bringing the number of services that will be pinged to 18 whil Ping-o-Matic only supports 16 services. Poll-n-Ping! is the latest pinging service. Poll-n-Ping! is morethan just a pinging service, it monitors (polls) [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/03/ping-more-search-engines-than-with-ping.html" data-text="Ping more search engines than with Ping-o-Matic" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F03%2Fping-more-search-engines-than-with-ping.html&#038;text=Ping%20more%20search%20engines%20than%20with%20Ping-o-Matic" >Tweet</a></span>Now you can ping more blog search engines at once than it was possible with <a
href="http://pingomatic.com/">Ping-o-Matic</a>. <a
href="http://mohanjith.net/pnp/">Poll-n-Ping!</a> added 3 more services today, bringing the number of services that will be pinged to 18 whil Ping-o-Matic only supports 16 services.</p><p>Poll-n-Ping! is the latest pinging service. Poll-n-Ping! is morethan just a pinging service, it monitors (polls) your blog for changes. Also provides notification, should you blog go down for some reason. All this comes for free, the best price ever.</p><p>Go grab your <a
href="http://mohanjith.net/pnp/">Poll-n-Ping!</a> account now, you can forget about pinging and concentrate on blogging. Poll-n-Ping will take care of pinging blog search services.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/03/ping-more-search-engines-than-with-ping.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/03/ping-more-search-engines-than-with-ping.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Poll-n-Ping!, automagically ping 15+ services</title><link>http://mohanjith.net/blog/2008/03/poll-n-ping-automagically-ping-15.html</link> <comments>http://mohanjith.net/blog/2008/03/poll-n-ping-automagically-ping-15.html#comments</comments> <pubDate>Sun, 30 Mar 2008 20:28:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Ping]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=59</guid> <description><![CDATA[TweetPoll-n-Ping! added 8 more services today to the list of services that will be automatically pinged, bringing the number to 15. Register for a Poll-n-Ping! account, and put your blog details today and never bother about manually pinging when there are new posts in your blog; Poll-n-Ping! will take care of it all. The number [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/03/poll-n-ping-automagically-ping-15.html" data-text="Poll-n-Ping!, automagically ping 15+ services" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F03%2Fpoll-n-ping-automagically-ping-15.html&#038;text=Poll-n-Ping%21%2C%20automagically%20ping%2015%2B%20services" >Tweet</a></span><a
href="http://mohanjith.net/pnp">Poll-n-Ping!</a> added 8 more services today to the list of services that will be automatically pinged, bringing the number to 15. Register for a Poll-n-Ping! account, and put your blog details today and never bother about manually pinging when there are new posts in your blog; Poll-n-Ping! will take care of it all.</p><p>The number of services that Poll-n-Ping! supports will increase further in the near future. Don&#8217;t forget to create a Poll-n-Ping! account.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/03/poll-n-ping-automagically-ping-15.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/03/poll-n-ping-automagically-ping-15.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Poll-n-Ping, coz u r busy blogging</title><link>http://mohanjith.net/blog/2008/03/poll-n-ping-coz-u-r-busy-blogging.html</link> <comments>http://mohanjith.net/blog/2008/03/poll-n-ping-coz-u-r-busy-blogging.html#comments</comments> <pubDate>Fri, 14 Mar 2008 13:58:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Ping]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[TurboGears]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=54</guid> <description><![CDATA[TweetI would like to introduce a brand new service. It is a automated blog search directory pinging service named Poll-n-Ping. It is different from Ping-o-matic and similar services, because Poll-n-Ping monitors the blog (actually the feed) for changes and when it detects changes it will automatically ping the blog search directories. You can checkout the [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/03/poll-n-ping-coz-u-r-busy-blogging.html" data-text="Poll-n-Ping, coz u r busy blogging" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F03%2Fpoll-n-ping-coz-u-r-busy-blogging.html&#038;text=Poll-n-Ping%2C%20coz%20u%20r%20busy%20blogging" >Tweet</a></span>I would like to introduce a brand new service. It is a automated blog search directory pinging service named <a
href="http://mohanjith.net/pnp">Poll-n-Ping</a>. It is different from <a
href="http://pingomatic.com/">Ping-o-matic</a> and similar services, because Poll-n-Ping monitors the blog (actually the feed) for changes and when it detects changes it will automatically ping the blog search directories.</p><p>You can checkout the service at <a
href="http://mohanjith.net/pnp">http://mohanjith.net/pnp</a>. All this comes free of charge, but donations are always welcome. Right now there is no limit on the number of blogs that can be monitored by a single user. If you want your blog to be submitted to all the blog search directories that we add support from time to time, you will have to visit <a
href="http://mohanjith.net/pnp">Poll-n-Ping</a> regularly.</p><p>Soon I plan to add alert service <a
href="http://mohanjith.net/pnp">Poll-n-Ping</a>, the subscribed users can receive notification mails or IM when content changes, blog goes offline, and/or blog comes online. However this will be a paid service unless I receive enough donations to support the hosting.</p><p><a
href="http://mohanjith.net/pnp">Poll-n-Ping</a> has Turbogears under the hood <img
src='http://cdn.mohanjith.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p><p>Hope you will find the <a
href="http://mohanjith.net/pnp">Poll-n-Ping</a> service useful.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/03/poll-n-ping-coz-u-r-busy-blogging.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/03/poll-n-ping-coz-u-r-busy-blogging.html/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Blogger 502 errors</title><link>http://mohanjith.net/blog/2008/03/blogger-502-errors.html</link> <comments>http://mohanjith.net/blog/2008/03/blogger-502-errors.html#comments</comments> <pubDate>Sat, 08 Mar 2008 18:54:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Blogger]]></category> <category><![CDATA[Downtime]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=51</guid> <description><![CDATA[TweetFew minutes ago this same blog, hosted on Blogger started giving 502 Server Error (for more than 15 minutes). I was frustrated and even thought of hosting my blog on one of my servers. I don&#8217;t know what caused the issue, but one thing I know this is not the first time and I was [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/03/blogger-502-errors.html" data-text="Blogger 502 errors" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F03%2Fblogger-502-errors.html&#038;text=Blogger%20502%20errors" >Tweet</a></span>Few minutes ago this same blog, hosted on Blogger started giving 502 Server Error (for more than 15 minutes). I was frustrated and even thought of hosting my blog on one of my servers. I don&#8217;t know what caused the issue, but one thing I know this is not the first time and I was not alone; Even <a
href="http://xooglers.blogspot.com/">http://xooglers.blogspot.com/</a> was down (giving 502 errors). See <a
href="http://www.flickr.com/photos/seeminglee/2050618571/in/set-72157603261415176/">http://www.flickr.com/photos/seeminglee/2050618571/in/set-72157603261415176/</a> for another instance where this issue shot up.</p><p>Googling for a cause landed fruitless, my likely guess is blogger servers were overloaded. Hope this doesn&#8217;t happen again.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/03/blogger-502-errors.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/03/blogger-502-errors.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Automagically ping blog search engines</title><link>http://mohanjith.net/blog/2008/01/automagically-ping-blog-search-engines.html</link> <comments>http://mohanjith.net/blog/2008/01/automagically-ping-blog-search-engines.html#comments</comments> <pubDate>Wed, 23 Jan 2008 20:50:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Ping]]></category> <category><![CDATA[Python]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=36</guid> <description><![CDATA[TweetI wanted to automatically ping Technorati, Icerocket, and Google Blog Search, that means with no intervention the blog search engines should be pinged. I was alright with a delay of 15 minutes. So I went about exploiting the XML-RPC services provided by the blog search engines. I came up with this python script. I set [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/01/automagically-ping-blog-search-engines.html" data-text="Automagically ping blog search engines" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F01%2Fautomagically-ping-blog-search-engines.html&#038;text=Automagically%20ping%20blog%20search%20engines" >Tweet</a></span>I wanted to automatically ping <a
href="http://www.technorati.com/">Technorati</a>, <a
href="http://www.icerocket.com/">Icerocket</a>, and <a
href="http://blogsearch.google.com/">Google Blog Search</a>, that means with no intervention the blog search engines should be pinged. I was alright with a delay of 15 minutes.</p><p>So I went about exploiting the XML-RPC services provided by the blog search engines. I came up with <a
href="http://mohanjith.net/downloads/scripts/python/xmlrpc-blog-ping.py">this</a> python script. I set up a cron job to invoke the script every 15 minutes. See bellow for the source.</p><pre class="brush: py; ">
#!/usr/bin/python

import xmlrpclib
import urllib2
import os

from hashlib import md5

feed_url = &#039;[Yorur feed url]&#039;
blog_url = &#039;[Your blog url]&#039;
blog_name = &#039;[Your blog name]&#039;
hash_file_path = os.path.expanduser(&quot;~/.blogger/&quot;)

def main():
req = urllib2.Request(feed_url)
response = urllib2.urlopen(req)
feed = response.read()
hash_file_name = hash_file_path + md5(blog_url).hexdigest()

if os.path.exists(hash_file_name):
hash_file = open(hash_file_name, &quot;r+&quot;)
last_digest = hash_file.read(os.path.getsize(hash_file_name))
else:
hash_file = open(hash_file_name, &quot;w&quot;)
last_digest = &#039;&#039;

curr_digest = md5(feed).hexdigest()

if curr_digest != last_digest:
ping = Ping(blog_name, blog_url)
responses = ping.ping_all([&#039;icerocket&#039;,&#039;technorati&#039;,&#039;google&#039;])
hash_file.write(curr_digest)

hash_file.close()

class Ping:
def __init__(self, blog_name, blog_url):
self.blog_name = blog_name
self.blog_url = blog_url

def ping_all(self, down_stream_services):
responses = []

for down_stream_service in down_stream_services:
method = eval(&#039;self._&#039; + down_stream_service)
responses.append(method.__call__())

return responses

def _icerocket(self):
server = xmlrpclib.ServerProxy(&#039;http://rpc.icerocket.com:10080&#039;)
response = server.ping(self.blog_name, self.blog_url)
# print &quot;Icerocket response : &quot; + str(response)
return response

def _technorati(self):
server = xmlrpclib.ServerProxy(&#039;http://rpc.technorati.com/rpc/ping&#039;)
response = server.weblogUpdates.ping(self.blog_name, self.blog_url)
# print &quot;Technorati response : &quot; + str(response)
return response

def _google(self):
server = xmlrpclib.ServerProxy(&#039;http://blogsearch.google.com/ping/RPC2&#039;)
response = server.weblogUpdates.ping(self.blog_name, self.blog_url)
# print &quot;Google blog search response : &quot; + str(response)
return response

main()
</pre><p>When ever the script is invoked it will get the post feed content, and create a md5 hash of it and then compare the hash against the last known hash, if they differ ping the given list of service.</p><p>This is very convenient if you have someplace to run the cron job. Even your own machine is sufficient if you can keep your machine on for at least 15 minutes after the blog post is made.</p><p>To run the script you need to python 2.4 to later and the python package hashlib. Hope you will find this useful.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/01/automagically-ping-blog-search-engines.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/01/automagically-ping-blog-search-engines.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Adding social bookmarking links to blogger</title><link>http://mohanjith.net/blog/2008/01/adding-social-bookmarking-links-to-blogger.html</link> <comments>http://mohanjith.net/blog/2008/01/adding-social-bookmarking-links-to-blogger.html#comments</comments> <pubDate>Sun, 13 Jan 2008 15:16:00 +0000</pubDate> <dc:creator>S H Mohanjith</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Blogger]]></category> <category><![CDATA[hacking]]></category><guid
isPermaLink="false">http://mohanjith.net/wordpress/?p=27</guid> <description><![CDATA[TweetI recently wanted to add social bookmarking links to all of my blog posts. As you might notice my blog is hosted on blogger, only way I could do that is by editing the template. I thought I would share how to get about editing the template such that you add social bookmarking links which [...]]]></description> <content:encoded><![CDATA[<p><span
style="float: right; margin: 5px 0px 0px 5px;" ><a
class="twitter-share-button"  data-via="mohanjith" data-count="vertical" data-related="" data-lang="en" data-url="http://mohanjith.net/blog/2008/01/adding-social-bookmarking-links-to-blogger.html" data-text="Adding social bookmarking links to blogger" href="http://twitter.com/share?via=mohanjith&#038;count=vertical&#038;related=&#038;lang=en&#038;url=http%3A%2F%2Fmohanjith.net%2Fblog%2F2008%2F01%2Fadding-social-bookmarking-links-to-blogger.html&#038;text=Adding%20social%20bookmarking%20links%20to%20blogger" >Tweet</a></span>I recently wanted to add social bookmarking links to all of my blog posts. As you might notice my blog is hosted on blogger, only way I could do that is by editing the template. I thought I would share how to get about editing the template such that you add social bookmarking links which will automatically add the post permalink and the title if possible.</p><p>To edit the template, Sign into your blogger.com account and goto Template -&gt; Edit HTML and then select Expand Widget Templates. Search for <code>&lt;data:post.body/&gt;</code>, just after <code>&lt;data:post.body/&gt;&lt;div style="clear: both;"&gt; &lt;!-- clear for photos floats --&gt;</code> insert the following code.</p><p><code><pre class="brush: xhtml; ">
&lt;!-- Start of social bookmarks --&gt;
&lt;div class=&#039;service-links&#039;&gt;
&lt;div class=&#039;service-label&#039;&gt;Bookmark this post with: &lt;/div&gt;
&lt;ul class=&#039;links&#039;&gt;
&lt;li class=&#039;service_links_digg&#039;&gt;
&lt;a class=&#039;service_links_digg&#039; expr:href=&#039;&quot;http://digg.com/submit?phase=2&amp;amp;url=&quot; + data:post.url + &quot;&amp;amp;title=&quot; + data:post.title&#039; rel=&#039;nofollow&#039; title=&#039;Digg this post on digg.com.&#039;&gt;
&lt;img alt=&#039;Digg&#039; src=&#039;http://mohanjith.net/images/service_links/digg.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&#039;service_links_stumbleupon&#039;&gt;
&lt;a class=&#039;service_links_stumbleupon&#039; expr:href=&#039;&quot;http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;amp;title=&quot; + data:post.title&#039; rel=&#039;nofollow&#039; title=&#039;Bookmark this post on StumbleUpon.&#039;&gt;
&lt;img alt=&#039;StumbleUpon&#039; src=&#039;http://mohanjith.net/images/service_links/stumbleupon.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&#039;service_links_delicious&#039;&gt;
&lt;a class=&#039;service_links_delicious&#039; expr:href=&#039;&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;amp;title=&quot; + data:post.title&#039; rel=&#039;nofollow&#039; title=&#039;Bookmark this post on del.icio.us.&#039;&gt;
&lt;img alt=&#039;Delicious&#039; src=&#039;http://mohanjith.net/images/service_links/delicious.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&#039;service_links_reddit&#039;&gt;
&lt;a class=&#039;service_links_reddit&#039; expr:href=&#039;&quot;http://reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;amp;title=&quot; + data:post.title&#039; rel=&#039;nofollow&#039; title=&#039;Submit this post on reddit.com.&#039;&gt;
&lt;img alt=&#039;Reddit&#039; src=&#039;http://mohanjith.net/images/service_links/reddit.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&#039;service_links_newsvine&#039;&gt;
&lt;a class=&#039;service_links_newsvine&#039; expr:href=&#039;&quot;http://www.newsvine.com/_tools/seed&amp;amp;save?u=&quot; + data:post.url + &quot;&amp;amp;h=&quot; + data:post.title&#039; rel=&#039;nofollow&#039; title=&#039;Submit this post on newsvine.com.&#039;&gt;
&lt;img alt=&#039;Newsvine&#039; src=&#039;http://mohanjith.net/images/service_links/newsvine.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&#039;service_links_facebook&#039;&gt;
&lt;a class=&#039;service_links_facebook&#039; expr:href=&#039;&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;amp;t=&quot; + data:post.title&#039; rel=&#039;nofollow&#039; title=&#039;Share on Facebook.&#039;&gt;
&lt;img alt=&#039;Facebook&#039; src=&#039;http://mohanjith.net/images/service_links/facebook.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&#039;service_links_google&#039;&gt;
&lt;a class=&#039;service_links_google&#039; expr:href=&#039;&quot;http://www.google.com/bookmarks/mark?op=add&amp;amp;bkmk=&quot; + data:post.url + &quot;&amp;amp;title=&quot; + data:post.title&#039; rel=&#039;nofollow&#039; title=&#039;Bookmark this post on Google.&#039;&gt;
&lt;img alt=&#039;Google&#039; src=&#039;http://mohanjith.net/images/service_links/google.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&#039;service_links_yahoo&#039;&gt;
&lt;a class=&#039;service_links_yahoo&#039; expr:href=&#039;&quot;http://myweb2.search.yahoo.com/myresults/bookmarklet?u=&quot; + data:post.url + &quot;&amp;amp;t=&quot; + data:post.title&#039; rel=&#039;nofollow&#039; title=&#039;Bookmark this post on Yahoo.&#039;&gt;
&lt;img alt=&#039;Yahoo&#039; src=&#039;http://mohanjith.net/images/service_links/yahoo.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&#039;last service_links_technorati&#039;&gt;
&lt;a class=&#039;service_links_technorati&#039; expr:href=&#039;&quot;http://technorati.com/cosmos/search.html?url=&quot;+data:post.url&#039; rel=&#039;nofollow&#039; title=&#039;Search Technorati for links to this post.&#039;&gt;
&lt;img alt=&#039;Technorati&#039; src=&#039;http://mohanjith.net/images/service_links/technorati.png&#039;/&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!-- End of social bookmarks --&gt;[/sourcecode]
Add the following code before &lt;code&gt;]]&gt;&lt;/b:skin&gt;&lt;/code&gt;.
[sourcecode language=&#039;css&#039;]/** Service links style **/
.service-links {
padding-top: 3px;
}
.service-links ul.links {
margin:0pt; padding:0pt;
}
.service-links ul.links li {
display:inline;
list-style-type:none;
padding: 0pt 0px;
background: none;
}
.service-links ul.links li img {
border: none;
padding: 3px;
}
.service-links ul.links li a {
border: none;
text-decoration: none;
}
</pre><p></code><br
/> Then save the template. Adding social bookmarking links and submitting your posts to social bookmarking networks would improve the visibility of your blog and help drive traffic to your blog.</p><div
id="fb-like" style=""><iframe
src="http://www.facebook.com/plugins/like.php?href=http://mohanjith.net/blog/2008/01/adding-social-bookmarking-links-to-blogger.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:300px; height:30px"></iframe></div>]]></content:encoded> <wfw:commentRss>http://mohanjith.net/blog/2008/01/adding-social-bookmarking-links-to-blogger.html/feed</wfw:commentRss> <slash:comments>21</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Database Caching 13/19 queries in 0.004 seconds using memcached
Object Caching 0/0 objects using memcached
Content Delivery Network via cdn.mohanjith.net

Served from: mohanjith.net @ 2012-05-30 08:38:15 -->
