You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by David Bloom <ya...@gmail.com> on 2008/03/11 01:50:26 UTC

roller method not working with group string 4.0

List getRankedSubscriptions(String groupHandle, int sinceDays, int
length) -> returns no entries even though there are some


but  this does for all subscriptions

for List getRankedSubscriptions(int sinceDays, int length)

Re: roller method not working with group string 4.0

Posted by David Bloom <ya...@gmail.com>.
FWIW,

I tried $planet.getGroup('mygroupname').getSubscriptions() in JSP

for my site myhomepage.com/planetrss?group=mygroupname

and it returned nothing even though i have plenty of subscriptions

On Tue, Mar 11, 2008 at 10:12 AM, Dave <sn...@gmail.com> wrote:
> On Tue, Mar 11, 2008 at 10:05 AM, David Bloom <ya...@gmail.com> wrote:
>  >  This sounds good. Are there any more api methods like these that are
>  >  not documented in the 4.0 template guide (i.e. api javadoc) ?
>
>  Probably. I uploaded the 4.0 javadocs here:
>  http://people.apache.org/~snoopdave/apache-roller-4.0/javadocs/
>
>  - Dave
>
>
>
>
>
>  >  On Tue, Mar 11, 2008 at 8:59 AM, Dave <sn...@gmail.com> wrote:
>  >  > On Mon, Mar 10, 2008 at 10:40 PM, David Bloom <ya...@gmail.com> wrote:
>  >  >  > may be thats why it does not work, was looking for a way to
>  >  >  >  programmatically list all my subscriptions in planet for specified
>  >  >  >  group.
>  >  >
>  >  >  You should be able to do that with $planet.getGroup().getSubscriptions()
>  >  >
>  >  >  But the $planet group methods seem to be broken. I just filed a bug:
>  >  >  https://issues.apache.org/roller/browse/ROL-1691
>  >  >
>  >  >  - Dave
>  >  >
>  >
>

Re: roller method not working with group string 4.0

Posted by Dave <sn...@gmail.com>.
On Tue, Mar 11, 2008 at 10:05 AM, David Bloom <ya...@gmail.com> wrote:
>  This sounds good. Are there any more api methods like these that are
>  not documented in the 4.0 template guide (i.e. api javadoc) ?

Probably. I uploaded the 4.0 javadocs here:
http://people.apache.org/~snoopdave/apache-roller-4.0/javadocs/

- Dave



>  On Tue, Mar 11, 2008 at 8:59 AM, Dave <sn...@gmail.com> wrote:
>  > On Mon, Mar 10, 2008 at 10:40 PM, David Bloom <ya...@gmail.com> wrote:
>  >  > may be thats why it does not work, was looking for a way to
>  >  >  programmatically list all my subscriptions in planet for specified
>  >  >  group.
>  >
>  >  You should be able to do that with $planet.getGroup().getSubscriptions()
>  >
>  >  But the $planet group methods seem to be broken. I just filed a bug:
>  >  https://issues.apache.org/roller/browse/ROL-1691
>  >
>  >  - Dave
>  >
>

Re: roller method not working with group string 4.0

Posted by David Bloom <ya...@gmail.com>.
Dave,

This sounds good. Are there any more api methods like these that are
not documented in the 4.0 template guide (i.e. api javadoc) ?

- David Bloom.

On Tue, Mar 11, 2008 at 8:59 AM, Dave <sn...@gmail.com> wrote:
> On Mon, Mar 10, 2008 at 10:40 PM, David Bloom <ya...@gmail.com> wrote:
>  > may be thats why it does not work, was looking for a way to
>  >  programmatically list all my subscriptions in planet for specified
>  >  group.
>
>  You should be able to do that with $planet.getGroup().getSubscriptions()
>
>  But the $planet group methods seem to be broken. I just filed a bug:
>  https://issues.apache.org/roller/browse/ROL-1691
>
>  - Dave
>

Re: roller method not working with group string 4.0

Posted by Dave <sn...@gmail.com>.
On Mon, Mar 10, 2008 at 10:40 PM, David Bloom <ya...@gmail.com> wrote:
> may be thats why it does not work, was looking for a way to
>  programmatically list all my subscriptions in planet for specified
>  group.

You should be able to do that with $planet.getGroup().getSubscriptions()

But the $planet group methods seem to be broken. I just filed a bug:
https://issues.apache.org/roller/browse/ROL-1691

- Dave

Re: roller method not working with group string 4.0

Posted by David Bloom <ya...@gmail.com>.
may be thats why it does not work, was looking for a way to
programmatically list all my subscriptions in planet for specified
group.

On Mon, Mar 10, 2008 at 7:02 PM, Dave <sn...@gmail.com> wrote:
>
> On Mon, Mar 10, 2008 at 8:50 PM, David Bloom <ya...@gmail.com> wrote:
>  > List getRankedSubscriptions(String groupHandle, int sinceDays, int
>  >  length) -> returns no entries even though there are some
>  >
>  >  but  this does for all subscriptions
>  >
>  >  for List getRankedSubscriptions(int sinceDays, int length)
>
>  Sounds like a bug.
>
>  The ranked subscriptions methods work against data from the Technorati
>  API. I'm curious, are you really using Technorati and have a
>  Technorati API license key in place?
>
>
>  - Dave
>

Re: roller method not working with group string 4.0

Posted by Dave <sn...@gmail.com>.
On Mon, Mar 10, 2008 at 8:50 PM, David Bloom <ya...@gmail.com> wrote:
> List getRankedSubscriptions(String groupHandle, int sinceDays, int
>  length) -> returns no entries even though there are some
>
>  but  this does for all subscriptions
>
>  for List getRankedSubscriptions(int sinceDays, int length)

Sounds like a bug.

The ranked subscriptions methods work against data from the Technorati
API. I'm curious, are you really using Technorati and have a
Technorati API license key in place?


- Dave