CVS edit link for lorinpda

This is an application for a CVS account to support a new Drupal module 'Tumblr Connect'.

=======
Motivation
=======
Why this module? Tumblr Connect allows you to synchronize content creation, modification, and deletion from Drupal.
There is no other such module available. Other modules allow you to import content into Drupal. Tumblr Connect
exports operations performed on Drupal content to Tumblr ( the social networking site http://www.tumblr.com).

Why Tumblr Connect?
------------------------
This is covered in more detail in README.txt, but basically:

Tumblr Connect automatically posts content from Drupal to Tumblr. Tumblr Connect automatically creates content on Tumblr when you create content on Drupal. Tumblr Connect automatically updates Tumblr with content modifications performed on Drupal. Tumblr Connect automatically deletes on Tumblr when you delete the synchronized content on Drupal.

Maintenance?
------------------
This module is functionally complete right now. I do intend to maintain the module indefinitely,
and will promptly address any bugs. Future functionality will be considered upon request.

About the author?
-----------------------
I'm currently president and lead engineer at http://public-action.org. We are an organizational member of Drupal.org.
I've developed enterprise software for the finance industry (retired from the Chicago Mercantile Exchange) for over
25 years.

I am not (not is public-action.org) affiliated with the providers of the © Tumblr, Inc service.

==============
Submission checklist
==============
This section addresses the common submission issues / questions noted in the Drupal.org submission
guidelines documentation.

- Duplication: There is no other module providing the Tumblr Connect functionality.

- Completion: The module is code-complete and in production.

- Secure code: The only input fields are on the config screen, which is protected by the 'administer site configuration' permission.

- t(): All string literals are passed through t().

- PHP code: there is no use of user-inserted PHP code.

- Coding standards: Coding standards are rigorously followed. Code Review via the 'Coder' module returns zero errors.

- Variable uninstall: All variables are removed via hook_uninstall().

- HTML / themeing: A custom extension of the standard Drupal blocl-tpl.php is provided. Corresponding theme and preprocessing methods provided.

- JavaScript: This module does not supply any JavaScript code.

- License: A GPLv2 LICENSE.txt file is included in the module. No third-party files are part of of this module.

- Help: README.txt provides comprehensive documentation, and is also available from the Drupal help system.

Comments

lorinpda’s picture

StatusFileSize
new25.14 KB

Tumblr Connect module contribution attached.

jason_gates’s picture

Status: Postponed (maintainer needs more info) » Needs review
avpaderno’s picture

Issue tags: +Module review

Hello, and thank you for applying for a CVS account. I am adding the review tags, and some volunteers will report what needs to be changed.

c-c-m’s picture

I'd love to use this module. In fact that was exactly what I was looking for (see http://drupal.org/node/193805 for more info)

lorinpda’s picture

StatusFileSize
new25.16 KB
new26.01 KB

Hi,
I am updating my CVS application:
-- Adding a Drupal 7 version of the Tumblr Connect Module (tumblr_connect-7.x.tar.gz).
-- Replacing the file "tumblr_connect.tar_.gz" with a new updated Drupal 6 version of the Tumblr Connect Module ( new file tumblr_connect-6x.tar.gz).

Changed the database table field "post_id" size to big int.

Thank you.

avpaderno’s picture

Status: Needs review » Postponed (maintainer needs more info)

We review a module/theme per applicant (modules for different Drupal versions count as different modules).

Let us know which module you want reviewed.

lorinpda’s picture

Hi Kiamlaluno,
Thank you so much for the clarification. Please review the Drupal 7 version (tumblr_connect-7.x.tar_.gz).

I apologize for any inconvenience. We've had a few folks contact us directly and request the Drupal 7 version of our module. Thus the choice of Drupal 7 tumblr_connect-7.x.tar_.gz (versus our Drupal 6 version).

Again thank you so much :)

Wishing everyone a happy holiday
Lorin

avpaderno’s picture

Status: Postponed (maintainer needs more info) » Needs review

