if self.timeline_number_of_char > 0:
summary = shorten_line(summary,
self.timeline_number_of_char)
else:
summary = tag.i('no title')
where self.timeline_number_of_char is an option var.
This works but I was wondering about creating my own context hint or
using the shorten_line hint but beable to pass in a value to speficy
the length of that line. So when I am setting up the hints for the
rss feed before it gets passed to the render I can say
rss_context.set_hint(shortenline=true, length=X).