I would like to apply for a cvs account to contribute modules back to Drupal. I've been using for a couple of years now and want to give back to the community.
More specifically, I've written a provider module for the Embedded Media Field (http://drupal.org/project/emfield) module. My module lets users embed CNN video's. It uses the API's set forth by the Embedded Media Field module.
Currently, there is no emfield provider module that let users embed CNN video's using the emfield module. So my module does not duplicate existing functionality.
The module was written for a client who needed this functionality and is currently running in production on her website.
I've reviewed it using coder so it should obey the Drupal coding standards.
Thank you for taking the time to review my application.
Toon
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | media_cnn.tar_.gz | 3.37 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedUploaded module to be contributed.
Changed status according to cvs account application instructions.
Comment #2
arianek commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
Comment #3
Anonymous (not verified) commentedCreated a sandbox project on drupal.org/sandbox/braahm/1091036 as requested.
Thanks for taking the time to review my application.
Comment #4
meba commentedYou have few typo's in the module comments but otherwise I would say it's good to go. Thanks for fixing those typos.
Comment #5
Anonymous (not verified) commentedThanks meba for reviewing my module. I cleaned up the spelling errors in the comments and interface strings as your requested. So we're good to go I guess.
Comment #6
lut4rp commentedEverything seems good to go, except the comments. Some of your comment blocks have 2 spaces after the * character, while some have a single space. As per convention, single space is the way to go.
Wrong way:
Right way:
Comment #7
lslinnet commentedLooks good for production but noticed a few code style and possible confusing parts:
Line 74: Always use a space between the dot and the concatenated parts to improve readability.
Line 129 to 133: could remove 2 spaces from each line to make it follow the usual way of indenting arrays
Line: 143 and 144: both lines declares the variable $output, i would recommend either to make line 144 concat or remove line 143
Line: 144 to 151: indentation should only consist of 2 spaces not 4.
Line 157: double line break after function name, only 1 is required.
Comment #8
Anonymous (not verified) commentedThanks lut4rp and Islinnet for the specific feedback. I cleaned up the code and ran it again through coder. Should be fine now (knock on wood).
Comment #9
sreynen commentedComment #10
rteijeiro commentedChanged the issue title.
Please complete the README.txt file with the project installation, requirements and features.
The emvideo module no longer exists. Now it's named emfield. Please fix it in the module .info file.
Please, remove the commented code for debugging purposes (Line 144 of cnn.inc file)
Kind regards.
Comment #11
Anonymous (not verified) commentedThanks rteijeiro for your feedback. I've updated the README file (resembles the meda_youtube more closely).
Added dependency for emfield module. I left the dependency for emvideo since it's a submodule of emfield (included in the emfield package) and it's necesary for the media_cnn module to function properly.
Finaly, removed the commented line.
Regards,
Comment #12
rteijeiro commentedHi.
The module works like a charm but I am getting some errors like this:
user warning: Table 'testingrteijeiro.cache_emfield_xml' doesn't exist...I don't know if it is my Drupal installation or the module itself but I get this error just when I create a new node with an emvideo field.
Kind regards.
Comment #13
tim.plunkettClosing, feel free to re-open if this was a mistake.