cvs: peclweb /include/Damblan RSS.php /include/Damblan/RSS Common.php Latest.php Package.php

From: Date: Thu, 11 Dec 2003 14:44:39 +0000
Subject: cvs: peclweb /include/Damblan RSS.php /include/Damblan/RSS Common.php Latest.php Package.php
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-578@lists.php.net to get a copy of this message
pajoye Thu Dec 11 09:44:39 2003 EDT Modified files: /peclweb/include/Damblan RSS.php /peclweb/include/Damblan/RSS Common.php Latest.php Package.php Log: - Fix #396 - Cleanup the Kingdom (or remove pear thingies ;) Index: peclweb/include/Damblan/RSS.php diff -u peclweb/include/Damblan/RSS.php:1.4 peclweb/include/Damblan/RSS.php:1.5 --- peclweb/include/Damblan/RSS.php:1.4 Wed Sep 10 11:52:06 2003 +++ peclweb/include/Damblan/RSS.php Thu Dec 11 09:44:38 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Author: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: RSS.php,v 1.4 2003/09/10 15:52:06 mj Exp $ + $Id: RSS.php,v 1.5 2003/12/11 14:44:38 pajoye Exp $ */ require_once "PEAR.php"; @@ -26,7 +26,7 @@ * * @author Martin Jansen <mj@php.net> * @package Damblan - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ class Damblan_RSS { @@ -46,6 +46,7 @@ $value = $cache = $type; } + $cache = 'pecl_'.$cache; require_once "Damblan/RSS/Cache.php"; if (Damblan_RSS_Cache::isCached($cache) == true) { return Damblan_RSS_Cache::get($cache); @@ -95,4 +96,4 @@ } } } -?> \ No newline at end of file +?> Index: peclweb/include/Damblan/RSS/Common.php diff -u peclweb/include/Damblan/RSS/Common.php:1.7 peclweb/include/Damblan/RSS/Common.php:1.8 --- peclweb/include/Damblan/RSS/Common.php:1.7 Thu Sep 11 12:30:11 2003 +++ peclweb/include/Damblan/RSS/Common.php Thu Dec 11 09:44:38 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Author: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: Common.php,v 1.7 2003/09/11 16:30:11 mj Exp $ + $Id: Common.php,v 1.8 2003/12/11 14:44:38 pajoye Exp $ */ require_once "XML/Tree.php"; @@ -26,7 +26,7 @@ * @author Martin Jansen <mj@php.net> * @category RSS * @package Damblan - * @version $Revision: 1.7 $ + * @version $Revision: 1.8 $ */ class Damblan_RSS_Common { @@ -44,10 +44,10 @@ $this->_root->setAttribute("xmlns:dc", "http://purl.org/dc/elements/1.1/"); $this->_channel = &$this->_root->addChild("channel"); - $this->_channel->setAttribute("rdf:about", "http://pear.php.net/"); - $this->_channel->addChild("link", "http://pear.php.net/"); - $this->_channel->addChild("dc:creator", "pear-webmaster@php.net"); - $this->_channel->addChild("dc:publisher", "pear-webmaster@php.net"); + $this->_channel->setAttribute("rdf:about", "http://pecl.php.net/"); + $this->_channel->addChild("link", "http://pecl.php.net/"); + $this->_channel->addChild("dc:creator", "pecl-webmaster@php.net"); + $this->_channel->addChild("dc:publisher", "pecl-webmaster@php.net"); $this->_channel->addChild("dc:language", "en-us"); $c_items = &$this->_channel->addChild("items"); @@ -118,7 +118,7 @@ */ function __addItems($list) { foreach ($list as $item) { - $node = $this->newItem($item['name'] . " " . $item['version'], "http://pear.php.net/package/" . $item['name'], $item['releasenotes']); + $node = $this->newItem($item['name'] . " " . $item['version'], "http://pecl.php.net/package/" . $item['name'], $item['releasenotes']); $this->addItem($node); } } @@ -133,4 +133,4 @@ return $this->_root->get(); } } -?> \ No newline at end of file +?> Index: peclweb/include/Damblan/RSS/Latest.php diff -u peclweb/include/Damblan/RSS/Latest.php:1.3 peclweb/include/Damblan/RSS/Latest.php:1.4 --- peclweb/include/Damblan/RSS/Latest.php:1.3 Fri Sep 5 10:54:39 2003 +++ peclweb/include/Damblan/RSS/Latest.php Thu Dec 11 09:44:38 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Author: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: Latest.php,v 1.3 2003/09/05 14:54:39 mj Exp $ + $Id: Latest.php,v 1.4 2003/12/11 14:44:38 pajoye Exp $ */ require_once "pear-database.php"; @@ -27,17 +27,17 @@ * @author Martin Jansen <mj@php.net> * @package Damblan * @category RSS - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ class Damblan_RSS_Latest extends Damblan_RSS_Common { function Damblan_RSS_Latest() { parent::Damblan_RSS_Common(); - $this->setTitle("PEAR: Latest releases"); - $this->setDescription("The latest releases in PEAR."); + $this->setTitle("PECL: Latest releases"); + $this->setDescription("The latest releases in PECL."); $items = release::getRecent(); $this->__addItems($items); } -} \ No newline at end of file +} Index: peclweb/include/Damblan/RSS/Package.php diff -u peclweb/include/Damblan/RSS/Package.php:1.4 peclweb/include/Damblan/RSS/Package.php:1.5 --- peclweb/include/Damblan/RSS/Package.php:1.4 Sun Sep 14 04:02:50 2003 +++ peclweb/include/Damblan/RSS/Package.php Thu Dec 11 09:44:38 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Author: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: Package.php,v 1.4 2003/09/14 08:02:50 mj Exp $ + $Id: Package.php,v 1.5 2003/12/11 14:44:38 pajoye Exp $ */ require_once "pear-database.php"; @@ -27,7 +27,7 @@ * @author Martin Jansen <mj@php.net> * @package Damblan * @category RSS - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ class Damblan_RSS_Package extends Damblan_RSS_Common { @@ -44,4 +44,4 @@ $items = package::getRecent(10, $value); $this->__addItems($items); } -} \ No newline at end of file +}

« previous php.pecl.cvs (#578) next »