RSS Plugin

1 view
Skip to first unread message

Saul Howard

unread,
Oct 20, 2008, 8:22:45 AM10/20/08
to Haddock CMS
I wrote and committed an RSS plug-in, to facilitate handling of RSS
feeds.

So far, it contains code that retrieves and displays a feed, rss2.0 or
atom.

I also wish to extend this to write a simple feed aggregator, and some
code to help with publishing feeds.

Since the plug-in also handles atom feeds, should I rename the whole
thing 'Web feeds'?

Is it acceptable to refer to them all as RSS?

Robert Impey

unread,
Oct 20, 2008, 10:06:15 AM10/20/08
to haddo...@googlegroups.com
2008/10/20 Saul Howard <saulh...@gmail.com>:

>
> I wrote and committed an RSS plug-in, to facilitate handling of RSS
> feeds.
>
> So far, it contains code that retrieves and displays a feed, rss2.0 or
> atom.
>
> I also wish to extend this to write a simple feed aggregator, and some
> code to help with publishing feeds.
>

So the plug-in should be able to consume and produce web feeds?

> Since the plug-in also handles atom feeds, should I rename the whole
> thing 'Web feeds'?
>
> Is it acceptable to refer to them all as RSS?

I don't think that code to do with atom should be referred to as RSS.

The best thing to do would be to create a "Web Feeds" plug-in that
contains some abstract classes. Code to do with Atom should be moved
to the "Atom Web Feeds" plug-in. The web feeds plug-in should contain
common functionality.

If some other format comes along, then we could start a new plug-in
that reuses the "Web Feeds" plug-in.

I'm not sure if everyone who uses RSS is going to need code that can
handle Atom and vice-versa.

Rob

> >
>

--
Rob Impey

Robert Impey

unread,
Oct 20, 2008, 10:09:45 AM10/20/08
to haddo...@googlegroups.com
2008/10/20 Saul Howard <saulh...@gmail.com>:

>
> Since the plug-in also handles atom feeds, should I rename the whole
> thing 'Web feeds'?

Also, might "RSS Web Feeds" be a better name for the plug-in?

RFI

--
Rob Impey

Saul Howard

unread,
Oct 20, 2008, 8:32:25 PM10/20/08
to Haddock CMS
At the moment, most sites offer both atom and rss. Many offer only
RSS. Google often offers only atom.

Using both types of feeds is almost exactly the same.

I think I will rename the plugin Web Feeds, and include both Atom and
RSS functionality in it. There is only one specfic RSS class and one
specific Atom class so I don't think we need separate plug-ins for the
both of them.

--
Saul

Robert Impey

unread,
Oct 20, 2008, 9:41:15 PM10/20/08
to haddo...@googlegroups.com
2008/10/21 Saul Howard <saulh...@gmail.com>:

OK, if it's just one class then there's no need to over-complicate
matters by separating the code into three plug-ins.

I wonder what the right time to separate code into new plug-ins is?
For one class, it seems like overkill.

Perhaps it's a mistake to look at this from the point of view of code
complexity or length. The question should be "Is it possible that a
programmer might not need this code?" If the answer is "Yes", then
that code should at least be considered for separatation.

Do you know of any other syndication formats that might be needed? If
there are a lot of them, then it might make sense to have one plug-in
for each. If it's just RSS and Atom, then a single plug-in probably
makes the most sense.

RFI

>
> --
> Saul
> >
>

--
Rob Impey

Reply all
Reply to author
Forward
0 new messages