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:feedCount

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

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

Base
active:feedCount

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

ArgumentRulesTypingDescription
feed
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.FeedCount accessor you must import the module urn:org:netkernel:xml:feeds:

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

Count the number of items in a feed

Resource Identifier Syntax

active:feedCount
+ feed @ [ feed resource ]

The active:feedCount accessor counts the number of items in a feed.

Returns XML containing count

<number>3</number>