<?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>Milan Dinić&#039;s Blog &#187; Blogging</title>
	<atom:link href="http://blog.milandinic.com/category/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.milandinic.com</link>
	<description>The Miscellaneous Ramblings from Serbia</description>
	<lastBuildDate>Thu, 02 Sep 2010 11:12:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://blog.milandinic.com/?pushpress=hub'/>
<cloud domain='blog.milandinic.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Having Posts in Subdirectory While Rest in Root</title>
		<link>http://blog.milandinic.com/2010/09/02/having-posts-in-subdirectory-while-rest-in-root/</link>
		<comments>http://blog.milandinic.com/2010/09/02/having-posts-in-subdirectory-while-rest-in-root/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 11:12:48 +0000</pubDate>
		<dc:creator>Milan Dinić</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[permalinks]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.milandinic.com/?p=266</guid>
		<description><![CDATA[I have tried for some time to make following: having WordPress installed in a root of host (like example.com) and having content below root (like example.com/page, or example.com/custom-post-type/entry), while having blog posts in special directory (like example.com/blog). This is needed when blog is not main type of content on WordPress powered website, but instead is [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I have tried for some time to make following: having WordPress installed in a root of host (like example.com) and having content below root (like example.com/page, or example.com/custom-post-type/entry), while having blog posts in special directory (like example.com/blog). This is needed when blog is not main type of content on WordPress powered website, but instead is just one part of a site. Example of usage is having a company website where pages are used for usual static content while there is blog or news section where updates are posted.</p>
<p>At first, this seems easy to achieve. Just change <a href="http://codex.wordpress.org/Using_Permalinks#Choosing_your_permalink_structure">permalink structure</a> on <a rel="nofollow" href="http://codex.wordpress.org/Permalinks_Options_SubPanel">Settings → Permalinks</a> page to something that starts with /blog/ (or whatever subfolder we want to use) as <a href="http://articles.tutorboy.com/wordpress/wordpress-custom-permalink-settings.html">some</a> <a href="http://wordpress.jdwebdev.com/blog/blog-subdirectory/">people</a> (and <a rel="nofollow" href="http://codex.wordpress.org/Permalinks_Options_SubPanel#Customize_Permalink_Structure">Codex entry</a>) already suggested.</p>
<p>But there is a problem with this approach: your blog posts will be in your chosen subdirectory but blog&#8217;s index and paged pages won&#8217;t. This means that you wouldn&#8217;t see latest posts by going to blog&#8217;s subdirectory (example.com/blog), but instead only by going to front page (example.com).</p>
<p>Solution for this is very easy and I couldn&#8217;t believe how I didn&#8217;t remember it. I found it <a href="http://www.warriorforum.com/main-internet-marketing-discussion-forum/52172-can-i-change-my-wordpress-blog-index-subdirectory.html#post480720">on WarriorForum</a>, posted by user Dan Sherman. You simply need to create two empty pages and go to <a rel="nofollow" href="http://codex.wordpress.org/Settings_Reading_SubPanel">Settings → Reading</a> page and choose those two pages as &#8220;Front page&#8221; and &#8220;Posts page&#8221;. Then you go to Settings → Permalinks and choose your new permalink structure.</p>
<p>What is important to remember is to give a name to page that should be chosen for &#8220;Posts page&#8221; with the same name as you want to name your subdirectory. Also note that for front page you need to either create content as you would for any page, or to use special <a href="http://codex.wordpress.org/Pages#Page_Templates">page template</a>.</p>
<p>Below is a video <a rel="nofollow" href="http://wordpress.tv/2009/01/13/creating-a-static-front-page-for-your-blog/">from WordPress.tv</a> on how to create and setup &#8220;Front page&#8221; and &#8220;Posts page&#8221;.</p>
<div style="text-align: center">
<p><embed src="http://v.wordpress.com/MLOHB4jk" type="application/x-shockwave-flash" width="500" height="281" allowscriptaccess="always" allowfullscreen="true" wmode="transparent"></embed></p>
</div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.milandinic.com/2010/09/02/having-posts-in-subdirectory-while-rest-in-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adopted plugin: Cache Images</title>
		<link>http://blog.milandinic.com/2010/08/01/adopted-plugin-cache-images/</link>
		<comments>http://blog.milandinic.com/2010/08/01/adopted-plugin-cache-images/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 22:16:00 +0000</pubDate>
		<dc:creator>Milan Dinić</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Cache Images]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.milandinic.com/?p=260</guid>
		<description><![CDATA[I kind of adopted plugin Cache Images whose original author was infamous Matt Mullenweg, co-founder of WordPress. Since I needed this functionality for my own needs, and this (and all similar plugins) was outdated, I rewrote it and send my changes to Matt who in turn gave me rights to update this plugin in wordpress.org [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I kind of adopted plugin <a href="http://blog.milandinic.com/wordpress/plugins/cache-images/">Cache Images</a> whose original author was infamous <a href="http://ma.tt/">Matt Mullenweg</a>, co-founder of <a href="http://wordpress.org/">WordPress</a>. Since I needed this functionality for my own needs, and this (and all similar plugins) was outdated, I rewrote it and send my changes to Matt who in turn gave me rights to update this plugin in <a rel="nofollow" href="http://wordpress.org/extend/plugins/">wordpress.org SVN repository</a>.</p>
<p>You can now download it from <a href="http://wordpress.org/extend/plugins/cache-images/" rel="nofollow" >here</a>.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.milandinic.com/2010/08/01/adopted-plugin-cache-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use load_plugin_textdomain on activation of plugin</title>
		<link>http://blog.milandinic.com/2009/11/11/how-to-use-load-plugin-textdomain-activation-plugin/</link>
		<comments>http://blog.milandinic.com/2009/11/11/how-to-use-load-plugin-textdomain-activation-plugin/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 22:33:48 +0000</pubDate>
		<dc:creator>Milan Dinić</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.milandinic.com/?p=141</guid>
		<description><![CDATA[With my new plugin, Gravatar Signup Encouragement, I had a problem with translation of string that is used only on activation. That string contains default message that is saved in database. No matter what I tried, it would always save original string, not translation. After asking question on wp-hackers mailing list and exchanging several replies [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>With my new plugin, <a href="http://blog.milandinic.com/wordpress/plugins/gravatar-signup-encouragement/">Gravatar Signup Encouragement</a>, I had a problem with translation of string that is used only on activation.</p>
<p>That string contains default message that is saved in database. No matter what I tried, it would always save original string, not translation.</p>
<p>After <a href="http://groups.google.com/group/wp-hackers/browse_thread/thread/4fdc895360c3b087#" rel="nofollow">asking question</a> on <a href="http://codex.wordpress.org/Mailing_Lists#Hackers" rel="nofollow">wp-hackers mailing list</a> and exchanging several replies with Otto, I found solution for this. In your function that is used in <a href="http://codex.wordpress.org/Function_Reference/register_activation_hook" rel="nofollow">register_activation_hook</a>, you need to again use function <a href="http://codex.wordpress.org/Function_Reference/load_plugin_textdomain" rel="nofollow">load_plugin_textdomain</a>, even if you loaded it already in init. It should be used before any string.</p>
<p>So if you encounter this problem, you know how to solve it.<br />
Don&#8217;t forget to try my plugin mentioned here, <a href="http://blog.milandinic.com/wordpress/plugins/gravatar-signup-encouragement/">Gravatar Signup Encouragement</a>.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.milandinic.com/2009/11/11/how-to-use-load-plugin-textdomain-activation-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing Gravatar Signup Encouragement</title>
		<link>http://blog.milandinic.com/2009/10/18/introducing-gravatar-signup-encouragement/</link>
		<comments>http://blog.milandinic.com/2009/10/18/introducing-gravatar-signup-encouragement/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 22:05:44 +0000</pubDate>
		<dc:creator>Milan Dinić</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[Gravatar]]></category>
		<category><![CDATA[Gravatar Signup Encouragement]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.milandinic.com/?p=131</guid>
		<description><![CDATA[Gravatar Signup Encouragement is my first publicly released plugin for WordPress. I got idea to write it after reading comments on post on Weblog Tools Collection titled “Why Is Gravatar Still Not Mainstream”. At that same day I made first version of plugin and posted link to it&#8217;s download page as comment on post waiting [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://blog.milandinic.com/wordpress/plugins/gravatar-signup-encouragement/">Gravatar Signup Encouragement</a> is my first publicly released plugin for WordPress. I got idea to write it after reading comments on post on Weblog Tools Collection titled “<a rel="nofollow" href="http://weblogtoolscollection.com/archives/2009/08/17/why-is-gravatar-still-not-mainstream/">Why Is Gravatar Still Not Mainstream</a>”. At that same day I made <a href="http://www.divshare.com/download/8223159-8b6" rel="nofollow">first version</a> of plugin and posted link to it&#8217;s download page as comment on post waiting for responses but comment never appeared.</p>
<p>For last couple of weeks I was doing slow rewriting of plugin while adding new features and finally decided to release it publicly and to add it to WordPress plugin directory. You can now download it from <a rel="nofollow" href="http://wordpress.org/extend/plugins/gravatar-signup-encouragement/">here</a>.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.milandinic.com/2009/10/18/introducing-gravatar-signup-encouragement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
