Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERXRssPage



sorry, anArticle is in my page

anItem.date a key to the publication date

the java class just extends WOComponent

you shoud just create a new WOComponent

delete anything in the html and put in <wo:ERXRssPage....

if you don't want use inline bindings you can do

<webobject name = "myRss">
your stuff per item
</webobject>

and in wod

myRss: ERXRssPage {
list = xxxx
item = xxx
etc etc
}


On 02/lug/09, at 17:50, Frank Gibau wrote:

Hello Amedeo,
thank you for your fast answer. 
At least I tried it. 
the Syntax: <wo:ERXRssPage... is new to me, I am using  <webobject name = "TextField7" />.
I think I translated it right to my Syntax.

I have Questions: 
itemPubDate="$anArticle.articleDate";

1. What is $anArticle.articleDate ist that something I have to declare in my .java-Class.

2 does the java-Class extends WOComponent or extensions.ERXRssPage.

Stupid Questions, I am sorry. 
Thank you

Frank






Am 02.07.2009 um 16:22 schrieb Amedeo Mantica:

Hello,

I got some problem, lack of docs, but is very simple

create an empty component with just ERXRssPage (no body, no head)


<wo:ERXRssPage feedUrl="http://www.myfeed.org" feedDescription="DESCRIPTION" feedTitle="FEED TITLE" list="$yourArray" item="$anItem" itemTitle="$KeyToItemTitle" itemContent="$anArticle.testoBreve" itemPubDate="$anArticle.articleDate" itemLink="$anItem.Link">

<p><b><wo:string value = "$anItem.text"/></b></p>

ANY CONTENT YOU LIKE

</wo:ERXRssPage>


Is really simple
put in your .java the method for retreiving the list and the itering variable

Regards
Amedeo

On 02/lug/09, at 16:08, Frank Gibau wrote:

Hey ,
I want to use RSS Feeds on my WO-Side.

I found ERXRssPage and question and answer from
Amedeo Mantica and  Neil MacLennan.

But the explanations there, where a little to brief for me.

Does anybody have examples for me.

Thanks

Frank

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

References: 
 >ERXRssPage (From: Frank Gibau <email@hidden>)
 >Re: ERXRssPage (From: Amedeo Mantica <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.