<?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: index.py</title>
	<atom:link href="http://snarfed.org/pyblosxom_index/feed" rel="self" type="application/rss+xml" />
	<link>http://snarfed.org</link>
	<description>Ryan Barrett&#039;s blog</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:29:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Markus</title>
		<link>http://snarfed.org/pyblosxom_index#comment-980</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/pyblosxom_index#comment-980</guid>
		<description>&lt;p&gt;Hi ryan,&lt;br /&gt;
&lt;br /&gt;
I was trying to set up index.py for my pyblosxom installation as I did for all the other plugins (pycalendar, pyarchives, comments, etc.).&lt;br /&gt;
&lt;br /&gt;
In all those cases, I for example had to put `$calendar&#039; into my flavour file (head.html) in this paritcular case which does look like &lt;br /&gt;
&lt;br /&gt;
&#160; &quot;&lt;div class=&#092;&quot;menu&#092;&quot;&gt;&lt;br /&gt;
&#160; &lt;div class=&#092;&quot;menuhead&#092;&quot;&gt;&lt;br /&gt;
&#160; Calendar&lt;br /&gt;
&#160; &lt;/div&gt;&lt;br /&gt;
&#160; &lt;div class=&#092;&quot;menubody&#092;&quot;&gt;&lt;br /&gt;
&#160; $calendar&lt;br /&gt;
&#160; &lt;/div&gt;&lt;br /&gt;
&#160; &lt;/div&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
THE QUESTION:&lt;br /&gt;
I wasn&#039;t able to set up index.py for some reason I don&#039;t know yet. Well, index.py is in place as pycalendar.py etc. is so I think thats all fine. What I don&#039;t understand is this &quot;index_trigger&quot; thing and how do I integrate this into my flavour file? Can you maybe add this to the doc string of index.py?&lt;br /&gt;
&lt;br /&gt;
TIA Markus :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi ryan,<br />
<br />
I was trying to set up index.py for my pyblosxom installation as I did for all the other plugins (pycalendar, pyarchives, comments, etc.).<br />
<br />
In all those cases, I for example had to put `$calendar&#8217; into my flavour file (head.html) in this paritcular case which does look like <br />
<br />
&nbsp; &#8220;&lt;div class=&#92;&#8221;menu&#92;&#8221;&gt;<br />
&nbsp; &lt;div class=&#92;&#8221;menuhead&#92;&#8221;&gt;<br />
&nbsp; Calendar<br />
&nbsp; &lt;/div&gt;<br />
&nbsp; &lt;div class=&#92;&#8221;menubody&#92;&#8221;&gt;<br />
&nbsp; $calendar<br />
&nbsp; &lt;/div&gt;<br />
&nbsp; &lt;/div&gt;&#8221;<br />
<br />
THE QUESTION:<br />
I wasn&#8217;t able to set up index.py for some reason I don&#8217;t know yet. Well, index.py is in place as pycalendar.py etc. is so I think thats all fine. What I don&#8217;t understand is this &#8220;index_trigger&#8221; thing and how do I integrate this into my flavour file? Can you maybe add this to the doc string of index.py?<br />
<br />
TIA Markus :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://snarfed.org/pyblosxom_index#comment-981</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/pyblosxom_index#comment-981</guid>
		<description>&lt;p&gt;Well, I forgot ... &lt;br /&gt;
I usually hang out on #pyblosxom@irc.freenode.net - anybody who want&#039;s to talk might visit us :)&lt;br /&gt;
&lt;br /&gt;
cya folks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Well, I forgot &#8230; <br />
I usually hang out on #pyblosxom@irc.freenode.net &#8211; anybody who want&#8217;s to talk might visit us :)<br />
<br />
cya folks</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://snarfed.org/pyblosxom_index#comment-982</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/pyblosxom_index#comment-982</guid>
		<description>&lt;p&gt;hi markus! currently, index.py produces a pyblosxom entry, rendered from scratch each time, as output. from pyblosxom&#039;s point of view, the only difference between index.py and a normal blog post is that index.py generates its own content, while a blog post is read from disk.&lt;br /&gt;
&lt;br /&gt;
so, you can&#039;t integrate index.py&#039;s output into one of your flavour&#039;s template files. instead, it&#039;s available at a hard-coded path, which you specify in the &lt;code&gt;index_trigger&lt;/code&gt; config variable. by default, it&#039;s &lt;code&gt;/site_index&lt;/code&gt;.&lt;br /&gt;
&lt;br /&gt;
the index for most sites will be pretty big, so it wouldn&#039;t really make sense to include it in a template and render it on every page.&lt;br /&gt;
&lt;br /&gt;
you&#039;re right, i could probably make this clearer in the docstring.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hi markus! currently, index.py produces a pyblosxom entry, rendered from scratch each time, as output. from pyblosxom&#8217;s point of view, the only difference between index.py and a normal blog post is that index.py generates its own content, while a blog post is read from disk.<br />
<br />
so, you can&#8217;t integrate index.py&#8217;s output into one of your flavour&#8217;s template files. instead, it&#8217;s available at a hard-coded path, which you specify in the <code>index_trigger</code> config variable. by default, it&#8217;s <code>/site_index</code>.<br />
<br />
the index for most sites will be pretty big, so it wouldn&#8217;t really make sense to include it in a template and render it on every page.<br />
<br />
you&#8217;re right, i could probably make this clearer in the docstring.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://snarfed.org/pyblosxom_index#comment-983</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/pyblosxom_index#comment-983</guid>
		<description>&lt;p&gt;Hi Ryan!&lt;br /&gt;
