Pinky Resource ModelPinky Resource Model
The Pinky resource model
Home > Books > Resource Model Guide > Pinky Resource Model

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Pinky Resource Model

The Pinky resource model supports the information types Feed, Entry, Number and URL.

The Pinky resource model provides support for processing ATOM and RSS feeds (a means to provide frequently updated content via web protocols).

The Pinky resource model is useful for applications that work with ATOM and RSS feeds - either consuming them or creating them. Pinky provides tools and information processing capabilities similar to the Yahoo! Pipes system.

Services and Functions

The primary services include:

Service Description
active:Count Counts the number of items in a feed resource and returns a number resource.
active:Fetch Returns a feed resource with information gathered from one or more URL resource addresses.
active:ForEachReplace For each item resource within a feed resource issue a sub-request to a specified URI for special processing.
active:SetFeedInfo Sets specified information into the metdata of a feed resource.
active:Sort Sort the item resources within a feed resource according to criteria.
active:Truncate Limit the number of item resources within a feed resource based on a supplied number resource.
active:Union Merges two or more feed resources.
active:Unique Processes item resources within a feed resource and removes duplicates based on specified criteria.

Physical Representations

The physical representation used in Pinky include

  • org.pinkypipes.aspect.IAspectEntry
  • org.pinkypipes.aspect.IAspectFeed
  • org.pinkypipes.aspect.IAspectNumber
  • org.pinkypipes.aspect.IAspectURL

Transrepresentations

Since the Pinky model is based on XML transreptors are provided to convert the resource types to and from XML documents.

Feed --> XML
Feed <-- XML
Number --> XML
Number <-- XML
URL --> XML
URL <-- XML
© 2003-2007, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.