Dave Johnson on open web technologies, social software and software development
CNet - RSS Gets Down to Business: The RSSCalendar program allows users to convert and publish their calendar data as an RSS feed. Friends, co-workers and customers can subscribe to the calendar feed and automatically receive notices of new appointments, which can be viewed through an RSS reader or imported to a Web-based calendar or Microsoft Outlook.
Dave Johnson in Blogging
11:57AM Aug 16, 2004
Comments [0]
Tags:
Blogging
Dave Johnson in Java
04:33PM Aug 14, 2004
Comments [2]
Tags:
Java
Dave Johnson in Blogging
03:29PM Aug 14, 2004
Comments [1]
Tags:
Blogging
Dave Johnson in General
02:58PM Aug 14, 2004
Comments [0]
Tags:
General
Dave Johnson in Roller
02:52PM Aug 14, 2004
Comments [0]
Tags:
Roller
Dave Johnson in Links
05:56AM Aug 12, 2004
Comments [0]
Tags:
Links
Dave Johnson in Links
05:55AM Aug 12, 2004
Comments [0]
Tags:
Links
Dave Johnson in Links
05:27AM Aug 12, 2004
Comments [0]
Tags:
Links
Dave Johnson in Links
07:18PM Aug 10, 2004
Comments [0]
Tags:
Links
Business Week: Jonathan Schwartz, president and chief operating officer of server maker Sun Microsystems (SUNW ), first suspected that his blog was a success when his salespeople began reporting that customers were reading his posts and sealing deals faster. Schwartz saw that as irrefutable proof that his blog, started on June 28, was a gold mine.
Dave Johnson in Roller
04:51PM Aug 10, 2004
Comments [0]
Tags:
Roller
I spent some time exploring the new Rome feed parser for Java and trying to understand how it works. Along the way, I put together the following class diagram and notes on the parsing process. I provide some pointers into the Rome 0.3 Javadocs, but, because this summary is based on the latest Rome codebase from CVS you will notice that some class and interface names have changed.
You don't need to know this stuff to use Rome, but it you are interested in internals you might find it interesting.
Notes on the Rome parsing processRome is based around an idealized and abstract model of a Newsfeed or "Syndication Feed." Rome can parse any format of Newsfeed, including RSS variants and Atom, into this model. Rome can convert from model representation to any of the same Newfeed output formats.
Internally, Rome defines intermediate object models for specific Newsfeed formats, or "Wire Feed" formats, including both Atom and all RSS variants. For each format, there is a separate JDOM based parser class that parses XML into an intermediate model. Rome provides "converters" to convert between the intermediate Wire Feed models and the idealized Syndication Feed model.
Rome makes no attempt at Pilgrim-style liberal XML parsing. If a Newsfeed is not valid XML, then Rome will fail. Perhaps, as Kevin Burton suggests, parsing errors in Newsfeeds can and should be corrected. Kevin suggests that, when the parse fails, you can correct the problem and parse again. (BTW, I have some sample code that shows how to do this, but it only works with Xerces - Crimsom's SAXParserException does not have reliable error line and column numbers.)
Here is what happens during Rome Newsfeed parsing:
URL feedUrl = new URL("file:blogging-roller.rss"); SyndFeedInput input = new SyndFeedInput(); SyndFeed feed = input.build(new InputStreamReader(feedUrl.openStream()));
Rome supports Newsfeed extension modules for all formats that also support modules: RSS 1.0, RSS 2.0, and Atom. Standard modules such as Dublic Core and Syndication are supported and you can define your own custom modules too.
Rome also supports Newsfeed output and for each Newsfeed format provides a "generator" class that can take a Syndication Feed model and produce from it Newsfeed XML.
Learning moreI've linked to a number of the Rome 0.3 Tutorials, here is the full list from the Rome Wiki:
Overall, Rome looks really good. It is obvious that a lot of thought has gone into design and a lot of work has been done on implementation (and docs). Rome is well on the way to "ending syndication feed confusion by supporting all of 'em" for us Java heads.
Please leave a comment if I have gotten something wrong.
Dave Johnson in Blogging
03:16PM Aug 08, 2004
Comments [6]
Tags:
Blogging
Dave Johnson in General
04:46AM Aug 07, 2004
Comments [0]
Tags:
General
Dave Johnson in Blogging
04:04AM Aug 07, 2004
Comments [0]
Tags:
Blogging
Dave Johnson in Blogging
04:03AM Aug 07, 2004
Comments [0]
Tags:
Blogging
Weblogs have been appearing all over the intranet where I work and I keep hearing about behind-the-firewall blogs at other companies. I've heard of folks who are blogging their weekly status reports, using blogs as personal notebooks at work, and creating newsfeeds for CVS, bug trackers, and other systems. Still, I get the feeling that most weblog-at-work deployments are experimental - just grass roots efforts to put weblogs in place to improve collaboration and communications and to see what happens. Am I wrong about this?
Traction Software sells "enterprise weblog software" and has put together an interesting list of weblog use cases, summarized below. Are you doing any of these uses cases? Are you blogging at work and, if so, what use cases are you finding most useful?
Traction Software's weblog use cases:
Dave Johnson in Java
01:34PM Aug 05, 2004
Comments [2]
Tags:
Java
I've been so busy with other projects, my day job, vacation, and being a Dad that I haven't been able to do much Roller development at all. That's a shame, because we are so close to a Roller 1.0 release. We also need a bug fix release from the Roller 0.9.8 branch, but that is probably not going to happen until things slow down a bit. My development efforts have been at a near standstill, but I've been keeping an eye on Roller. Here's a round-up of recent Roller developments.
John Hoffman of Sun has been giving some thought to the Roller main page and has introduced an interesting sortable interface for blogs.sun.com. John laments the fact that Roller supports only MySQL. With a couple of code changes, Roller 0.9.8 can be made to support PostgreSQL. Roller 1.0 will support PostgreSQL right out of the box.
Lance has been working on improving Roller's search interface and making numerous other fixes.
One blogger tried to install Roller on JBoss and didn't get very far, but I'm not sure why because he does not provide any specifics. Andy Depue is also working on getting Roller to run on JBoss, and trying to get some help on the mailing lists.
I'm not sure why Roller on JBoss is such a pain, but blogger Jeff Sheets observes that Roller on Tomcat just got a whole lot easier thanks to the Roller Demo bundle. I called it the Roller Demo bundle because I'm concerned about supporting HSQLDB for "production" blogging. Should I be?
A couple of JRoller users have complained about the Roller editors recently, so when I heard about the FCK editor I took note. I'm playing with it now in my Roller sandbox, but I'm a little discouraged that it does not support Safari.
It's kinda cool to see a Business Week about a Roller blog entry, even if it doesn't actually mention Roller.
Dave Johnson in Roller
06:31PM Aug 04, 2004
Comments [3]
Tags:
Roller
Dave Johnson in Java
02:49PM Jul 27, 2004
Comments [0]
Tags:
Java
Dave Johnson in Blogging
02:45PM Jul 27, 2004
Comments [0]
Tags:
Blogging
IBM has agreed to release to the open-source Eclipse project key tooling components that until now were exclusively part of the WebSphere Studio product line. This move is being keenly anticipated as it will greatly enrich Eclipse Development. Jim Zhang will talk on the new Eclipse Web Tools.For more information, see the Research Triangle Park Websphere User Group's Web site. Bill Dudney has documented some of the contributions on his Eclipse Live blog.
Dave Johnson in Java
02:43PM Jul 26, 2004
Comments [0]
Tags:
Java
« Previous page | Main | Next page »