<?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: Dynamic Length Truncate Tag</title>
	<atom:link href="http://blog.awarelabs.com/2008/dynamic-length-truncate-tag/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.awarelabs.com/2008/dynamic-length-truncate-tag/</link>
	<description>Django is for the Aware</description>
	<lastBuildDate>Wed, 10 Mar 2010 10:51:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: metal barn</title>
		<link>http://blog.awarelabs.com/2008/dynamic-length-truncate-tag/comment-page-1/#comment-4877</link>
		<dc:creator>metal barn</dc:creator>
		<pubDate>Mon, 09 Nov 2009 14:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awarelabs.com/?p=45#comment-4877</guid>
		<description>I subscribed to your blog when is the next post&lt;br&gt;&lt;br&gt;regards&lt;br&gt;tom grey&lt;br&gt;______________________________________________</description>
		<content:encoded><![CDATA[<p>I subscribed to your blog when is the next post</p>
<p>regards<br />tom grey<br />______________________________________________</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: metal barn</title>
		<link>http://blog.awarelabs.com/2008/dynamic-length-truncate-tag/comment-page-1/#comment-4874</link>
		<dc:creator>metal barn</dc:creator>
		<pubDate>Mon, 09 Nov 2009 08:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awarelabs.com/?p=45#comment-4874</guid>
		<description>I subscribed to your blog when is the next post&lt;br&gt;&lt;br&gt;regards&lt;br&gt;tom grey&lt;br&gt;______________________________________________</description>
		<content:encoded><![CDATA[<p>I subscribed to your blog when is the next post</p>
<p>regards<br />tom grey<br />______________________________________________</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AYY88</title>
		<link>http://blog.awarelabs.com/2008/dynamic-length-truncate-tag/comment-page-1/#comment-4836</link>
		<dc:creator>AYY88</dc:creator>
		<pubDate>Fri, 09 Oct 2009 12:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awarelabs.com/?p=45#comment-4836</guid>
		<description>For girls, women or whoever wants pink shoes, there are &lt;a href=&quot;http://www.jordand1.com&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;Air Jordan 1&lt;/strong&gt;&lt;/a&gt; Retro Hi Premium shoes. They can probably be worn on the basketball court, but might be a better fashion statement off the court.&lt;br&gt;&lt;br&gt;Now go out and start practicing your basketball skills in some Jordan shoes. You&#039;ll at least look like you know what you&#039;re doing.</description>
		<content:encoded><![CDATA[<p>For girls, women or whoever wants pink shoes, there are <a href="http://www.jordand1.com" rel="nofollow"><strong>Air Jordan 1</strong></a> Retro Hi Premium shoes. They can probably be worn on the basketball court, but might be a better fashion statement off the court.</p>
<p>Now go out and start practicing your basketball skills in some Jordan shoes. You&#39;ll at least look like you know what you&#39;re doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rowena</title>
		<link>http://blog.awarelabs.com/2008/dynamic-length-truncate-tag/comment-page-1/#comment-3461</link>
		<dc:creator>Rowena</dc:creator>
		<pubDate>Wed, 09 Apr 2008 02:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awarelabs.com/?p=45#comment-3461</guid>
		<description>I am contacting you through this contact form as there was no email address available. We would be interested in purchasing advertising on your blog http://blog.awarelabs.com/. Please get back to me using the email address I have entered if you would be interested in discussing this further(rowenaseo@gmail.com).</description>
		<content:encoded><![CDATA[<p>I am contacting you through this contact form as there was no email address available. We would be interested in purchasing advertising on your blog <a href="http://blog.awarelabs.com/" rel="nofollow">http://blog.awarelabs.com/</a>. Please get back to me using the email address I have entered if you would be interested in discussing this further(rowenaseo@gmail.com).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blog.awarelabs.com/2008/dynamic-length-truncate-tag/comment-page-1/#comment-3458</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 03 Apr 2008 10:26:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awarelabs.com/?p=45#comment-3458</guid>
		<description>This seems to work, to confirm SmileyChris:

@register.filter
def unfancy_truncate(value, arg):
    try:
        len = int(arg)
        return str(value)[:len]
    except:
        return &#039;&#039;</description>
		<content:encoded><![CDATA[<p>This seems to work, to confirm SmileyChris:</p>
<p>@register.filter<br />
def unfancy_truncate(value, arg):<br />
    try:<br />
        len = int(arg)<br />
        return str(value)[:len]<br />
    except:<br />
        return &#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SmileyChris</title>
		<link>http://blog.awarelabs.com/2008/dynamic-length-truncate-tag/comment-page-1/#comment-3457</link>
		<dc:creator>SmileyChris</dc:creator>
		<pubDate>Thu, 03 Apr 2008 03:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.awarelabs.com/?p=45#comment-3457</guid>
		<description>I&#039;m sure {{ something&#124;filter:obj.some_setting }} should just work. A tag seems overkill.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sure {{ something|filter:obj.some_setting }} should just work. A tag seems overkill.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
