Hi
Inspired by a talk Lukas gave at ESUG I created something called RSRSS (Really Simple RSS) [1]. It allows you to create RSS 2.0 feeds with the Seaside canvas API. Emphasis is on simple. If you need powerful or flexible, there's Atom [2]
example: renderFirstItemOn: rss rss item: [ rss title: 'Star City'. rss link: 'http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp'. rss description: 'How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia''s Star City.'. rss publicationDate: 'Tue, 03 Jun 2003 09:39:21 GMT'. rss guid: 'http://liftoff.msfc.nasa.gov/2003/06/03.html#item573' ]
There is a class called RRDemo that gives you a more complete example.
What does preview mean? There's no real documentation about the elements so you need to be familiar with the RSS spec. I plan to copy and paste the explanations from the spec into the methods. Also you have to pass correctly formatted strings to make sure it validates. This is mostly an issue for email addresses and timestamps. Debugging does not work like in Seaside applications. Sorry about that. call:/answer: doesn't work (and doesn't really sense). Subcomponents should work (although you probably won't need them).
It implements the full 2.0 specification (unless I've forgotten something) but no modules (and also not Dublin Core).
The demo validates against W3C Feed Validation Service and the Validome RSS and Atom validator. I didn't check against Feed Validator [5] which is probably the most strict.
This mail is basically to find out if there is any interest in this kind of stuff.
Philippe
[1] http://www.squeaksource.com/rsrss.html [2] http://www.squeaksource.com/Atom.html [3] http://validator.w3.org/feed/ [4] http://www.validome.org/rss-atom/ [5] http://feedvalidator.org/
This mail is basically to find out if there is any interest in this kind of stuff.
Definitely!
Keith
___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html
+1
On 9/26/06, Keith Hodges keith_hodges@yahoo.co.uk wrote:
This mail is basically to find out if there is any interest in this kind of stuff.
Definitely!
Keith
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.html _______________________________________________ Seaside mailing list Seaside@lists.squeakfoundation.org http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
This mail is basically to find out if there is any interest in this kind of stuff.
Definitely!
Keith
Ditto, really cool!
Ramón León http://onsmalltalk.com
2006/9/27, David Shaffer cdshaffer@acm.org:
Philippe Marschall wrote:
This mail is basically to find out if there is any interest in this kind of stuff.
Yes! Cool stuff!
Now the complete RSS Documentation is added. RRRssRenderCanvas has a class commet that outlines the structure of an RSS document and each (ok almost) method in RRRssRenderCanvas that creates a tag has as comment the documentation.
Also some missing options and tags were added.
Philippe
seaside@lists.squeakfoundation.org