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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/amedeomailing%40insigno.it
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]