<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PostXING plugin-TechnoratiTagger</title>
	<atom:link href="http://devintelligence.com/2006/02/postxing-plugin-technoratitagger/feed/" rel="self" type="application/rss+xml" />
	<link>http://devintelligence.com/2006/02/postxing-plugin-technoratitagger/</link>
	<description>Random thoughts about .Net development</description>
	<lastBuildDate>Fri, 13 Apr 2012 07:11:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: adventurer</title>
		<link>http://devintelligence.com/2006/02/postxing-plugin-technoratitagger/comment-page-1/#comment-29</link>
		<dc:creator>adventurer</dc:creator>
		<pubDate>Tue, 14 Mar 2006 20:13:02 +0000</pubDate>
		<guid isPermaLink="false">/blogs/netadventures/archive/2006/02/28/1157.aspx#comment-29</guid>
		<description>Thanks !
I fix path issues in next version .</description>
		<content:encoded><![CDATA[<p>Thanks !<br />
I fix path issues in next version .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Frazier</title>
		<link>http://devintelligence.com/2006/02/postxing-plugin-technoratitagger/comment-page-1/#comment-28</link>
		<dc:creator>Chris Frazier</dc:creator>
		<pubDate>Thu, 09 Mar 2006 06:07:05 +0000</pubDate>
		<guid isPermaLink="false">/blogs/netadventures/archive/2006/02/28/1157.aspx#comment-28</guid>
		<description>Hey, I was looking at the plugin directory after using this plugin and noticed that you are storing the history right in the plugin/install directory. This is okay if the user is running as admin (like me:) but if it&#039;s just a regular user, there may be unexpected problems wrt permissions.

A better idea (and one I use in PostXING) is to use a program-specific folder under the ApplicationData folder for storing read/write settings data. To get this user-specific folder, use Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)

So, for example, if you wanted to store the history file in the same folder that PostXING uses, you would create a method like so:

public static string GetUserPath() {
    string s = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), &quot;PostXING&quot;);
			if(!Directory.Exists(s)) Directory.CreateDirectory(s);

	return s;
}

If you wanted to store it in a folder called TechnoratiTagger (an approach that I have used for plugins before), you would replace the string &quot;PostXING&quot; with &quot;TechnoratiTagger&quot; or wherever you wanted the config file to sit.

Other than that, this is a really awesome plugin. I appreciate you taking the time to write it. Thanks!</description>
		<content:encoded><![CDATA[<p>Hey, I was looking at the plugin directory after using this plugin and noticed that you are storing the history right in the plugin/install directory. This is okay if the user is running as admin (like me:) but if it&#8217;s just a regular user, there may be unexpected problems wrt permissions.</p>
<p>A better idea (and one I use in PostXING) is to use a program-specific folder under the ApplicationData folder for storing read/write settings data. To get this user-specific folder, use Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)</p>
<p>So, for example, if you wanted to store the history file in the same folder that PostXING uses, you would create a method like so:</p>
<p>public static string GetUserPath() {<br />
    string s = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), &#8220;PostXING&#8221;);<br />
			if(!Directory.Exists(s)) Directory.CreateDirectory(s);</p>
<p>	return s;<br />
}</p>
<p>If you wanted to store it in a folder called TechnoratiTagger (an approach that I have used for plugins before), you would replace the string &#8220;PostXING&#8221; with &#8220;TechnoratiTagger&#8221; or wherever you wanted the config file to sit.</p>
<p>Other than that, this is a really awesome plugin. I appreciate you taking the time to write it. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Frazier</title>
		<link>http://devintelligence.com/2006/02/postxing-plugin-technoratitagger/comment-page-1/#comment-27</link>
		<dc:creator>Chris Frazier</dc:creator>
		<pubDate>Wed, 01 Mar 2006 01:21:05 +0000</pubDate>
		<guid isPermaLink="false">/blogs/netadventures/archive/2006/02/28/1157.aspx#comment-27</guid>
		<description>That&#039;s awesome! Just so you know, in v2 I have exposed a way to get at categories (thru a current post property) so this could be even more automated. That would be slick.

I&#039;ve got a couple of bugs to iron out before v2 beta, but it should be ready to go before too long.

Thanks for creating such a useful plugin!
-Chris</description>
		<content:encoded><![CDATA[<p>That&#8217;s awesome! Just so you know, in v2 I have exposed a way to get at categories (thru a current post property) so this could be even more automated. That would be slick.</p>
<p>I&#8217;ve got a couple of bugs to iron out before v2 beta, but it should be ready to go before too long.</p>
<p>Thanks for creating such a useful plugin!<br />
-Chris</p>
]]></content:encoded>
	</item>
</channel>
</rss>

