Re: creating RSS feeds with Wicket

2007-11-05 Thread Sean Sullivan
I wrote an example application that uses Ryan's wicketstuff-rome library.

wicketstuff-rome-examples is available in WicketStuff's SVN repository:

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-rome-examples/

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-rome/

Sean


On 8/23/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds
>
> Just wanted to post an announcement that there's a new wicket stuff project
> (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from within
> Wicket.  I've been using it for the past several weeks and it's allowed me
> to integrate RSS feeds into my Wicket app *very* quickly.
>
> This new project is a definite step up from the existing wicket wiki article
> for Rss pages, but I'm not sure what to do about that info.  Please let me
> know if anyone has suggestions or issues with the project.  Now that it's on
> wicketstuff, feel free to tweak or add features!
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: creating RSS feeds with Wicket

2007-08-27 Thread thijs
I'll see what I can come up with in the next few days/weeks. I just 
started a new job so that is eating a lot of my time. Unfortunately 
they're not running a project with wicket :(

It's all Oracle adf, not bad either. But not as good as :)
Ryan Sonnek wrote:

That's a really good question.  If you look at the source for my solution,
it's a very lightweight wrapper around the ROME RSS library.  I don't have
any code that's setting response headers.  If you have a solution, I'd be
happy to incorporate it into the FeedPage.

On 8/24/07, thijs <[EMAIL PROTECTED]> wrote:
  

Hi Ryan,

I've added this as a comment to your blog entry as wel, but is was
marked as spam...

"Wow, cool is the right word for this.
Does it also incorporate responses to http headers?
For example: I had to modify the RssPage example to work with
"If-Modified-Since" headers because some feed readers just keep updating
their information (adding the same articles over and over).
Also it helps keep  traffic to the site low

Thijs"

Ryan Sonnek wrote:


http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds

Just wanted to post an announcement that there's a new wicket stuff
  

project


(wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from
  

within


Wicket.  I've been using it for the past several weeks and it's allowed
  

me


to integrate RSS feeds into my Wicket app *very* quickly.

This new project is a definite step up from the existing wicket wiki
  

article


for Rss pages, but I'm not sure what to do about that info.  Please let
  

me


know if anyone has suggestions or issues with the project.  Now that
  

it's on


wicketstuff, feel free to tweak or add features!

Ryan


  



  




Re: creating RSS feeds with Wicket

2007-08-24 Thread Gwyn Evans
My understanding is that because it's not bundled as part of a
release, the *wiki* doesn't have any issues with needing any
particular licence for it's info, so you should be free to add info to
it, no matter what the licence of the support code is.

Either way, thanks, though!

/Gwyn

On Friday, August 24, 2007, 4:46:45 AM, Ryan <[EMAIL PROTECTED]> wrote:

> I'm not sure how the wicketstuff licenses work with the apache core, but
> I've put up documentation on the wicketstuff WIKI and added a link to that
> from the main wicket wiki for now.

> On 8/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>
>> why not replace the wiki project with a quickstart tutorial for this new
>> project and a quick description. no point keeping stale info around.
>>
>> -igor
>>
>>
>> On 8/23/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
>> >
>> > http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds
>> >
>> > Just wanted to post an announcement that there's a new wicket stuff
>> > project
>> > (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from
>> > within
>> > Wicket.  I've been using it for the past several weeks and it's allowed
>> me
>> > to integrate RSS feeds into my Wicket app *very* quickly.
>> >
>> > This new project is a definite step up from the existing wicket wiki
>> > article
>> > for Rss pages, but I'm not sure what to do about that info.  Please let
>> me
>> > know if anyone has suggestions or issues with the project.  Now that
>> it's
>> > on
>> > wicketstuff, feel free to tweak or add features!
>> >
>> > Ryan
>> >
>>



/Gwyn


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: creating RSS feeds with Wicket

2007-08-24 Thread Jean-Baptiste Quenot
* Ryan Sonnek:
> I'm not familiar with IResourceStream and using a WebPage approach has
> allowed for me to have great control over several aspects including:
> * url mount points
> * url parameter strategies
> * possibly configuring the response Expires/Cache headers?
> 
> Do you have any examples of how this would work as a resource stream?

Igor will hate me, but here it is:

http://wicketstuff.org/wicket13/staticpages/
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: creating RSS feeds with Wicket

2007-08-24 Thread Ryan Sonnek
I'm not familiar with IResourceStream and using a WebPage approach has
allowed for me to have great control over several aspects including:
* url mount points
* url parameter strategies
* possibly configuring the response Expires/Cache headers?

Do you have any examples of how this would work as a resource stream?

On 8/24/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
>
> * Ryan Sonnek:
>
> > I'd really need  to see this to believe it.   Can you really use
> > this kind  of component without it  being a page?  Using  a page
> > allows for bookmarkable URLS,  mount points, easy page parameter
> > passing,  all of  which I  use  *extensively* to  create my  rss
> > feeds. someone  will have to prove  me wrong if this  can be all
> > done without using a page.
> >
> > If you have an idea for a way to have the exisiting API work and
> > make it more extensible, I'm all ears.
>
> You're right, there's a misunderstanding.  I thought of a RSS
> aggregator where you display a feed converted to HTML in a
> Component.
>
> But your example is about *serving* the feed...  Then I'm a bit
> puzzled!  What is the advantage of using a Wicket WebPage for
> this?  Why don't you just stream it as an IResourceStream?
>
> IMO WebPage and the whole great Wicket component hierarchy is
> about user interaction, not about streaming machine-to-machine
> resources.
>
> WDYT?
> --
>  Jean-Baptiste Quenot
> aka  John Banana   Qwerty
> http://caraldi.com/jbq/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: creating RSS feeds with Wicket

2007-08-24 Thread Jean-Baptiste Quenot
* Ryan Sonnek:

> I'd really need  to see this to believe it.   Can you really use
> this kind  of component without it  being a page?  Using  a page
> allows for bookmarkable URLS,  mount points, easy page parameter
> passing,  all of  which I  use  *extensively* to  create my  rss
> feeds. someone  will have to prove  me wrong if this  can be all
> done without using a page.
>
> If you have an idea for a way to have the exisiting API work and
> make it more extensible, I'm all ears.

You're right, there's a misunderstanding.  I thought of a RSS
aggregator where you display a feed converted to HTML in a
Component.

But your example is about *serving* the feed...  Then I'm a bit
puzzled!  What is the advantage of using a Wicket WebPage for
this?  Why don't you just stream it as an IResourceStream?

IMO WebPage and the whole great Wicket component hierarchy is
about user interaction, not about streaming machine-to-machine
resources.

WDYT?
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: creating RSS feeds with Wicket

2007-08-24 Thread Ryan Sonnek
That's a really good question.  If you look at the source for my solution,
it's a very lightweight wrapper around the ROME RSS library.  I don't have
any code that's setting response headers.  If you have a solution, I'd be
happy to incorporate it into the FeedPage.

On 8/24/07, thijs <[EMAIL PROTECTED]> wrote:
>
> Hi Ryan,
>
> I've added this as a comment to your blog entry as wel, but is was
> marked as spam...
>
> "Wow, cool is the right word for this.
> Does it also incorporate responses to http headers?
> For example: I had to modify the RssPage example to work with
> "If-Modified-Since" headers because some feed readers just keep updating
> their information (adding the same articles over and over).
> Also it helps keep  traffic to the site low
>
> Thijs"
>
> Ryan Sonnek wrote:
> > http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds
> >
> > Just wanted to post an announcement that there's a new wicket stuff
> project
> > (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from
> within
> > Wicket.  I've been using it for the past several weeks and it's allowed
> me
> > to integrate RSS feeds into my Wicket app *very* quickly.
> >
> > This new project is a definite step up from the existing wicket wiki
> article
> > for Rss pages, but I'm not sure what to do about that info.  Please let
> me
> > know if anyone has suggestions or issues with the project.  Now that
> it's on
> > wicketstuff, feel free to tweak or add features!
> >
> > Ryan
> >
> >
>
>


Re: creating RSS feeds with Wicket

2007-08-24 Thread Ryan Sonnek
I'd really need to see this to believe it.  Can you really use this kind of
component without it being a page?  Using a page allows for bookmarkable
URLS, mount points, easy page parameter passing, all of which I use
*extensively* to create my rss feeds.  someone will have to prove me wrong
if this can be all done without using a page.

If you have an idea for a way to have the exisiting API work and make it
more extensible, I'm all ears.

On 8/24/07, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
>
> * Ryan Sonnek:
> > http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds
> >
> > Just wanted to post an announcement that there's a new wicket stuff
> project
> > (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from
> within
> > Wicket.  I've been using it for the past several weeks and it's allowed
> me
> > to integrate RSS feeds into my Wicket app *very* quickly.
> >
> > This new project is a definite step up from the existing wicket wiki
> article
> > for Rss pages, but I'm not sure what to do about that info.  Please let
> me
> > know if anyone has suggestions or issues with the project.  Now that
> it's on
> > wicketstuff, feel free to tweak or add features!
>
> Actually to make it really reusable I would have put protected
> abstract SyndFeed getFeed(); in FeedOutputComponent.  So that we
> can have the feed output in a component of a page instead of a
> full page.
> --
>  Jean-Baptiste Quenot
> aka  John Banana   Qwerty
> http://caraldi.com/jbq/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: creating RSS feeds with Wicket

2007-08-24 Thread Jean-Baptiste Quenot
* Ryan Sonnek:
> http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds
> 
> Just wanted to post an announcement that there's a new wicket stuff project
> (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from within
> Wicket.  I've been using it for the past several weeks and it's allowed me
> to integrate RSS feeds into my Wicket app *very* quickly.
> 
> This new project is a definite step up from the existing wicket wiki article
> for Rss pages, but I'm not sure what to do about that info.  Please let me
> know if anyone has suggestions or issues with the project.  Now that it's on
> wicketstuff, feel free to tweak or add features!

Actually to make it really reusable I would have put protected
abstract SyndFeed getFeed(); in FeedOutputComponent.  So that we
can have the feed output in a component of a page instead of a
full page.
-- 
 Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: creating RSS feeds with Wicket

2007-08-23 Thread thijs

Hi Ryan,

I've added this as a comment to your blog entry as wel, but is was 
marked as spam...


"Wow, cool is the right word for this. 
Does it also incorporate responses to http headers?
For example: I had to modify the RssPage example to work with 
"If-Modified-Since" headers because some feed readers just keep updating 
their information (adding the same articles over and over).

Also it helps keep  traffic to the site low

Thijs"

Ryan Sonnek wrote:

http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds

Just wanted to post an announcement that there's a new wicket stuff project
(wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from within
Wicket.  I've been using it for the past several weeks and it's allowed me
to integrate RSS feeds into my Wicket app *very* quickly.

This new project is a definite step up from the existing wicket wiki article
for Rss pages, but I'm not sure what to do about that info.  Please let me
know if anyone has suggestions or issues with the project.  Now that it's on
wicketstuff, feel free to tweak or add features!

Ryan

  




Re: creating RSS feeds with Wicket

2007-08-23 Thread Ryan Sonnek
I'm not sure how the wicketstuff licenses work with the apache core, but
I've put up documentation on the wicketstuff WIKI and added a link to that
from the main wicket wiki for now.

On 8/23/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> why not replace the wiki project with a quickstart tutorial for this new
> project and a quick description. no point keeping stale info around.
>
> -igor
>
>
> On 8/23/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> >
> > http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds
> >
> > Just wanted to post an announcement that there's a new wicket stuff
> > project
> > (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from
> > within
> > Wicket.  I've been using it for the past several weeks and it's allowed
> me
> > to integrate RSS feeds into my Wicket app *very* quickly.
> >
> > This new project is a definite step up from the existing wicket wiki
> > article
> > for Rss pages, but I'm not sure what to do about that info.  Please let
> me
> > know if anyone has suggestions or issues with the project.  Now that
> it's
> > on
> > wicketstuff, feel free to tweak or add features!
> >
> > Ryan
> >
>


Re: creating RSS feeds with Wicket

2007-08-23 Thread Igor Vaynberg
why not replace the wiki project with a quickstart tutorial for this new
project and a quick description. no point keeping stale info around.

-igor


On 8/23/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
>
> http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds
>
> Just wanted to post an announcement that there's a new wicket stuff
> project
> (wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from
> within
> Wicket.  I've been using it for the past several weeks and it's allowed me
> to integrate RSS feeds into my Wicket app *very* quickly.
>
> This new project is a definite step up from the existing wicket wiki
> article
> for Rss pages, but I'm not sure what to do about that info.  Please let me
> know if anyone has suggestions or issues with the project.  Now that it's
> on
> wicketstuff, feel free to tweak or add features!
>
> Ryan
>


creating RSS feeds with Wicket

2007-08-23 Thread Ryan Sonnek
http://www.jroller.com/wireframe/entry/wicket_and_rss_feeds

Just wanted to post an announcement that there's a new wicket stuff project
(wicketstuff-rome) to allow for creation of RSS (or Atom) feeds from within
Wicket.  I've been using it for the past several weeks and it's allowed me
to integrate RSS feeds into my Wicket app *very* quickly.

This new project is a definite step up from the existing wicket wiki article
for Rss pages, but I'm not sure what to do about that info.  Please let me
know if anyone has suggestions or issues with the project.  Now that it's on
wicketstuff, feel free to tweak or add features!

Ryan