<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: 3.1.0 Beta 4 Beta 5</title>
	<link>http://remstate.com/2008/02/10/310-beta-5/</link>
	<description>Create the Internet of your Dreams</description>
	<pubDate>Sun, 20 Jul 2008 13:46:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Quandary</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-12995</link>
		<dc:creator>Quandary</dc:creator>
		<pubDate>Fri, 18 Jul 2008 01:27:50 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-12995</guid>
		<description>Yep. Please refer to the FAQ (specifically, you need to follow &lt;a href="http://remstate.com/projects/in-series/faq/#Proper-upgrade-procedure" rel="nofollow"&gt;proper upgrade procedure&lt;/a&gt;).</description>
		<content:encoded><![CDATA[<p>Yep. Please refer to the FAQ (specifically, you need to follow <a href="http://remstate.com/projects/in-series/faq/#Proper-upgrade-procedure" rel="nofollow">proper upgrade procedure</a>).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luc</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-12987</link>
		<dc:creator>Luc</dc:creator>
		<pubDate>Thu, 17 Jul 2008 21:56:06 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-12987</guid>
		<description>Hello,

I'ma happy 3.0.12 user
My weblog uses WP 2.6

I tried 3.1.0 beta 5 and got


Warning: Invalid argument supplied for foreach() in /foo/bar/wp-content/plugins/in-series/in-series-config.php on line 45

Warning: Invalid argument supplied for foreach() in /foo/bar/wp-content/plugins/in-series/in-series-config-advanced.php on line 20

Any idea 

Luc</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I&#8217;ma happy 3.0.12 user<br />
My weblog uses WP 2.6</p>
<p>I tried 3.1.0 beta 5 and got</p>
<p>Warning: Invalid argument supplied for foreach() in /foo/bar/wp-content/plugins/in-series/in-series-config.php on line 45</p>
<p>Warning: Invalid argument supplied for foreach() in /foo/bar/wp-content/plugins/in-series/in-series-config-advanced.php on line 20</p>
<p>Any idea </p>
<p>Luc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quandary</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-12927</link>
		<dc:creator>Quandary</dc:creator>
		<pubDate>Wed, 16 Jul 2008 03:51:18 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-12927</guid>
		<description>Yep.</description>
		<content:encoded><![CDATA[<p>Yep.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-12926</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Wed, 16 Jul 2008 03:44:11 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-12926</guid>
		<description>Does the latest beta version have the option to only display the TOC on post pages? 

thanks</description>
		<content:encoded><![CDATA[<p>Does the latest beta version have the option to only display the TOC on post pages? </p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quandary</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-12582</link>
		<dc:creator>Quandary</dc:creator>
		<pubDate>Tue, 08 Jul 2008 15:19:52 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-12582</guid>
		<description>Err... the &lt;em&gt;HTML&lt;/em&gt; &lt;code&gt;&#60;title&#62;&lt;/code&gt;, or the title of the post (In Series automatically inserts &#60;link/&#62; elements by default)? If not the HTML title, "directly after" the title of the post would be the very start of the_content, ne? If that's sufficient, check the &lt;a href="http://remstate.com/projects/in-series/faq/#ToC-at-the-bottom" rel="nofollow"&gt;FAQ&lt;/a&gt; (and essentially reverse the positioning to put the ToC info at the very start). If not, you'll need to turn off the automatic templating, and go to manual tags -- the public API is fully documented in in-series.php.</description>
		<content:encoded><![CDATA[<p>Err&#8230; the <em>HTML</em> <code>&lt;title&gt;</code>, or the title of the post (In Series automatically inserts &lt;link/&gt; elements by default)? If not the HTML title, &#8220;directly after&#8221; the title of the post would be the very start of the_content, ne? If that&#8217;s sufficient, check the <a href="http://remstate.com/projects/in-series/faq/#ToC-at-the-bottom" rel="nofollow">FAQ</a> (and essentially reverse the positioning to put the ToC info at the very start). If not, you&#8217;ll need to turn off the automatic templating, and go to manual tags &#8212; the public API is fully documented in in-series.php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Lurie</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-12579</link>
		<dc:creator>Peter Lurie</dc:creator>
		<pubDate>Tue, 08 Jul 2008 12:30:10 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-12579</guid>
		<description>Thanks for the plugin...

a small request... I'd like to change the displayed position of In-Series to directly after the TITLE, and not after the_content.

Is there a way of doing this with a template tag?

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks for the plugin&#8230;</p>
<p>a small request&#8230; I&#8217;d like to change the displayed position of In-Series to directly after the TITLE, and not after the_content.</p>
<p>Is there a way of doing this with a template tag?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-10746</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Tue, 22 Apr 2008 21:31:42 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-10746</guid>
		<description>Just so you know where i was coming from, the vast majority of posts on the blog i run are not in a series - but for the series we DO have, it is important to have a ToC. An empty ToC widget does mess things up though. Fortunately i've written my own plugin that allows me to show the widget only when

is_single() &#38;&#38; InSeries::adv_CurrentSeries($post-&#62;ID)

Cheers for the plugin - wouldn't be without it.</description>
		<content:encoded><![CDATA[<p>Just so you know where i was coming from, the vast majority of posts on the blog i run are not in a series - but for the series we DO have, it is important to have a ToC. An empty ToC widget does mess things up though. Fortunately i&#8217;ve written my own plugin that allows me to show the widget only when</p>
<p>is_single() &amp;&amp; InSeries::adv_CurrentSeries($post-&gt;ID)</p>
<p>Cheers for the plugin - wouldn&#8217;t be without it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quandary</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-10041</link>
		<dc:creator>Quandary</dc:creator>
		<pubDate>Wed, 19 Mar 2008 02:18:48 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-10041</guid>
		<description>&lt;blockquote&gt;
&lt;p&gt;BTW, if the series went away, so would the widget registration so your point #3 shouldn’t be a problem. The widget would disappear, although all the options would still be in the db - much the same as deactivating a plugin without removing the widget first.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Eeeeh... I'd have to test that. The scenario I'm envisioning is that the user has &lt;em&gt;only&lt;/em&gt; the Series List widget installed, and then removes their only post... then their sidebar either reverts to the default (and stays that way), or switches between the default sidebar and the custom/widget sidebar (depending on if they add a new series). You may very well be technically correct; in any case, I have to commend you for a very interesting way to solve the problem. :)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Another BTW - if you use the get_args($args) function, you have available all of the arguments as vars, i.e., $before_widget, $before_title, etc. rather than having to get them from the array. Just a little easier, IMHO.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;p&gt;get_args() isn't a PHP or WordPress-defined function; I assume you mean &lt;a href="http://php.net/extract/" rel="nofollow"&gt;extract($args)&lt;/a&gt;. I concur that explicit array references are not as pretty as nice, succinct variable references. However, from a clarity and defensive coding standpoint, I much prefer explicit array references. Specifically, someone reading the code knows where the variable came from (clarity), and you won't accidentally overwrite your local variables if your caller decides to add new values to the array (security). Yes, you can tell extract() to not clobber existing variables (it's not the default), but you still pollute your namespace -- as soon as some schmuck decides to use an uninitialized variable, you have a potential vulnerability in your code. :)&lt;/p&gt;

&lt;p&gt;I really appreciate you taking the time to go through the code base and give your thoughts; please feel free to get in touch with me via e-mail if you'd like to discuss anything else. I can always use more help!&lt;/p&gt;</description>
		<content:encoded><![CDATA[<blockquote>
<p>BTW, if the series went away, so would the widget registration so your point #3 shouldn’t be a problem. The widget would disappear, although all the options would still be in the db - much the same as deactivating a plugin without removing the widget first.</p>
</blockquote>
<p>Eeeeh&#8230; I&#8217;d have to test that. The scenario I&#8217;m envisioning is that the user has <em>only</em> the Series List widget installed, and then removes their only post&#8230; then their sidebar either reverts to the default (and stays that way), or switches between the default sidebar and the custom/widget sidebar (depending on if they add a new series). You may very well be technically correct; in any case, I have to commend you for a very interesting way to solve the problem. :)</p>
<blockquote>
<p>Another BTW - if you use the get_args($args) function, you have available all of the arguments as vars, i.e., $before_widget, $before_title, etc. rather than having to get them from the array. Just a little easier, IMHO.</p>
</blockquote>
<p>get_args() isn&#8217;t a PHP or WordPress-defined function; I assume you mean <a href="http://php.net/extract/" rel="nofollow">extract($args)</a>. I concur that explicit array references are not as pretty as nice, succinct variable references. However, from a clarity and defensive coding standpoint, I much prefer explicit array references. Specifically, someone reading the code knows where the variable came from (clarity), and you won&#8217;t accidentally overwrite your local variables if your caller decides to add new values to the array (security). Yes, you can tell extract() to not clobber existing variables (it&#8217;s not the default), but you still pollute your namespace &#8212; as soon as some schmuck decides to use an uninitialized variable, you have a potential vulnerability in your code. :)</p>
<p>I really appreciate you taking the time to go through the code base and give your thoughts; please feel free to get in touch with me via e-mail if you&#8217;d like to discuss anything else. I can always use more help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-10030</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 18 Mar 2008 19:53:57 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-10030</guid>
		<description>Right you are...you have different considerations when writing a plugin for general consumption vs. a custom, like I usually do.

BTW, if the series went away, so would the widget registration so your point #3 shouldn't be a problem. The widget would disappear, although all the options would still be in the db - much the same as deactivating a plugin without removing the widget first.

The other two reasons, though, are enough arguments against doing it as I suggested.

And duh - having a blank sidebar widget would certainly be an indication to take it out, wouldn't it? LOL

Another BTW - if you use the get_args($args) function, you have available all of the arguments as vars, i.e., $before_widget, $before_title, etc. rather than having to get them from the array. Just a little easier, IMHO.</description>
		<content:encoded><![CDATA[<p>Right you are&#8230;you have different considerations when writing a plugin for general consumption vs. a custom, like I usually do.</p>
<p>BTW, if the series went away, so would the widget registration so your point #3 shouldn&#8217;t be a problem. The widget would disappear, although all the options would still be in the db - much the same as deactivating a plugin without removing the widget first.</p>
<p>The other two reasons, though, are enough arguments against doing it as I suggested.</p>
<p>And duh - having a blank sidebar widget would certainly be an indication to take it out, wouldn&#8217;t it? LOL</p>
<p>Another BTW - if you use the get_args($args) function, you have available all of the arguments as vars, i.e., $before_widget, $before_title, etc. rather than having to get them from the array. Just a little easier, IMHO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quandary</title>
		<link>http://remstate.com/2008/02/10/310-beta-5/#comment-10010</link>
		<dc:creator>Quandary</dc:creator>
		<pubDate>Tue, 18 Mar 2008 01:46:35 +0000</pubDate>
		<guid>http://remstate.com/2008/02/10/310-beta-5/#comment-10010</guid>
		<description>Hey Steve,

I prefer to blame the system for being stupid before blaming users. ;)

Conditional registration is a thought that had not occurred to me, and it's a novel idea, but I think it could be confusing and potentially harmful. Specifically, I can envision:

&lt;ul&gt;
&lt;li&gt;Users reporting the fact that the widget is not available as a bug&lt;/li&gt;
&lt;li&gt;Users not using the series widget, because it's not immediately available after installation&lt;/li&gt;
&lt;li&gt;Users creating a series, adding the widget, then deciding they didn't want that series... at which point, we're in a broken state (unregistered widget on the sidebar).&lt;/li&gt;
&lt;/ul&gt;

What I can do is make it so that the widget will still output its header, even when there's no content. Given the header, I think that most folks will know "hey, that spot's empty because I don't have any series yet; maybe I should go write one, or take that widget out." :)</description>
		<content:encoded><![CDATA[<p>Hey Steve,</p>
<p>I prefer to blame the system for being stupid before blaming users. ;)</p>
<p>Conditional registration is a thought that had not occurred to me, and it&#8217;s a novel idea, but I think it could be confusing and potentially harmful. Specifically, I can envision:</p>
<ul>
<li>Users reporting the fact that the widget is not available as a bug</li>
<li>Users not using the series widget, because it&#8217;s not immediately available after installation</li>
<li>Users creating a series, adding the widget, then deciding they didn&#8217;t want that series&#8230; at which point, we&#8217;re in a broken state (unregistered widget on the sidebar).</li>
</ul>
<p>What I can do is make it so that the widget will still output its header, even when there&#8217;s no content. Given the header, I think that most folks will know &#8220;hey, that spot&#8217;s empty because I don&#8217;t have any series yet; maybe I should go write one, or take that widget out.&#8221; :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
