cvs: pearweb /include/Damblan/RSS Cache.php
| From: | Martin Jansen | Date: | Tue, 09 Sep 2003 16:04:46 +0000 |
| Subject: | cvs: pearweb /include/Damblan/RSS Cache.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-12582@lists.php.net to get a copy of this message | ||
mj Tue Sep 9 12:04:46 2003 EDT
Modified files:
/pearweb/include/Damblan/RSS Cache.php
Log:
* Fix API documentation
Index: pearweb/include/Damblan/RSS/Cache.php
diff -u pearweb/include/Damblan/RSS/Cache.php:1.1 pearweb/include/Damblan/RSS/Cache.php:1.2
--- pearweb/include/Damblan/RSS/Cache.php:1.1 Tue Sep 9 12:00:46 2003
+++ pearweb/include/Damblan/RSS/Cache.php Tue Sep 9 12:04:46 2003
@@ -15,16 +15,21 @@
+----------------------------------------------------------------------+
| Author: Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: Cache.php,v 1.1 2003/09/09 16:00:46 mj Exp $
+ $Id: Cache.php,v 1.2 2003/09/09 16:04:46 mj Exp $
*/
/**
- * Generates a RSS feed for the latest releases in a given category
+ * Basic RSS feed caching
+ *
+ * The class looks for a file, whose name is determined by the given
+ * parameter $file and in the directory DAMBLAN_RSS_CACHE_DIR. If that
+ * file exists and it isn't older than DAMBLAN_RSS_CACHE_TIME (default
+ * is 1800 seconds), it is used instead of performing the database queries.
*
* @author Martin Jansen <mj@php.net>
* @package Damblan
* @category RSS
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
class Damblan_RSS_Cache {