There is a service Yandex Site search Pinger (http://site.yandex.ru). This is a service that allows you to create search on the site or group of sites. For this service it is necessary that the site has been indexed by Yandex. Robots Yandex self-index the site. However, apart from the core of the index when searching the site uses an additional index, specially built for such sites. You can increase the priority of indexing certain pages of the site with the help of the plug-in Yandex Site search Pinger, which sends requests to the indexing automatically. This plug-in installed in a CMS, monitors changes to the site and generates requests for indexing all new or modified documents.
Basic information on what the plugin-pinger is described on page http://help.yandex.ru/site/?id=1125183. How to configure the plugin for Drupal is described here http://help.yandex.ru/site/?id=1125174 and here http://help.yandex.ru/site/?id=1125175. Files of plugins and the basic information for the user is located here: http://site.yandex.ru/cms-plugins/
This module works with Drupal 5, 6 and 7.
Repo http://drupalcode.org/sandbox/yandex-plugins/1937972.git
Reviews of other projects:
http://drupal.org/node/1969772#comment-7405360
http://drupal.org/node/1992712#comment-7405518
http://drupal.org/node/1992452#comment-7405574
Comments
Comment #1
likebtn commentedCould you, please, specify correct Git link in the issue: http://git.drupal.org/sandbox/yandex-plugins/1937972.git
and provide a Project link (http://drupal.org/sandbox/yandex-plugins/1937972)
Comment #2
likebtn commentedResults of the automatic review: http://ventral.org/pareview/httpgitdrupalorgsandboxyandex-plugins1937972git
Take a look at them.
Manual review:
1) yandex_pinger.install
- Line 52. The following
can be replaced with the foreach () through $settings.
2) yandex_pinger.module
- Looks like this plugin has all the messages in Russian and is not supposed to be translated into other languages. What about mentioning it on the Project Page: http://drupal.org/sandbox/yandex-plugins/1937972
Otherwise you should write all the messages in English and use t() function to translate them.
- Consider justifying tabs and indents of the arrays (Line 70, 229 and so on)
Comment #3
klausiWe are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and put yourself on the PAReview: review bonus high priority list. Then I'll take a look at your project right away :-)
Comment #4
yandex-plugins commentedHello!
Thank you for reviews. We was finished foreach() optimisation, translate module into English & fix codestyle.
All version of module was tested by coder module in enviroments:
- Ubuntu 8, PHP 5.2.x for D5, D6
- Ubuntu 12, PHP 5.4.x for D7
but automatic review by http://ventral.org site showing some errors. What system should we believe?
Comment #5
he0x410 commentedHi,
You should follow http://ventral.org, because Coder module is not PAReview.sh, which is required by klausi.
Manual code review:
README.txt is not in right format.
yandex_pinger.info:
These two lines used in wrong way, install and module files includes by default, files array in info should include only additional, so you don't have to do module_load_include
files[]= yandex_pinger.install
files[]= yandex_pinger.module
yandex_pinger.install
provide configuration, because in most cases they are using repositories and
files in contributed modules can not be modified at all. I suggest you to implement
configuration page, after module installation. - In case if this is not possible: provide
users instructions, so they can set all required variables in settings.php using $conf.
yandex_pinger.module
Can be revised with this:
http://www.php.net/http_build_query
Also I'd recommend to add ability for user to specify which content type of nodes they would ping in yandex.
Good luck!
Comment #6
yandex-plugins commentedHi,
Artem, thank you for review. We are left exceptions because all of they catching & can't cause issue for user. We was added watchdog() also.
We use sockets, because CURL didn't installed by default in our development environment.
We was do next changes:
If all alright, please grant to our module full project status. So we can work more effective with Drupal community.
Comment #7
he0x410 commentedHi again,
Regarding curl or sockets - you can use http://api.drupal.org/api/drupal/includes!common.inc/function/drupal_htt... function, it uses sockets I believe.
I'm just a reviewer, who went thru Bonus Review process, like others, and do not have permission to grant access for promoting full projects :)
If you want to be reviewed by responsible person, you would like to read this article http://drupal.org/node/1410826
Comment #8
yandex-plugins commentedComment #9
patrickd commentedI understand that you try to make the module easily maintainable over all drupal core versions by using similar API's and code. BUT that's not the way drupal works.
Drupal is driven by innovation. If there are new and easier API functions ->>> USE them.
Comment #10
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #10.0
PA robot commentedFix repo path, add links to reviewed projects