What does this module do?
* This module fetch the Google plus feeds from configured Google account id.
* It displays the feeds in a block, so that it can be configurable to any region.

How it works:
After enabling the module there is a admin page provided to add Google account id and API key to fetch feeds.

SETUP:
1) Create a Project on https://console.developers.google.com/project
2) Select "Boost your app with a Google API" and click on "Enable an API" button.
Select API key

3) Select Google+ API under "Social APIs" and Click on enable API.
4) Click on "credentials" from the left hand side menu.
Add Google+ Credentials

5) Click on "Create new Key" then add website url or IP address, after submit the API key will display. Use this key to configure on website.
6) After adding details configure "Google Feeds Block" to any region to get the feeds.
7) Google account Id can be found by login into Google plus from https://plus.google.com.
8) Go to your profile posts, copy the link address of your name hyperlink.
For eg. https://plus.google.com/u/0/XXXXXXXX is mine and in this XXXXXXXX is the account ID.

Git:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/ravimane23/2469515.git

http://cgit.drupalcode.org/sandbox-ravimane23-2469515

Project link Url
https://www.drupal.org/sandbox/ravimane23/2469515

Comments

ravimane23’s picture

Status: Active » Needs review
pravin ajaaz’s picture

Issue summary: View changes
PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxravimane232469515git

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

chenderson’s picture

Hi ravimane23,

I have had a look and you code seems to work fine however I have a few points below.

Automated Review

You have a few problems showing. http://pareview.sh/pareview/httpgitdrupalorgsandboxravimane232469515git

Manual Review

README.txt/README.md

You would need to include a README.txt file, see this template https://www.drupal.org/node/2181737

Coding style & Drupal API usage

