I wanted a content:encoded item for my feeds so I made a small extension module to implement it. Feedback would be appreciated: http://github.com/guictx/views_rss_content
Thanks Guilherme. Essentially it looks good, few quick thoughts though after looking at the code (haven't tested it yet):
Don't you want to submit this module to d.o yourself?
Thank you so much for the review Maciej. I followed your suggestions and changed:
1. Removed views_rss_content_views_rss_item_content() - latest dev correctly encodes the element, so no need for CDATA-escaping;
2. Removed title key;
3. Added help key pointing to http://www.feedforall.com/content.htm;
4. Added views_rss_rewrite_relative_paths as a preprocess function to make sure links in content:encoded are absolute.
Regarding the implementation of hook_views_rss_channel_elements() I'm not so sure. The spec is a little bit ambiguous regarding <channel> and the RSS Best Practices document doesn't mention it. What do you think about it?
And I'll go ahead and submit the module.
I created a sandbox: http://drupal.org/sandbox/guictx/1549874 .
Just given it a quick test ride and all seems to be working fine. Coder does not report any issues either. Please just remove LICENSE.txt file from the repo (it will be added automatically by d.o) and rename README.md to README.txt (perhaps wrapping its long lines at the same time) and you're good to go! (At least based on what I can see.)
I finally got around to submit the project application for this: http://drupal.org/node/1626446.
Guilherme, I have read the comments in the Project Applications queue, and - if you want - I could create a new full project from this and make you a co-maintainer?
OK, lets do that!
http://drupal.org/project/views_rss_content - you have empty project and all permissions. Into your hands now!
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.