[drupal-devel] [feature] More flexible rss output

Dries drupal-devel at drupal.org
Mon Jan 31 22:39:37 UTC 2005


 Project:      Drupal
 Version:      cvs
 Component:    node system
 Category:     feature requests
 Priority:     normal
 Assigned to:  walkah
 Reported by:  walkah
 Updated by:   Dries
 Status:       patch

Some quick comments:

RSS allows you to specify multiple categories.  Why only emit one?
Isn't the author-field supposed to hold the author's e-mail address,
rather than the author's name?
Does it make sense to limit enclosures to files that have the
'List'-flag set?
As a user, I'd like to know (and have control over) what file will be
used for the enclosure.  How does other software deal with the fact
that you can have multiple files but only one enclosure?  Any
screenshots or GUI suggestions?  At a minimum, the implicit behavior
should be clearly documented so the user can upload his files in the
correct order (or something).
What is the rationale behind returning an associative array of arrays? 
Why not return an array of ready-to-use string? (eg. return
array('<category>my category<category>');)  Just thinking up loud.

I'd like to hear Neil's ideas on this.


Dries



Previous comments:
------------------------------------------------------------------------

January 31, 2005 - 23:28 : walkah

Attachment: http://drupal.org/files/issues/format_rss_item.patch (4.06 KB)

this patch does a few things:
* alters format_rss_item (in common.inc) to allow the $args paramater
to be an array of arrays (optionally), so that extra arguments can have
attributes - i.e. think enclosures
* introduces a nodeapi option for 'rss item', so that other modules can
add additional info to each rss item
* patches taxonomy.module to add category information to feeds
* patches upload module to add enclosure for feeds (NOTE: rss only
allows 1 enclosure per item). this would allow things like, say,
podcasts to be available in drupal.


-- 
View: http://drupal.org/node/16513
Edit: http://drupal.org/project/comments/add/16513





More information about the drupal-devel mailing list