Closed (works as designed)
Project:
Remove Upload Enclosures
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
20 Aug 2008 at 14:25 UTC
Updated:
10 Sep 2008 at 20:30 UTC
This module has absolutely no effect on my rss feeds. File enclosures are still listed. Any advice?
Drupal's RSS is god awful. Sigh.
Comments
Comment #1
matt@antinomia commentedI believe the issue you're having might be that the module's weight is not set properly and is not disabling the files array of the node object before it is passed to the upload.module for RSS-ification. If you update the module's weight in the system table to something less than the upload.module's weight, I believe the problem should be resolved.
[EDIT] The module does appear to set its own weight in the system table on installation. Is it possible that you've altered the weight of your own upload.module? [/EDIT]
Comment #2
dsnydernc commentedNo. I wouldn't even know how to do that.
Comment #3
matt@antinomia commentedThe easy way to do it would be to use the moduleweight module (http://drupal.org/project/moduleweight). Just set the weight of the remove_upload_enclosures.module to something like -100 and see if that fixes the issue.
A more advanced method would involve administering a query using a MySQL administration tool, either a command line tool or a browser-based tool like phpMyAdmin (which many hosts have as an option in the control panel). You'd want to issue the following command:
UPDATE {system} SET weight = -100 WHERE name = 'remove_upload_enclosures';Check out this handbook page for more information: http://drupal.org/node/110238
Comment #4
dsnydernc commentedI installed the module and assigned the weight of remove rss enclosures to -100, no effect. Perhaps I am misunderstanding what this module is intended to do.
When images are attached via imagefield in cck, the rss feed displays a link to my files directory.
When an flv file is attached to a node via flashvideo, the flv file is listed in the rss feed.
Is this module intended to remove these items?
Comment #5
matt@antinomia commentedIt is my understanding that this module only removes attachments created by the upload.module, not by other modules, which is why you are likely experiencing this issue! :D
That being said, does imagefield embed attachments in your RSS? I'm unable to replicate that using the current version of CCK and Imagefield. I'm not sure about flashvideo.
Comment #6
mfer commented@davidsnyder@me.com - Remove Upload Enclosures only removes enclosures added by the upload.module included in code. It's not designed to work for CCK. It sounds like that's your problem.