This module is a simple module that exposes a formatter for Link module fields to render a feed reader. If the URL of the link field is not a valid feed, then the value is ignored and not rendered.
FAQ
Q: Why use Link rss formatter instead feeds module?
A: Sometimes it's necessary display a simple feed reader from a link field without importing the feeds into nodes like feeds module. The purpose of Link rss formatter it's solve this scenario on a clean solution, using a formatter display.
Usage:
- Configure a content type with a link field.
- Download, install and enable the module.
- Go to the Display settings for that content type.
- Configure the link field to use the Link RSS formatter. Select the number of items to display and select the format desired (Default, summary or text plain).
- Create a content item with a URL for a RSS feed in that link field, and note that feed items are rendered.
Access
http://drupal.org/sandbox/mordonez/1365252
Git repository
git clone --branch 7.x-1.x mordonez@git.drupal.org:sandbox/mordonez/1365252.git link_rss_formatter
Requirements
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | drupalcs-result.txt | 783 bytes | klausi |
Comments
Comment #0.0
mordonez commentedAdd Libraries section
Comment #0.1
mordonez commentedfix git repository
Comment #0.2
mordonez commentedadd faq section
Comment #0.3
mordonez commentedchange git repository
Comment #1
jinlong commentedReview of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. Go and review some other project applications, so we can get back to yours sooner.
Source: http://ventral.org/pareview - PAReview.sh online service
Comment #2
mordonez commentedThanks jinlong for review my code.
I reviewed the error on Readme.txt and some comments. But others errors come from a library used on feeds module. I need to repair the library errors?
Please consider to review my code again
Thanks.
Comment #3
drupalnetworks commentedyou need to either put instructions how to download library in your readme or you can use Libraries API to handle that stuff.
In theory, GPL and dual licensed stuff can stay. However, a good practice is to keep ALL third party libraries out of the repository and put instructions how to download library.
You can read more on licensing here.
You got some coding standart issues.
Review of the 7.x-1.x branch:
Drupal Code Sniffer has found some code style issues (please check the Drupal coding standards):
Comment #4
mordonez commentedI added feeds dependency module to resolve the problem with libraries.
Please consider to review my code again.
Thanks!
Comment #5
mordonez commentedchange status to "news review"
Comment #5.0
mordonez commentedminor changes
Comment #6
klausiReview of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Go and review some other project applications, so we can get back to yours sooner.
manual review:
$item = '<h3><a href="' . $element['url'] . '" >' . $element['title'] . '</a></h3>';": you should sanitize the remotely provided data with check_url() and check_plain().Comment #7
misc commented@mordonez has been contacted to ask if the application is abandoned.
http://drupal.org/node/894256
Comment #8
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #8.0
klausiremoved library section and added feeds dependency