John Pye <john@curioussymbols.com> 07/05/2004 04:06 AM | To: campsite-dev@campware.org cc: Subject: Re: [campsite-dev] Do clients have PHP XML libraries loaded? |
cite="midOFD4866ECE.5716A63E-ONC1256EC8.002CFC6E-C1256EC8.002D72E0@mdlf.org"
type="cite">
Hi folks,
I'd say the formats, in order of
their importance, are:
1) NewsML (yes, it is overkill in
terms of the number of possible metadata tags, but it is also the most
comprehensive for professional news work
2) RSS 2.0 (more flexible, and the
<enclosures> tag will mean some interesting things in the future)
3) RSS 0.91 (most widespread
support. As John put it, the Lingua Franca of syndication)
4) Atom (up-and-coming, but as far
as I can tell, uptake is limited to the Blogger A-list; we should
support it, but the question is whether it needs to be there for 2.2 or
if it can wait)
I like John's idea of using XSLT to
transform the feeds into whatever we need; I'm not a developer (I just
shake people's hands and hand out business cards), but I'd bet there
will be more of these syndication formats to come, and if we can build
flexibility into our architecture as opposed to "hard-wiring" support
for one format or another, I'd say we're better off.
doug
------------------------------------------
Posted to Phorum via PhorumMail
The feature that I am developing is for import of articles. You might
be thinking of article export from your comments below - for example,
XSLT only helps us for article export. RSS 0.91 and 2.0 do not support
content, so it cannot be used for article import. We could use the
optional mod_content tag for RSS and use that for article import if we
wanted, but I'm not sure how well this is supported. The new
"enclosure" tag in RSS 2.0 only points to external files, and does not
contain data itself.
If anyone can provide me with more use case scenarios, it would greatly
help the development of this feature. As far as I know, there are two:
1) Someone types up an article in the required format, or uses some
sort of software that automatically creates the format, and then
uploads the article to the server.
2) The campsite server reads a feed from another server and adds the
articles to its database.
Under scenario #1, NewsML might
be an incredibly daunting format for our users if they are typing it in
by hand. That's why we were thinking of Atom - a
very simple format that can be written by hand and is being actively
developed.
I understand that the feature should not be tied to a particular
format, and the code will be written so that new formats can be
implemented later.
- Paul
Paul Baranowski <paul@paulbaranowski.org> 07/05/2004 07:14 PM | To: campsite-dev@campware.org cc: Subject: Re: [campsite-dev] Which format to use? |
Mugur Rus <mugur1973@yahoo.com> 07/07/2004 04:42 PM | To: campsite-dev@campware.org cc: Subject: Re: [campsite-dev] Which format to use? |
It looks like you're new here. If you want to get involved, click one of these buttons!