WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

active:feedTruncate

Endpoint
Name:xml.feeds.FeedTruncate
Description:
Id:xml.feeds.FeedTruncate
Category:accessor
Identifier Syntax

xml.feeds.FeedTruncate is an accessor using Active URI syntax with the following base identifiers:

Base
active:feedTruncate

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
feed
Mandatory
Representation (java.lang.Object)(no description available)
operator
Mandatory
Representation (java.lang.Object)(no description available)
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The response representation of this accessor for SOURCE requests is unknown.

This accessor throws no documented exceptions.

Import Requirements

To use xml.feeds.FeedTruncate accessor you must import the module urn:org:netkernel:xml:feeds:

<import>
  <uri>urn:org:netkernel:xml:feeds</uri>
</import>

Limits the number of items in a feed.

Resource Identifier Syntax

active:feedTruncate
+ feed @ [ feed resource ]
+ operator @ [ number of items in the resulting feed ]

The active:feedTruncate accessor limits the number of items in the feed.

Returns IAspectFeed

Operator Format

The operator should be an XML fragment like...

<number>10</number>