Re: cvs: pearweb /public_html/feeds feeds.php
| From: | Pierre | Date: | Thu, 15 Jun 2006 22:13:03 +0000 |
| Subject: | Re: cvs: pearweb /public_html/feeds feeds.php | ||
| References: | 1 | Groups: | php.pear.cvs php.pear.core |
| Request: | Send a blank email to pear-core+get-4810@lists.php.net to get a copy of this message | ||
On Thu, 15 Jun 2006 21:32:19 -0000
mj@php.net ("Martin Jansen") wrote:
> mj Thu Jun 15 21:32:19 2006 UTC
>
> Modified files:
> /pearweb/public_html/feeds feeds.php
> Log:
> * Changed to a more sensible prefix in the tempnam call.
>
> # If you guys copy from Rasmus' blog, please try to at least
> understand the # code ;-). What happened to the old object-oriented
> RSS generator code? I # liked it quite a bit.
Without mentioning that your comment is completely pointless, laziness
has nothing to do with understanding, the code does work with using
RSS prefix, or did you not understand it? ;-)
> - $stream = fopen($url,'r');
> - $tmpf = tempnam('/tmp','YWS');
> + $stream = fopen($url, 'r');
> + $tmpf = tempnam('/tmp', 'RSS');
-- Pierre