djangosnippets.org: Latest snippets tagged with 'blog'https://djangosnippets.org/tags/blog/2008-08-27T18:27:54.252749-05:00Using Akismet/TypePad AntiSpam with Django's new comments framework
2008-08-27T18:27:54.252749-05:00sciyoshihttps://djangosnippets.org/snippets/1006/<p>See the description in the blog entry at <a href="http://sciyoshi.com/blog/2008/aug/27/using-akismet-djangos-new-comments-framework/">http://sciyoshi.com/blog/2008/aug/27/using-akismet-djangos-new-comments-framework/</a>
</p>
Freely redistributableRead more link
2008-07-01T09:32:08.821518-05:00nny777https://djangosnippets.org/snippets/841/<p>I couldn't find any code for a blog-style "Read more after the jump," so I made a custom filter. It will look for <strong><!--more--></strong> for the jump, like in Wordpress.</p>
<p>In <strong>settings.py</strong> set <strong>READ_MORE_TEXT</strong> to what you want the text of the link to be.</p>
<p><code>READ_MORE_TEXT = 'Read more after …</code></p>
Freely redistributableDetect blog platform
2007-05-23T03:56:43.458964-05:00twinsanthttps://djangosnippets.org/snippets/249/<p>Detect blog platform.</p>
<p>As we all known, there are so many blog platform in the wild, e.g. Blogger.com, WordPress, LiveJournal, Movable Type etc.</p>
<p>This little snippet could guess the blog platform according a url.</p>
<p>Dependency:</p>
<ol>
<li>pycurl</li>
<li>BeautifulSoup</li>
</ol>
Freely redistributable