[List of identified issues in no particular order. Use (*) and (+) to indicate an issue importance. Replace the text below by the issues themselves:

  1. (*) For your created variables you should remove them when someone uninstalls the module. This can be down in a .install file and hook_uninstall().
  2. (*) You would need a README.txt
  3. It would also be nice if you include a hook_help(). You can you link to your README.txt file once that is complete. See https://www.drupal.org/node/161085#hook_help for how this can be down.
  4. You documented well how to get the api key but I was not sure how to get the google account id. It would be good to have a few points that show how to get it.

The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.

ravimane23’s picture

Issue summary: View changes
ravimane23’s picture

Issue summary: View changes
ravimane23’s picture

Issue summary: View changes
ravimane23’s picture

Hi Chenderson,

Thanks for reviewing my code. Apologies for delay in doing the changes.

I have completed all the changes suggested..

Regards,
Ravi

ravimane23’s picture

Assigned: Unassigned » ravimane23
Status: Needs work » Needs review

Thanks for reviewing my code. Apologies for delay in doing the changes.

I have completed all the changes suggested.

Regards,
Ravikant Mane

PA robot’s picture

Issue summary: View changes

Fixed the git clone URL in the issue summary for non-maintainer users.

I'm a robot and this is an automated message from Project Applications Scraper.

ravimane23’s picture

Priority: Normal » Critical
purushotam.rai’s picture

Priority: Critical » Normal
Status: Needs review » Needs work
StatusFileSize
new106.26 KB

Hey,

I have Reviewed your project application and found this module useful. But in the meanwhile, found an error which needs to be work upon.
Also please take care, "Priority should not be set by you."

Automated Review

[Git errors:

Git default branch is not set, see the documentation on setting a default branch.]

Manual Review

Individual user account
Yes Follows the guidelines for individual user accounts.
Identified Issue
  1. When no configuration settings are saved after installation and we enable block then that case is not handled by your module. (In .block.inc file Probably Line No. 16, 17 should have been used to handle that case.). Attached is the screenshot of warning produced.
Recommendations for Application Issue
Provide Similar Modules and how your module is different from others.
ravimane23’s picture

Status: Needs work » Needs review
ravimane23’s picture

Thanks for reviewing my code. I did the changes and committed the code.

ravimane23’s picture

Hi All,

Please review my module. Add your suggestion if required.

zakir.gori’s picture

Hi see this i got following issues in your module google_plus_feed_module.file

60 | WARNING | Variable $settings is undefined.
61 | WARNING | Variable $actions is undefined.
63 | WARNING | Variable $actions is undefined.
65 | WARNING | Variable $settings is undefined.

Please fix this and everything looks great.

zakir.gori’s picture

Some more errors:
../README.txt
-----------------------------------------------------------------------
FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
-----------------------------------------------------------------------
12 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
23 | WARNING | [ ] Line exceeds 80 characters; contains 81 characters
87 | ERROR | [x] Expected 1 newline at end of file; 2 found
-----------------------------------------------------------------------
../google_plus_feeds.module
---------------------------------------------------------------------------
FOUND 39 ERRORS AND 1 WARNING AFFECTING 36 LINES
---------------------------------------------------------------------------
60 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
60 | ERROR | [x] There must be no space before the colon in a CASE
| | statement
61 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
62 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
63 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
63 | ERROR | [x] There must be no space before the colon in a CASE
| | statement
64 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
64 | WARNING | [ ] Do not pass empty strings to t()
65 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
66 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
67 | ERROR | [x] Line indented incorrectly; expected 4 spaces, found 3
67 | ERROR | [x] There must be no space before the colon in a CASE
| | statement
68 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
69 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
70 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
71 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
72 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
73 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
74 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
75 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found
| | 9
76 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
77 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
78 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
79 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
80 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
81 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
82 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
83 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
84 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
85 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found
| | 9
86 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
87 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
88 | ERROR | [x] Line indented incorrectly; expected 10 spaces, found
| | 9
89 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
90 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
91 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
92 | ERROR | [x] Line indented incorrectly; expected 8 spaces, found 7
93 | ERROR | [x] Line indented incorrectly; expected 6 spaces, found 5
94 | ERROR | [x] Case breaking statements must be followed by a single
| | blank line
145 | ERROR | [x] Expected 1 newline at end of file; 2 found

Please solve this..

ravimane23’s picture

Status: Needs review » Needs work
PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.

ravimane23’s picture

Status: Closed (won't fix) » Needs review
ravimane23’s picture

Hi zakir.gori,

I have made the suggested changes.

Please review new code and add your suggestions.

ravimane23’s picture

Hello,

I have had a look and you code seems to work fine however I have a few points below.

Automated Review
http://pareview.sh/pareview/httpgitdrupalorgsandboxravimane232469515git

No error found in Automated review.

gisle’s picture

Assigned: ravimane23 » Unassigned

Please don't assign the project application issue to yourself if you want other people to review it. Please see this page about assigning ownership to issues.

ravimane23’s picture

Thank you Gisle for your help to understanding the process.

Please review my code and add a comment if any update you want.

ajaynimbolkar’s picture

Manual Review

Individual user account

[Yes: Follows] the guidelines for individual user accounts.

No duplication

[Yes: Does not cause] module duplication and/or fragmentation.

Master Branch

[Yes: Follows] the guidelines for master branch.

Licensing

[Yes: Follows / No: Does not follow] the licensing requirements.

3rd party assets/code

[Yes: Follows ] the guidelines for 3rd party assets/code.

README.txt/README.md

[Yes: Follows] the guidelines for in-project documentation and/or the README Template.

Code long/complex enough for review

[Yes: Follows] the guidelines for project length and complexity.

Secure code

[Yes: Meets the security requirements.]

Coding style & Drupal API usage

[List of identified issues in no particular order. Use (*) and (+) to indicate an issue importance. Replace the text below by the issues themselves:

  1. (*)To attached css for block_view in line number 134 of .module file look below example
    $block['content'] = array(
    '#markup' => test(),
    '#attached' => array(
    'css' => array(
    drupal_get_path('module', 'mymodule') . '/css/mymodule.css',
    ),
    'js' => array(
    drupal_get_path('module', 'mymodule') . '/js/mymodule.js',
    ),
    ),
    );
  2. (*) $response = drupal_http_request($request_url); in line 54 of google_plus_feeds.block.inc. in that your requesting another url and cheking
    response. if you check the request in try and cache block then url giving any response error then you can easily notify
  3. (*)What is used of clearing cache in admin setting form.
klausi’s picture

@ajayNimbolkar: I think you forgot to change the status. Is this now RTBC after your review or are there application blockers left and this should be "needs work"?

ajaynimbolkar’s picture

Status: Needs review » Needs work
PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.

ravimane23’s picture

Hello Ajay,

I have resolved all the changes. Please have a look.

ravimane23’s picture

Status: Closed (won't fix) » Needs review
davic’s picture

Status: Needs review » Reviewed & tested by the community

Hi Bro! Great code ;)

Manual Review

Individual user account

Yes: Follows the guidelines for individual user accounts.

No duplication

Yes: Does not cause module duplication and/or fragmentation.

Master Branch

Yes: Follows the guidelines for master branch.

Licensing

Yes: Follows the licensing requirements.

3rd party assets/code

Yes: Follows the guidelines for 3rd party assets/code.

README.txt/README.md

Yes: Follows the guidelines for in-project documentation and/or the README Template.

Code long/complex enough for review

Yes: Follows the guidelines for project length and complexity.

Secure code

Yes: Meets the security requirements.

Coding style & Drupal API usage

  • Just a tip, i have a module in the application queue too, and it implements the Google PHP Client Library, meaning that you would have a standarized lib with classes to use alongside with your module and all other Google APIs! Take a look if you wish, and if it gets approved, i think it would be nice for you to consider using it in your module, it seems like another great use case for the Client Library! And would be a pleasure to mention your module in mine's "Related Module" section in the project page ;)

Great Job! Keep up the focus.

misc’s picture

Thanks for your contribution, ravimane23!

I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

misc’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.