Hi Amedeo,

Like a lot of Wonder stuff, I'm finding, you have to 'use the source, Luke".

The bindings for the Component are noted as comments in the Java source for ERXRssPage.java

/**
 * Simple RSS feed provider.
 * @binding feedTitle
 * @binding feedUrl
 * @binding feedDescription
 * @binding list
 * @binding item
 * @binding itemGuid
 * @binding itemTitle
 * @binding itemLink
 * @binding itemPubDate
 * @author ak
 */

An example, in your HTML:

<webobject name = "Feed" />

In your .wod:

Feed : ERXRssPage {

item = feedItem; // Some Object that encapsulates your individual feed items
  list = items;                         // NSArray or equivalent

  feedTitle = "Your Feed Title Here";
  feedUrl = "http://www.yourfeedurl.org/";;
  feedDescription = "Descriptive Text about your feed here.";

  itemTitle = feedItem.title;
  itemLink = feedItem.link;
  itemPubDate = feedItem.pubDate;
  itemContent = feedItem.description;
}

This is hastily cut'n'pasted code. E&OE.

.neilmac

PS Lookee, I used "description" and got away with it. ;-) [See another thread!]
PPS I'm sure the WOGremlins will have their day yet...


On 25 Jan 2009, at 20:56, Amedeo Mantica wrote:

There are are docs about this ??
Thanks
Amedeo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/neilmac %40mac.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]
  • ERXRssPage Amedeo Mantica
    • Re: ERXRssPage Neil MacLennan

Reply via email to