Limiting output in RSS feeds

Hi all,

I’d like to integrate some of our queues with out intranet, but need
to reduce the amount of results…

Is there a LIMIT style option for this?

Cheers,
Joel

$ echo “kpfmAdpoofdufevq/dp/vl” | perl -pe ‘s/(.)/chr(ord($1)-1)/ge’

Also, is there a way to get anonymous RSS feeds?On Wed, May 26, 2010 at 10:23 AM, Joel Merrick joel.merrick@gmail.com wrote:

Hi all,

I’d like to integrate some of our queues with out intranet, but need
to reduce the amount of results…

Is there a LIMIT style option for this?

Cheers,
Joel


$ echo “kpfmAdpoofdufevq/dp/vl” | perl -pe ‘s/(.)/chr(ord($1)-1)/ge’

$ echo “kpfmAdpoofdufevq/dp/vl” | perl -pe ‘s/(.)/chr(ord($1)-1)/ge’

I’d like to integrate some of our queues with out intranet, but need
to reduce the amount of results…

Is there a LIMIT style option for this?

If you want to limit the tickets found, just change your search.
If you want to limit the data in the feed you’re going to have to hack
the sourceOn Wed, May 26, 2010 at 10:54:59AM +0100, Joel Merrick wrote:

Also, is there a way to get anonymous RSS feeds?

There is not. If you come up to 3.8.8 you can get an rss feed that
uses an auth token which is easier than needing to code a user/pass
somewhere (but you’ll still want to create an rss user that only has
read rights).

-kevin

I’d like to integrate some of our queues with out intranet, but need
to reduce the amount of results…

Is there a LIMIT style option for this?

If you want to limit the tickets found, just change your search.
If you want to limit the data in the feed you’re going to have to hack
the source

Also, is there a way to get anonymous RSS feeds?

There is not. If you come up to 3.8.8 you can get an rss feed that
uses an auth token which is easier than needing to code a user/pass
somewhere (but you’ll still want to create an rss user that only has
read rights).

Another option is to use a script from cron to generate an rss file in
the NoAuth directory. You’ll be able to limit the results in anyway
you want as well as being able to provide anonymous access to the feed.

Randy Smith


http://perlstalker.blogspot.com/

signature.asc (197 Bytes)