Discussion:
Rss 2.0 namespaces and news aggregators
weird_z9r9
2005-09-17 11:22:43 UTC
Permalink
I am developing a newsfeed and would like to define my own namespaces.
Do you know if news aggregators in general recognise extended
namespaces?

I am having problems understanding how to use namespaces correctly and
don't understand how to declare them. I have been doing lots of
reading, but not actually getting any further. Here is a snip of my
rss feed, can I use namespaces like this?

<item>
<title>Furtherfield Reviews</title>
<project:title>BramTV</project:title>
<project:artist>Annie Abrahams</project:artist>
<project:reviewer>Joachim Desarmenien</project:reviewer>
<link>http://www.furtherfield.org/displayreview.ph
p?From=Index&amp;review_id=155</link>
<description>
<![CDATA[<p><img src="Loading Image..."/>]]>
<![CDATA[<p>Annie Abrahams latest work focuses on collection, collage
and URL redistribution, with an intention of maintaining art, in a
state of objective absence, Bramtv takes us on a trip to data
dandyism.</p>]]>
</description>
<author>zara-***@public.gmane.org (zara hughes)</author>
<pubDate>Sun, 28 Aug 2005 23:48:33 GMT</pubDate>
</item>

I know this may seem oblivious to many of you, but for a newbie it can
be quite confusing.

Zara








Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
rss-dev-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Greg Smith
2005-09-17 15:53:51 UTC
Permalink
I can't help you with namespaces in general, but I do
know that FeederReader will display the additional
elements when you turn ON "Detail: Message".

Greg Smith
Author, FeederReader - Pocket PC *direct* RSS text,
audio, video, podcasts
www.FeederReader.com - Download on the Road
Post by weird_z9r9
I am developing a newsfeed and would like to define
my own namespaces.
Do you know if news aggregators in general recognise
extended
namespaces?
I am having problems understanding how to use
namespaces correctly and
don't understand how to declare them. I have been
doing lots of
reading, but not actually getting any further. Here
is a snip of my
rss feed, can I use namespaces like this?
<item>
<title>Furtherfield Reviews</title>
<project:title>BramTV</project:title>
<project:artist>Annie Abrahams</project:artist>
<project:reviewer>Joachim
Desarmenien</project:reviewer>
<link>http://www.furtherfield.org/displayreview.ph
p?From=Index&amp;review_id=155</link>
<description>
<![CDATA[<p><img
src="http://www.furtherfield.org/BramTV1.jpg"/>]]>
<![CDATA[<p>Annie Abrahams latest work focuses on
collection, collage
and URL redistribution, with an intention of
maintaining art, in a
state of objective absence, Bramtv takes us on a
trip to data
dandyism.</p>]]>
</description>
<pubDate>Sun, 28 Aug 2005 23:48:33 GMT</pubDate>
</item>
I know this may seem oblivious to many of you, but
for a newbie it can
be quite confusing.
Zara
Yahoo! Groups Links
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com



Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
rss-dev-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Bill Kearney
2005-09-17 16:40:50 UTC
Permalink
Post by weird_z9r9
I am developing a newsfeed and would like to define my own namespaces.
Do you know if news aggregators in general recognise extended
namespaces?
What's your intention with regard to what the added data will do for the
user?
Post by weird_z9r9
I am having problems understanding how to use namespaces correctly and
don't understand how to declare them.
This is an XML issue, not one specific to RSS. Basically you declare it
with an xmlns directive. Note, however, that the prefix letters used are
NOT significant. It's the namespace URI string itself that's important.

Thus these are equal:

xmlns:ns="http://someuri"
xmlns:project=http://someuri
xmlns:hamsandwich="http://someuri"

It's that "http://someuri" string that programs should use to handle the
content.
Post by weird_z9r9
I know this may seem oblivious to many of you, but for a newbie it can
be quite confusing.
Welcome to XML. It's got a few sticking points like validation, encoding
and namespaces but once you learn those it's really pretty simple to use.

To test your feed be sure to run it through the validator:

http://www.feedvalidator.org

And once it's ready, you can register it with us on Syndic8

http://www.syndic8.com

-Bill Kearney




Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
rss-dev-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
weird_z9r9
2005-09-17 17:25:34 UTC
Permalink
Thanks Greg, it seems some news aggregators allow users to control the
display information whilst other are very limited.

and Thank you too Bill,
Post by Bill Kearney
What's your intention with regard to what the added data will do
for the user?

I would like the feed to contain relevant information about new
content - in most cases this includes five items, each item would
contain the following info:

New reviews appearing on furtherfield.org home page - title, artist,
summary text, reviewer, thumbnail image, link to the review

So i thought i could achieve this by adding extra data.
But it would only be worth adding extra information if news
aggregators are able to process it.

Thank you for your explanation of namespaces-i shall do some more
reading, but its certainly starting to make sense.

cheers, Zara






Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
rss-dev-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
MrDemeanour
2005-09-17 18:20:29 UTC
Permalink
Post by weird_z9r9
I know this may seem oblivious to many of you, but for a newbie it
can be quite confusing.
I've been messing around in certain corners of XML for a few years now,
and I can confirm that "oblivious" is a totally appropriate usage, when
some applications of XML are considered!

[I'm sure you meant 'obvious' - it was so obvious to me that 'obvious'
was what you meant, that I only noticed it the second time around.]

<cents count="two" usage="worth">
I also find namespaces difficult. Raw XML is easy-peasy, in principle.
But (for example) some of the things that XSLT has given rise to are
write-only - rather like regexes; it's often easier to start again, than
to try to fix the bug. I prefer a procedural language, to a declarative
language that is being used to describe a procedure.
</cents>
--
Jack.



Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
rss-dev-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
weird_z9r9
2005-09-17 19:36:10 UTC
Permalink
It was so `obvious', I was oblivious to it! Thanks Jack.

You certainly sound like you have a fair bit of experience. I think I
will find xml really useful and interesting once I understand the
principles involved. So far I have mainly been reading RSS books and
related sites, now I think I need to try some xml tutorials.

As far as coding goes – well it doesn't, I have briefly browsed
through some XSL tutorials, but I think I need to understand xml a
little better before moving onto XSL.

I just keep getting stuck, I know what I want to do, but I'm just not
sure which way to proceed forward. I keep making lots of sample feeds
trying to work the best way out…

Zara






Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rss-dev/

<*> To unsubscribe from this group, send an email to:
rss-dev-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Loading...