<?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; Tips &amp; Tricks</title>
	<atom:link href="http://blog.milandinic.com/category/tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.milandinic.com</link>
	<description>The Miscellaneous Ramblings from Serbia</description>
	<lastBuildDate>Sun, 09 Oct 2011 18:29:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</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>How to Post in Cyrillic (or Any Unicode Script) in TweetDeck</title>
		<link>http://blog.milandinic.com/2011/10/02/how-to-post-in-cyrillic-or-any-unicode-script-in-tweetdeck/</link>
		<comments>http://blog.milandinic.com/2011/10/02/how-to-post-in-cyrillic-or-any-unicode-script-in-tweetdeck/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 19:44:36 +0000</pubDate>
		<dc:creator>Milan Dinić</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[TweetDeck]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Windows App]]></category>

		<guid isPermaLink="false">http://blog.milandinic.com/?p=345</guid>
		<description><![CDATA[I wanted to use TweetDeck desktop app for Windows to post on some Twitter accounts in Serbian but when I started typing Cyrillic letters, they didn&#8217;t show up. I looked through settings (apparently not good enough) but I didn&#8217;t find any related to my problem. Then I did some searching and found solution. Thing is [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<p>I wanted to use <a href="http://www.tweetdeck.com/desktop/">TweetDeck desktop app</a> for Windows to post on some Twitter accounts in Serbian but when I started typing Cyrillic letters, they didn&#8217;t show up. I looked through settings (apparently not good enough) but I didn&#8217;t find any related to my problem.</p>
<p>Then I did some searching and found <a href="http://gurustop.net/blog/2009/07/19/reading-arabic-amp-unicode-tweets-in-tweetdeck/">solution</a>. Thing is that for some strange reason TweetDeck allows you to type only in Latin script. If you want to type in Cyrillic, Arabic, Japanese, Chinese or any other script, you need to go to settings, then chose Color/Fonts and under TweetDeck Font choose International Font / TwitterKey.</p>
<p><a href="http://blog.milandinic.com/wp-content/uploads/2011/10/tweetdeck-font-settings.jpg"><img src="http://blog.milandinic.com/wp-content/uploads/2011/10/tweetdeck-font-settings-300x223.jpg" alt="" title="TweetDeck Font Settings" width="300" height="223" class="aligncenter size-medium wp-image-346" /></a></p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://blog.milandinic.com/2011/10/02/how-to-post-in-cyrillic-or-any-unicode-script-in-tweetdeck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Merging AVI Video Files With Joiner That Works: AVI Joiner</title>
		<link>http://blog.milandinic.com/2011/06/19/merging-avi-video-files-with-joiner-that-works-avi-joiner/</link>
		<comments>http://blog.milandinic.com/2011/06/19/merging-avi-video-files-with-joiner-that-works-avi-joiner/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 22:39:38 +0000</pubDate>
		<dc:creator>Milan Dinić</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://blog.milandinic.com/?p=338</guid>
		<description><![CDATA[I needed to join several video files into one larger. All files were of the same codec, container (AVI) so it should have been simple. But instead I needed to try several programs to actually succeed. Those that I tried didn&#8217;t work as expected or made unbelievable results (one made file 315 GB large from [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<p>I needed to join several video files into one larger. All files were of the same codec, container (AVI) so it should have been simple. But instead I needed to try several programs to actually succeed. Those that I tried didn&#8217;t work as expected or made unbelievable results (one made file 315 GB large from 7 files large 1,3 GB in total — that didn&#8217;t work).</p>
<p>The only program that worked is <a href="http://www.brizsoft.com/avijoin/">AVI Joiner</a>. Unfortunately, it is a shareware program but it has a trial period (which was enough for me this time).</p>
<p>Files are merged relatively quickly and results are great: it&#8217;s doing joining fast, quality is identical as from original files, and size is same as sum of all files.</p>
<p>AVI Joiner is very simple to use so I recommend it to everyone that needs quick joining of AVI files.</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://blog.milandinic.com/2011/06/19/merging-avi-video-files-with-joiner-that-works-avi-joiner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How I Solved issue with OpenX missing stats</title>
		<link>http://blog.milandinic.com/2010/11/16/how-i-solved-issue-with-openx-missing-stats/</link>
		<comments>http://blog.milandinic.com/2010/11/16/how-i-solved-issue-with-openx-missing-stats/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 16:37:47 +0000</pubDate>
		<dc:creator>Milan Dinić</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web design]]></category>
		<category><![CDATA[OpenX]]></category>

		<guid isPermaLink="false">http://blog.milandinic.com/?p=299</guid>
		<description><![CDATA[I loved OpenX project. Actually, I loved it when it had old name, phpAdsNew. I even wrote a huge post recommending other to use it. Unfortunately, OpenX open source project is like dead now. There is no good support, there are security vulnerabilities, installation have problems&#8230; One of common problems (by looking in their forum) [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<p>I loved <a href="http://www.openx.org/" rel="nofollow">OpenX project</a>. Actually, I loved it when it had old name, <a href="http://en.wikipedia.org/wiki/OpenX#History" rel="nofollow">phpAdsNew</a>. I even wrote a <a href="http://www.milandinic.com/2008/10/12/openx-napredno-prikazivanje-reklama-na-veb-stranicama/">huge post</a> recommending other to use it.</p>
<p>Unfortunately, OpenX open source project is like dead now. There is no good support, there are security vulnerabilities, installation have problems&#8230;</p>
<p>One of common problems (by looking in their forum) is that stats aren&#8217;t recorded. This is what happened to me. One day I logged to my OpenX installation and stats page said there wasn&#8217;t any impression on that day. I checked my sites and saw that ads are running normally. So I waited to see if it&#8217;s something temporary but even after days passed, nothing changed.</p>
<p>Then I noticed there is a new version 2.8.7 available (I was running 2.8.5) so I upgraded my installation. But nothing changed: ads were delivering, I can see old stats but not a new one.</p>
<p>I decided to see if there is some solution on the web and on OpenX forums, but I can see rantings and issues that weren&#8217;t applying to me. Then I saw <a href="http://forum.openx.org/index.php?showtopic=503486901&#038;view=findpost&#038;p=270441" rel="nofollow">one post</a> of some guy who said that he optimized and repaired his database and after that everything started to work. I did that too. But by looking in my debug.log file, I also noticed that there weren&#8217;t plugins in my installation. It appeared that new versions don&#8217;t contain plugins in itself, just empty folders. So I copied plugins from old versions.</p>
<p>And then, stats started to record again.</p>
<p>My solution (which is maybe not applicable to everyone):</p>
<ul>
<li>check if you actually have plugins (at both place /plugins and /admin/plugins)</li>
<li>optimize and repair your database; since this requires some time, turn off delivery from you websites</li>
</ul>
<p>I feel sorry when I see how this once great software is dying. What is worse, there is no any open source alternative to it. The only alternative I see is <a href="https://www.google.com/dfp/info/welcome.html" rel="nofollow">DoubleClick for Publishers</a>, formerly know as Google Ad Manager, which I&#8217;ll consider moving to.</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://blog.milandinic.com/2010/11/16/how-i-solved-issue-with-openx-missing-stats/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<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="620" height="348" 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>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>About Blog&#8217;s Inaccessibility</title>
		<link>http://blog.milandinic.com/2007/08/16/about-blogs-inaccessibility/</link>
		<comments>http://blog.milandinic.com/2007/08/16/about-blogs-inaccessibility/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 21:03:39 +0000</pubDate>
		<dc:creator>Milan Dinić</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web design]]></category>

		<guid isPermaLink="false">http://blog.milandinic.com/2007/08/16/about-blogs-inaccessibility/</guid>
		<description><![CDATA[Those who last days came on this blog, saw page with many advertisings. Thats happen because domain expired, but not fully by my mistake. Ten days before expiration, I went to my registrar i tried to renew domain, but they couldn&#8217;t bill my card (even I paid before over there with it and same day [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start -->
<div style="float: right"><script type="text/javascript"><!--
google_ad_client = "pub-0482480102387580";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as";
google_ad_type = "text_image";
google_ad_channel = "7136795983";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "21759B";
google_color_text = "000000";
google_color_url = "21759B";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>Those who last days came on this blog, saw page with many advertisings. Thats happen because domain expired, but not fully by my mistake. Ten days before expiration, I went to my registrar i tried to renew domain, but they couldn&#8217;t bill my card (even I paid before over there with it and same day on some other website). I have mailed for days with their support, but they couldn&#8217;t solve problem. And then domain expired. Luckily, by new regulations, there is redemption period of one month during there is possible to renew domain, but is not possible to use it. Meanwhile, I signed up for virtual Visa card and paid with it, since I couldn&#8217;t do it on other way.</p>
<p>So from this story you should learn that you shouldn&#8217;t wait to renew your domain, you should do it months before it expire.</p>
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://blog.milandinic.com/2007/08/16/about-blogs-inaccessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

