473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

RSS 2.0 external modules

Hi,
I've done some test with RSS 2.0 feeds. I was interested into the
capability to bring data directly inside the RSS channel.
I though to write an external module with my tags but (if I understood
well the specs) there is no way to reference in my RSS feed a dtd
describing my module. Through the namespace tag I can specify an url
where to find some docs about my tags (docs implementation is left to
the writer).
So, if I extend a feed through a custom namespace, should I write also
the a client-aware of my new tags, right?

So where is the usefulness of this modules?

Thank you in advance

--
Cafonauta
Jul 20 '05 #1
3 1223
It was somewhere outside Barstow when bo***@mclink.it (Cafonauta)
wrote:
So where is the usefulness of this modules?


IMHO (incoming rant) there is alomost none. For much the reasons you
describe, it is only usel as an end-to-end protocol between an
extended producer and an extended client. Now if a major producer did
this (maybe a music publisher started including new snippets of music
releases), then the client developers would follow. But small sites
can't extend and expect anyone to notice, and you certainly can't
extend clients in ignorance.

This is why RSS 1.0 is better than RSS 2.0, always will be, and one of
the many reasons why Dave Winer is an idiot.

RSS 1.0 uses the RDF model, not just XML. This has the advantage that
the meta-structure of the document is always parseable, even when it
has been extended. It has little theoretical advantge over XML+RSS for
this (as choosing RSS implies much the same level of implied
structure) but it has a few practical benefits; you can use standard
RDF tools, like Jena, to work with it rather than needing to invent an
application-specific toolset for RSS. Secondly the use of OWL allows
this described structure to be extended in a useful manner, even for
new external modules.
--
Smert' spamionam
Jul 20 '05 #2
Andy Dingley <di*****@codesmiths.com> wrote in message:
RSS 1.0 uses the RDF model, not just XML. This has the advantage that
the meta-structure of the document is always parseable, even when it
has been extended. It has little theoretical advantge over XML+RSS for
this (as choosing RSS implies much the same level of implied
structure) but it has a few practical benefits; you can use standard
RDF tools, like Jena, to work with it rather than needing to invent an
application-specific toolset for RSS. Secondly the use of OWL allows
this described structure to be extended in a useful manner, even for
new external modules.


So It's like I supposed :-(
Three weeks ago I started digging into RSS for the first time and (as
most of the people) I started with the RSS 2.0 which it's so
straightforward. Actually I faced immediately with its limitations.

I want to set up a RSS channel which alerts subscribers whenever some
stocks changes. My idea was to include the stocks names and values
inside the RSS feed so I would need some <stock/> <price/> <value/>
tags...
Right now (before digging into RDF) the only solution I see is to have
a normal RSS feed with a <link> to an xml file containing my stock
values along a dtd describing my grammar and an optional xsl for
clients which needs just to diplay data in html style.

Thoughts?

Bye

--
Davide
Jul 20 '05 #3
It was somewhere outside Barstow when bo***@mclink.it (Cafonauta)
wrote:
I want to set up a RSS channel which alerts subscribers whenever some
stocks changes. My idea was to include the stocks names and values
inside the RSS feed so I would need some <stock/> <price/> <value/>
tags...


By the sound of it, this is pretty easy ! You're into territory
where only clients with a sophisticated understanding of your specific
changes are expected to make sense of this new information.

So my general rules in this case are as follows:

- Add the new properties in such a way that they don't break any
existing features.

- Support the existing RSS properties so that there is a "sensible"
behaviour if a non-enhanced client encounters them (i.e. add the new
<price> property as a machine-processable property, but also repeat
its value in a human-readable <description>).

- Add the new information in a way that would make sensible addition
to RSS, if this were a core part of it - i.e. add properties as part
of the document (if possible), not as linked attachments outside the
document.
So personally I'd use RSS 1.0 (maybe 1.1) because that's what I
always do. However there's no real reason why you couldn't use 2.0
here.

If you want your <stock> <price> & <value> properties, then just add
them. It's now a trivial piece of XML or XSLT coding to make use of
them in your new clients. In the <description> then give enough
information for a "vanilla RSS" client to give some human-readable
display too. There's no need for your enhanced app to even use this
property, if it can already duplicate the information from the
specific properties.

There's no need to apply an RDF processing model here, as you have a
small number of simple additions and they're each of simple structure.
However if you do want to investigate RDF, then go to the W3C site and
look at the document pack from February 2004. Ignore all documents
earlier than this - the docs were re-written from the ground up and
are much better than their predecessors (congratulations to all
involved).

--
'Ph'nglui mglw'nafh Cthulhu Evesham wagn'nagl fhtagn'
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert Lintner | last post by:
Hi, I woult like to switch from DTD to XML-Schema and am looking for an equivalent to external ENTITY for composition of an xml file from modules --- my.dtd -- <?xml version="1.0"...
8
by: Hagar | last post by:
I am currently learning C++ and am into a project for the end of the semester finals. Everything is rosy except for one feature that I want to include and can't find in my very large and...
8
by: Scott Allen | last post by:
Hello, I'm new to C++ development and I'm trying out figure out the cause of an 'unresolved external symbol' error that I'm receiving when compiling. Here is some history on what I'm doing: I...
1
by: Martin_Hurst | last post by:
Is it possible to establish a connection from within a postgres database to another external database on the network, i.e., not a java or scripting connection, BUT by some type of table definition...
0
by: Darkoł | last post by:
I'm trying to do a simple web form with asp.net & C# but althoug the page is correctly compilated, when i load the page there is the following error message: System.Web.HttpException: External...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
2
by: Ognjen Bezanov | last post by:
Hello, I have some external C libraries I would like to use with python. I have been searching on the internet and found many such modules/bindings for libraries (e.g. Py-Lame) but have not...
0
by: bernhard.voigt | last post by:
Dear list, I'm using two external modules (matplotlib and pyroot). Both are using different GUI threads (internally) Unfortunately, pretty soon after I've loaded both modules and made some...
1
by: kamalatanvi | last post by:
Hi, I have downloaded win32 module and tied to install it by make install Win32-0.34 nmake is not recognized as an internal or external command, operable program or batch file nmake -- NOT...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.