Posted by spottybones on October 2, 2006 at 7:29pm
Jump to:
| Project: | Attachment |
| Version: | master |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
This patch ports RSS enclosure support from the upload.module to the attachment.module. The first attached file that is neither hidden nor deleted will be included as an enclosure when the node is syndicated via RSS. The patch applies cleanly to the current cvs or 4.7.0 branches.
| Attachment | Size |
|---|---|
| attachment.module.rss-enclosure.patch | 1.28 KB |
Comments
#1
that looks pretty good but how about just having it return the values inside the foreach loop as soon as you find a non-deleted, visible file?