Thanks for answering. You&#039;re right, of course I had to go for the hard-coded path (this works fine now).&lt;br /&gt;
&lt;br /&gt;
I am quite happy with index.py but there is still something I wasn&#039;t able to figure. &lt;br /&gt;
&lt;br /&gt;
PROBLEM:&lt;br /&gt;
In &quot;config.py&quot; I have those entries&lt;br /&gt;&lt;/p&gt;

&lt;h2&gt;pyindex&lt;br /&gt;&lt;/h2&gt;

&lt;p&gt;py[&#039;index_trigger&#039;]&#160; = &#039;/blog-index&#039;&lt;br /&gt;
py[&#039;index_num_columns&#039;]&#160; = 4&lt;br /&gt;
py[&#039;index_letters_first&#039;]&#160; = True&lt;br /&gt;
py[&#039;index_title&#039;]&#160; = &#039;Index, alphabetically listing all posts.&#039;&lt;br /&gt;
py[&#039;index_use_story_template&#039;] = True&lt;br /&gt;
&lt;br /&gt;
Everytime I change the columns (set to 4 right now) it takes effect. But the &#039;index_title&#039; does not ... how come?&lt;br /&gt;
&lt;br /&gt;
To get a notion how my setup looks like corresponding to the code above I have made a Screenshot so you can see I get 4 columns but no change in the title. &lt;br /&gt;
&lt;br /&gt;
Copy paste it to your webbrowser&lt;br /&gt;
&lt;a href=&quot;http://img95.imageshack.us/img95/2203/mywebsitecf2.png&quot; rel=&quot;nofollow&quot;&gt;http://img95.imageshack.us/img95/2203/mywebsitecf2.png&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Ciao, &lt;br /&gt;
Markus&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Ryan!<br />
Thanks for answering. You&#8217;re right, of course I had to go for the hard-coded path (this works fine now).<br />
<br />
I am quite happy with index.py but there is still something I wasn&#8217;t able to figure. <br />
<br />
PROBLEM:<br />
In &#8220;config.py&#8221; I have those entries<br /></p>

<h2>pyindex<br /></h2>

<p>py['index_trigger']&nbsp; = &#8216;/blog-index&#8217;<br />
py['index_num_columns']&nbsp; = 4<br />
py['index_letters_first']&nbsp; = True<br />
py['index_title']&nbsp; = &#8216;Index, alphabetically listing all posts.&#8217;<br />
py['index_use_story_template'] = True<br />
<br />
Everytime I change the columns (set to 4 right now) it takes effect. But the &#8216;index_title&#8217; does not &#8230; how come?<br />
<br />
To get a notion how my setup looks like corresponding to the code above I have made a Screenshot so you can see I get 4 columns but no change in the title. <br />
<br />
Copy paste it to your webbrowser<br />
<a href="http://img95.imageshack.us/img95/2203/mywebsitecf2.png" rel="nofollow">http://img95.imageshack.us/img95/2203/mywebsitecf2.png</a><br />
<br />
Ciao, <br />
Markus</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://snarfed.org/pyblosxom_index#comment-984</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/pyblosxom_index#comment-984</guid>
		<description>&lt;p&gt;oops, that was a bug. &lt;code&gt;index_title&lt;/code&gt; wasn&#039;t playing nice with &lt;code&gt;index_use_story_template&lt;/code&gt;. i&#039;ve fixed it, and i&#039;ve posted a &lt;a href=&quot;/space/index.py&quot; rel=&quot;nofollow&quot;&gt;new version of index.py&lt;/a&gt;. thanks for the catch!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>oops, that was a bug. <code>index_title</code> wasn&#8217;t playing nice with <code>index_use_story_template</code>. i&#8217;ve fixed it, and i&#8217;ve posted a <a href="/space/index.py" rel="nofollow">new version of index.py</a>. thanks for the catch!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://snarfed.org/pyblosxom_index#comment-985</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/pyblosxom_index#comment-985</guid>
		<description>&lt;p&gt;Great! I&#039;ve downloaded v0.2. All works fine now! The index_title issue is gone.&lt;br /&gt;
&lt;br /&gt;
Thank you and keep up your great work! :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great! I&#8217;ve downloaded v0.2. All works fine now! The index_title issue is gone.<br />
<br />
Thank you and keep up your great work! :)</p>]]></content:encoded>
	</item>
</channel>
</rss>

