| 1 |
$Id: README.txt,v 1.1 2008/10/12 21:04:03 jpetso Exp $
|
| 2 |
|
| 3 |
Comment Count Image -
|
| 4 |
Adds a dynamically-generated image to RSS feed items
|
| 5 |
that shows the number of comments on that node.
|
| 6 |
|
| 7 |
|
| 8 |
SHORT DESCRIPTION
|
| 9 |
-----------------
|
| 10 |
RSS feeds are only updated once in a while by feed readers. Comments might be
|
| 11 |
updated anytime. Still, it would be cool to show the current number of comments
|
| 12 |
on a given page, blog post, or whatever content. The feed-loving user can then
|
| 13 |
tell in a glimpse if visiting the page will pay off, if there are comments
|
| 14 |
at all or if there are new comments compared to an earlier visit on that page.
|
| 15 |
|
| 16 |
This module provides this functionality by means of an image whose URL stays
|
| 17 |
the same for each post (thus not requiring the feed itself to be updated).
|
| 18 |
The image itself though always reflects the current number of comments.
|
| 19 |
|
| 20 |
Once activated, the module automatically adds the comment count images to each
|
| 21 |
feed item if comments are enabled for the corresponding node.
|
| 22 |
No further configuration options are provided (and not necessary either).
|
| 23 |
|
| 24 |
|
| 25 |
USING TRANSLATIONS
|
| 26 |
------------------
|
| 27 |
|
| 28 |
If you want to have the comment count image translated into your language
|
| 29 |
instead of plain English, you start by importing a .po (translation) file
|
| 30 |
or translating the strings directly in Drupal's administrative interface,
|
| 31 |
as you would do normally with translations.
|
| 32 |
|
| 33 |
When the strings are entered, any (English-labeled) images that might already
|
| 34 |
exist in the comment-count-image subdirectory inside your file directory need
|
| 35 |
to be deleted. The module will then create the appropriate images anew in the
|
| 36 |
site language when the feed is being accessed.
|
| 37 |
|
| 38 |
|
| 39 |
AUTHOR
|
| 40 |
------
|
| 41 |
Jakob Petsovits ("jpetso", http://drupal.org/user/56020)
|
| 42 |
|
| 43 |
|
| 44 |
THANKS TO
|
| 45 |
---------
|
| 46 |
Wordpress for providing the idea for this functionality.
|
| 47 |
In fact, this module is a clone of the same functionality in Wordpress,
|
| 48 |
although the code has been written from scratch in a clean-room fashion.
|