2.1.1 Categorize
- Compatible with: 2.0, 2.1
- Loves: 0
- Downloads: 385
- Notes: 2
- Last updated: Sun Jun 26 03:36:03 2011 +0200
A module that lets you create and assign your posts to a category. Only one category per entry is allowed. (If you are looking for multiple categorizations per entry, use the default install's Tags module.)
Notes
-
I've found I needed to change a line in the code to make the ATOM feed validate:
FROM: public function feed_item($post) { if (!empty($post->category_id) OR $post->category != 0) printf("\t
%s \n", Category::getCategory($post->category_id)->name); }TO: public function feed_item($post) { if (!empty($post->category_id) OR $post->category != 0) printf("\t
\n", Category::getCategory($post->category_id)->name); } -
hmmrrph! That came out as clear as mud, didn't it.
The change is from
<category>%s</category>
to
<category term='/%s' />