Thank you for your reply.

lorinpda’s picture

StatusFileSize
new20.24 KB

Hi,
Thank you so much. I've attached a new version.

After testing against Drupal 7 rc3 changed 3 listings:

  • tumblr_connection_class.inc :
    • methods addPost and modifyPost added new statement to determine existence of taxonomy terms:
      if (!empty($node->field_tags) ) {
       ... process taxonomy terms ..... 
      
  • tumblr_connect_config_class.inc
    • method addOrModify() changed exception capture to standard try/catch
       try {
              $result = db_update('tumblr_connect_config')->fields($config->toArray())->execute();
            } catch (Exception $e) {
              throw new tumblr_database_exception(t('Unable to update tumblr config'));
            }
      
  • tumblr_connect.module
    • method tumblr_connect_admin_settings_submit() added a success message:
       drupal_set_message(t('Tumblr Connect Config Updated Successfully.'));
      

Thank you.
Lorin

lorinpda’s picture

StatusFileSize
new20.21 KB

Hi,
I am posting a new version. Minor revision, found one line of unused code. New version attached.

Thank you
Lorin

c-c-m’s picture

Status: Needs review » Reviewed & tested by the community

Hello,

I have tested your module and I have few comments about it (didn't try new version yet):

1. Sincronization works pretty well: update is fast, and when a node is deleted it is also deleted in tumblr
2. It's easy to config.
3. When followers block is enabled and you are not following any user nor having any follower, drupal page becomes blank (nothing on it)
4. I've created a content type with a image field on it and tried to see what happens. Unfortunately it is posted as text, although the desired behaviour would have been to post it as an image. Same thing with different content types containing one field with videos and links (one field per content). I think it would be great to have some kind of mapping so tumblr would recognize certain node types and fields as to improve tumblr's integration and presentation.

Thanks again and keep improving!

lorinpda’s picture

StatusFileSize
new20.27 KB

Hi ,
Thank you so much for reviewing our module. I am posting an updated version.

Fixed point 3. We were using a Drupal 6 theme function to display the condition of "No Followers Found", That theme function does not exist in Drupal 7. I've updated the code so that it uses Drupal 7 theme_table method, empty condition (i.e. a message displayed when there are no rows ).

Our module supports the basic "regular" Tumblr post type. A Tumblr regular post type contains 2 fields (Title and Body) along will zero to many taxonomy terms. Therefore, if you include an image or a video in your Drupal body field, our module will publish the image and video in the corresponding Tumblr body field. To summarize, we map the Drupal fields to the Tumblr fields. We'll be happy to entertain enhancements, however our current version is limited to a Tumblr "regular" post type.

Hope that helps.
Lorin

c-c-m’s picture

Thanks for your work and explanations. I'm looking forward to see your module aproved soon.

lorinpda’s picture

Component: Miscellaneous » new project application

Hi,
I noticed that the component on this application was set to miscellaneous. Thus, I changed to "new project application". Don't know if that makes a difference :)

c-c-m’s picture

Hopefully it makes a difference. I am really willing to see this module aproved.

Regards

lorinpda’s picture

StatusFileSize
new20.19 KB

Hi,
I've refactored the source code class and interface names to comply with the naming conventions specified here http://drupal.org/node/608152.
No functional changes.

Thank you in advance.
Lorin

energee’s picture

Lets get this module posted!

lorinpda’s picture

Hi All,
Thank you for your comments and support. Per the latest docs here http://drupal.org/node/1011698, I've submitted a corresponding application for permission to create full projects.
The request for permission to create full projects is located here: http://drupal.org/node/1074950

I've pitched in by reviewing other applications for CVS (now full Git) accounts. Reviewing a module application is a great learning experience. I highly recommend everyone waiting for approval to volunteer and review your fellow applicants. The maintainers of these issue queues have a huge workload. Please consider helping out by reviewing your fellow applicants.

Thank you.
Lorin

avpaderno’s picture

Status: Reviewed & tested by the community » Closed (duplicate)