There is also a (public) setUserAgent() to almost allow you to do
whatever you want. ;-) And speaking of which - just curious, but is
the format "APP/Ver Akismet/Ver" something Akismet requires you to do?
Also, noticed that the API version is hardcoded in all "calls" -
couldn't that be phased out into a private/protected variable and
set-er etc.?
I guess this depends on a) how frequently Akismet releases an update
to their API and b) how much of those updates break BC, etc.. Speaking
about an API-version, another "nice to have" would be a method
returning the currently support API.
Till
On Dec 28, 2007 6:24 PM, Matthew Ratzloff <
matt@...> wrote:
> < protected $_userAgent = 'Zend Framework/0.7.0 | Akismet/1.11';
> ---
> > protected $_userAgent = 'Zend Framework/' . Zend_Version::VERSION . ' |
> Akismet/1.11';
>
> -Matt
>
>
> On Fri, December 28, 2007 8:34 am, Ralf Eggert wrote:
> > Hi,
> >
> > I just want to mention that there is a hardcoded user agent string in
> > the class Zend_Service_Akismet. It says 'Zend Framework/0.7.0 |
> > Akismet/1.11' at the moment. I know it this no big deal or a bug or
> > something like that. But maybe this could be updated some time.
> >
> > Best Regards,
> >
> > Ralf
>
>
--
Till Klampaeckel
e: mailto:
klimpong@...
p: +491704018676
l:
http://beta.plazes.com/whereis/tillWant to know what's up in Berlin?
-
http://berlin.metblogs.com