• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERXRssPage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXRssPage


  • Subject: Re: ERXRssPage
  • From: Neil MacLennan <email@hidden>
  • Date: Tue, 27 Jan 2009 09:31:06 +0000

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@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >ERXRssPage (From: Amedeo Mantica <email@hidden>)

  • Prev by Date: Re: Eclipse + Subclipse for svn+ssh authentication on OSX
  • Next by Date: Stable Installer Update (5650)
  • Previous by thread: ERXRssPage
  • Next by thread: New Stable Installer
  • Index(es):
    • Date
    • Thread