By larry on
Ok...how can I suscribe to only 1 RSS feed? Perhaps, I'm behind in the times. Drupal allows me to have RSS feeds using "node/123/feed" or "node/feed/123"...ok. But, this feed returns 15 stories as a default. Why? If I'm interestd in just 1 feed, how can I get it and only it...not a group or category of feeds? Can someone please explain Drupal RSS syntax to me? Yes, I've trolled through the forums long enough...too long actually. Nothing, only bits and pieces. Is there a centralized section within drupaldocs that talks about HOW to use RSS and get feeds...both individual and category?
thanks,
larry
Comments
Global feed
There is no feed for a single node, if that's what you're looking for.
--
If you have a problem, please search before posting a question.
bingo...
Thaks for your reply Steven. Yes, that is what I was looking for. I'm not so familiar with how RSS can be handled, that's why I asked for documentation. Is it always this way? I mean, can you only subscribe to a group of feeds on then select from this group what you wish to see, or is this only the case with Drupal? I've seen the exact same on Yahoo feeds as well, but I just want to make sure I'm seeing things correctly.
thanks,
larry
--There are no Kangaroos in Austria--
RSS 2,0 spec
The RSS 2.0 spec says a feed may contain "any number of items."
A feed in Drupal appears to be hardcoded to return the most recent 10 items in any context in which it is used.
Theoretically a feed could consist of one item only, if a context contains only one item, but I'm puzzled as to why you would want to do that. What are you trying to accomplish?
undertanding is everything...
Thanks for your reply yelvington. I've gone through the RSS 2.0 spec. However, Drupal uses 0.92 to my knowledge. I think 4.6 supports 2.0, but I am currently using 4.5. Is there anyway that you know of to make Drupal 4.5 speak RSS 2.0?
Actually, I was just trying to understand RSS feeds. It took me awhile to figure out that all taxonomy terms used can in turn have their own unique feeds. I saw that by putting "feed" at the end of any node, such as "node/123/feed", you got a list of feeds based on the overall index of articles, not taxonomy term specific. I thought this was a flaw because putting the word "feed" after one particular node, I naturally expected a feed for ONLY that node, not 10 or 15 feeds from the overall listings. My bad. Now Ive got it, thanks for help on clarification.
larry
--There are no Kangaroos in Austria--
Is there anyway that you
Yes, open an account with feedburner.com, then run you feed through their service and configure aggregator in Drupal with the feedburner url- this way, Drupal 4.5 supports RSS2.0, if I am not mistaken
my bad...I mean output
Thanks ramdak5000 for your response. I made a mistake in terminology...I mean is there anyway that I can make the RSS feeds on Drupal 4.5 output RSS 2.0 instead of RSS 0.92. Sorry about that, too much coffee and too little sleep.
larry
--There are no Kangaroos in Austria--
2.0 vs 0.92
AFAIK you'll have to upgrade to Drupal 2.6, which of course introduces some unpredictable issues at this point.
For the most common uses of RSS -- syndicating headlines, summaries and links back to your site -- 0.91/0.92 and and 2.0 are functionally identical.
The big advantage of 2.0 is official support for "enclosures" -- basically references to associated media objects that may be downloaded. That is the foundation for podcasting, which Drupal 2.6 supports nicely.
The reason for the big jump in version numbers is that the name "RSS 1.0" was taken by a group that developed its own standard bearing little or no resemblance to the original RSS.
History is here
Please don't say things you
Please don't say things you have no clue over. RSS 1.0 contains RDF, which is far more similar to the original RSS (0.90) then Dave Winer's versions will ever be (from your comment, you seem to think 0.91 and 0.92 are the "original RSS", when 0.91 was a merging of some features from Winer's scriptingNews format). The history you link to was written by Dave Winer, hardly an impartial advocate.
(Note: I am not an impartial advocate either.)
http://disobey.com/
http://gamegrene.com/
http://www.disobey.com/
Drupal and RSS
Drupal does not produce correct RSS (by any of the agreed upon flavours) but what I'd call RSS-Like (as in 0.9ish). It just takes the data in a node and throws it verbatim in a container. Images, links and and other bits HTML markup don't, for example, ever belong in a RSS description element. One can include HTML but only via use of namespace extensions. Images and crossrefence links should be in structured fields and just just thrown inlined. That Drupal allows for this in node building is fine. Drupal can do what it wants to create HTML--- that its not quite a content model (and HTML is a horrible mess that has long devoured its creators) is aside the fact--- but it does not belong in RSS (and its clearly not clean RSS 2.0 as being declared).
Au contraire, markup is ubiquitous in RSS
Edward, I'm not sure where you got this idea from. "links and other ... HTML markup" are very common in real world RSS feeds. I see bold and italic all the time, and links and lists pretty frequently. Even the sample RSS 2.0 feed that's attached to the RSS 2.0 spec includes links in its articles.
Of course, the RSS doesn't literally contain HTML tags. It contains text that is interpreted by the newsreader as HTML markup. All newsreaders I know of support this.
Moreover, the latest RSS spec says nothing concrete about the content of the 'description' element, what its restrictions or interpretations are. (RSS is such a vaguely-defined standard that trying to pin it down on any details is somewhat pointless.) Atom is much more clearly defined, and explicitly allows either escaped HTML markup or direct XHTML as content.
Frankly, I'm not sure what the point would be of restricting article content to plain text, or why someone would get so worked up about it. Restricting content to plain text seems only slightly less silly than restricting it to Ascii.
(Oh, and as for my qualifications, I work on the development of the Safari RSS newsreader in Mac OS X.)
Edward, I'm not sure where
The issue is NOT the abuses you see but the intent and standard of RSS (why perhaps the RSS 1.0/RDF crowd, however much I don't care for the complexity, are perhaps right about RSS 0.9/2.0)
Lets look at the RSS 0.9 specification (one that Drupal has long claimed to produce): http://www.scripting.com/netscapeDocs/RSS%200_91%20Spec,%20revision%203....
- Files must be 100% valid XML.
- No mixed content tags. We are specifically not including any tags that contain mixed content in RSS 0.91. This means that each tag either contains sub-tags only, or text only, not a combination.
- We also are not allowing any HTML markup beyond the commonly used entities such as " A full list of these are defined in the RSS 0.91 DTD.
----
If you look at the DTD under description you see:
ELEMENT description (#PCDATA)
In RSS 2.0 things got a bit loosened: http://blogs.law.harvard.edu/tech/rss
-RSS 2.0 adds that capability, following a simple rule. A RSS feed may contain elements not described on this page, only if those elements are defined in a namespace.
---
And, yes, a lions share of RSS that is published by these toy systems is broken. The same can often be said the HTML that these systems produce (although no worsel that many of the static pages I've seen). In crawling 100s of millions of pages over the past few years I've seen all kinds of the weirdest HTML junk one could NOT have imagined (great exercise for my parsers but also proof of the futility of trying to harvest good metadata from uncontrolled sites).
--
Edward C. Zimmermann <edz@nonmonotonic.net>
BSn's Nonmonotonic Lab
This is why you want ONE node feed
I have been asked to provide that people can follow A Topic in a forum EVEN IF THEY HAVEN'T CONTROBUTED TO IT.
As far as I can see there is no way that this can be done at present.
But I can assume that the members know RSS and could follow a simple instruction like "paste the URL into your RSS Reader and append /feed to it. Then delete it when you get bored with the Topic, or it dies".
Anyone got any ideas?
Of course if there is a way for people to tag Topics as interesting or whatever, do tell :-)
an email alternative
Why not use the subscriptions module? Users would then be able to receive email updates to a post anytime a new comment is posted.
Seems interesting
Can you create a spec so that you can get posts for a specific user and a particular category?
Has it been tested a lot?
RSS 2.0, 1.0, 0.9.1 or 0.9.2 -- Users should be able to choose
If a user wants to view the newsfeeds from a drupal site they may want to view it in a particular format that is best for them or their client app.
I should be able to choose from any of these:
http://www.drupal.org/rss (for the default rss format)
http://www.drupal.org/rss2 (to specify 2.0)
http://www.drupal.org/rss1 (to specify 1.0)
http://www.drupal.org/rss92 (to specify 0.9.2)
This should give you all the same data, but with a different format.
Maybe this is already possible, but I haven't found references to it. RSS feeds aren't being produced primarily for the site admins, but rather for the general public (so they should be available in a range of formats).
Now, is this already possible (if so where are the docs)?
Where are the RSS feeds for drupal.org? Was suprised that I didn't see an xml icons when I was browsing the site.
Is using 'rss' oldschool or have modules moved over to 'feed'? Either way the users/visitors should have options.
I was trying to dogfood this, but failed..
Mike
--
Mike Gifford, OpenConcept Consulting
Free Software for Social Change -> http://www.openconcept.ca
Why there's no separate feed
Why there's no separate feed for every(some) node? It cannot be done in Drupal, or just it wasn't done for Drupal.org? For example I need to track particular issue in CVS until it is patched. It would be great feature to add /feed to issues'url and get new comments in rss reader.
Documentation for RSS Feeds
Gosh, would someone please answer the original question: where is there documentation on how to create and manage RSS feeds using Drupal? I can tell many of you know how it's done. Could you please, please, just let the rest of us know where the info is? If there is no doc page, just say that!
David I. Gross, photographer
www.mimetic.com
www.frontline-photos.com
email: dgross@mimetic.com
Handbook
As for the documentation, try this:
Click on the Handbook link
In the section labeled Installation and configuration you will see a link labeled Drupal modules and features.
In there you will see the first link as Aggregator: syndicating content. http://drupal.org/handbook/modules/aggregator
-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
but what about docs on managing your drupal feed?
This handbook section is on the aggregator module, which as far as I understand is for bringing content from other sites into yours. I think this thread is about there being some info on managing your drupal-generated feed. Isn't there some kind of gui where you can select different options for your feed? Like how many posts are included in it, etc? If you have to do this manually somehow, is there any explanation for it?
Was there ever an answer to this question?
So, the aggregator module looks like it is great at aggregating existing RSS feeds. It isn't clear to me at a first read (and I guess similarly to the person(s) who started/continued that part of this thread) how you simply add an RSS feed to a Drupal site/module/node/whatever.
It's in the built in
It's in the built in help.
?q=admin/help/aggregator
Perhaps if you asked questions specific to where you are confused it would enable folks to give you better answers.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Ah, of course, the digression hidden in the docs!
Are you referring to the line
"NOTE: Enable your site's XML syndication button by turning on the Syndicate block in block management."
that all of us should have been on the alert for and believed would naturally be in documentation about how to aggregate other site's RSS feeds?
We should also have known, because it is mentioned obliquely in this discussion, and presumably documented somewhere as a different digression, that Drupal does (appears to? does in some instances) include the feed at .../node/rss whether there is a button pointing to it or not.
You're right. We should have seen it and we should have known to look for digressions in the coverage of a very different (to some of us) subject. This information may want to be included elsewhere in the documentation, worded to include "RSS" so that searches find it. But I'll accept that as something I need to do when I'm clued in enough re:Drupal to contribute.
I'm just trying to answer
I'm just trying to answer the questions asked with specific areas people can look at. Sometimes that helps refine the question enough.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
grab and read about these
grab and read about these modules:
http://drupal.org/project/syndication
http://drupal.org/project/taxonomy_dhtml
i never understood why drupal core didnt automate xml output (not just rss) for every node... not clear on if 4.7 or next releases do make this part of core.
i think a core module should exist that lets you enable/disable xml for entire site, per node, per module (if hooks) and per xml flavor as well as customizable xml templates editable from admin area.
Where are my rss feeds?
A link like this should pop up in the headers telling good browsers where at least some rss feeds are :
The basic feed is with the path node/feed :
http://poped.org/node/feed
There are other useful possibilities described here:
http://drupal.org/node/29352
http://www.gerd-riesselmann.net/archives/2005/11/one-feed-module-to-rule...
http://drupal.org/project/commentrss
It would be useful if we could just assume that adding feed to the end of a path would spit out the rss if it is available, but that doesn't seem to be an option. Would be useful when trying to monitor issues like:
http://drupal.org/project/issues/image
Mike
--
Mike Gifford, OpenConcept Consulting
Free Software for Social Change -> http://www.openconcept.ca
How to recieve a specific users posts
Judging from what has so far been said i assume that an rss feed cann't enable me to recieve a partiucar users posts.
Perhaps it is possible if the post is a blog post?
I assume that it is not possible for the image module or for news module though.
In other words a node refers to a specific users posts therefore i assume that it cannot be done. After all I understand from the above posts that the rss cannot differentiate between different nodes.
However can a tag can be rssed?
If it can then a user could tag their username when they make a post. clumsy but perhaps that the only way available?