CVS edit link for trashgenerator
Hello, dear Developers.I have developed module for Drupal and want to share it with other Drupal users. This module integrates with Yandex Market service. http://market.yandex.ru . Yandex Market is a catalog of products from different on-line stores. It is a convenient way to offer products from your on-line store for users who want to buy them via the Internet.
If you have on-line store you can create special file in YML format, that describes your products and put it on your site. Yandex market will download this file every day, parse products from it and show them here: http://market.yandex.ru . So visitors of Yandex Market can search offers from huge number of stores on one web site. If they want to buy your product, they will be redirected to page of that product on your site and can purchase it. You will pay to Yandex Market for each visitor of your store that comes from their web site.
Yandex market is the biggest service of such type in Russia. Most of stores in Russia are registered at Yandex Market and using it to get profit. Actually I don't understand how owners of Russian on-line stores driven by Drupal can live without integration with this service.
There one commercial solution(http://drupal-shop.ru/).Here you can buy whole Drupal e-commerce web site with support of exporting to Yandex Market(I don't try it, so I don't now is it working) but no free solution.
My module is aimed to fill this gap.
My module is a set of handlers and plugins for Views module. Also it plays well with Ubercart and CCK. So it is very flexible and customizable. Users can set up what they want to export to Yandex Market using standard Views interface. Full instructions are available in README.txt
I hope my module will be usefull and will help e-commerce store owners to make their stores more profitable.
Code is available here: http://www.hrbooks.ru/yandexmarket.tar.gz
Thank you for your attention and sorry for my awful English.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | yandexmarket2.tar_.gz | 13.58 KB | trashgenerator |
| #8 | yandexmarket.gif | 159.22 KB | trashgenerator |
| #8 | yandexmarket_yml.gif | 34.31 KB | trashgenerator |
| #1 | yandexmarket.tar_.gz | 13.38 KB | trashgenerator |
Comments
Comment #1
trashgenerator commentedComment #2
GerasimovSergey commentedПривет. Огромное спасибо за модуль, вы сохранили нереальное количество человеко-часов моего труда =)
Comment #3
mefisto75 commentedПрисодиняюсь к благодарностям!
Вопрос: когда модуль будет официально выложен? Безопасно ли его ставить на рабочий сайт?
Comment #4
trashgenerator commentedCan anybody review my module? Russian Drupal community waiting for official release.
Short description of module: It provides Views plugins and handlers, that generates special XML file. Users can configure this XML using this plugins and handlers.
Module has valid Drupal-styled code. And I believe it is secure.
-------
Релиз будет официально выложен, как только его кто нибудь из тех у кого есть соответствующая привилегия, заопрувит. Так что если у Вас есть такая возможность, можете это сделать=)
Во избежание недоразумений, обязательно проверяйте полученный YML файл. Пишите мне в личку о багах и пожеланиях, пока нету багтрекинга для него. Так же буду рад услышать просто о том, что Вы установили модуль и он полноценно работает. Понятно ли как использовать модуль? может что еще надо в readme написать?
Comment #5
trashgenerator commentedComment #6
avpadernoHello, and thanks for applying for a CVS account.
As per http://drupal.org/cvs-application/requirements, the motivation message should be expanded to contain more details about the features of the proposed module, and it should include also a comparison with the existing solutions.
Comment #7
mefisto75 commentedThere are no existing solutions for Yandex Merchant/Market.
Features are similar to Google Base module http://drupal.org/project/googlebase
Russian community needs this module.
Comment #8
trashgenerator commentedThank you for reviewing my module.
More details about the features of the proposed module:
As mentioned above this module is something similar to googlebase module.
In attachement at picture 1 you can see part of UI of module, at picture 2 - YML, produced by this module.
User can define witch fields he wants to see in YML file. Module provides form with selectors, so even user, unfamiliar with YML format and XML in general, can get good results.
Comparison with the existing solutions:
One Drupal module called views_node_feed provides opportunity for creating XML files using Views. But that module provides only textfield, where programmer should enter php code,that generates XML. But it is too difficult for ordinary user to work with this module, because you should now structure of $views and $node variables, php language and structure of XML you want to create to do anything useful. Also this module calls node_load for every record in view. It is very general module and not good for specific tasks.
All that things are part of strategy of that module and not bugs or points for improvement.
In contrast, aim of my module is to provide solution for specific task, so it consist of UI intended only for one task(so every user can use it) and core intended only for one task(so it is not overloaded and not uses node_load or other resource-intensive functions). Also it provides Views fields aimed for one specific task, so providing such fields in views_node_feed will be illogical.
Comment #9
trashgenerator commentedhey, maybe I'm doing something wrong?
What information should I provide else?
Comment #10
volocuga commentedkiamlaluno: This module is very needed. The Yandex search engine currently #1 for people living in Russia,Ukraine and other countries of exUSSR. It even more important than Google. Please provide CSV access for @trashgenerator
Thanks
Comment #11
andypost+1 to this useful module and author
EDIT: glad to join as co-maintainer
Comment #12
dzah commentedA really needed module indeed!
Being present on Yandex.Market is absolutely necessary for any store selling to customers in Russia and the FSU states.
There are almost no alternatives to that.
The YML (Yandex Market Language) is an XML - based standard for exporting product catalog to Yandex database.
Currently, there are no other modules that generate the YML file.
I request that it is a CVS access is granted to trashgenerator and that the
module is brought to release as soon as possible.
Alex
Comment #13
trashgenerator commentedNew version of module is available.
-added closing tag
-now encoding of output file can be specified in View Style settings
-only not empty categories are shown now
-some code refactoring done
version is sponsored by volocuga
Comment #14
andypostThere's no duplicates at all.
Comment #15
avpadernoBefore the status is changed to , there should be at least one review of the code.
Comment #16
andypost@kiamlaluno Code review I've done in #11 and version in #13 a bit factored to be cleaner. A bit of code-styling could be done in cvs
Comment #17
avpadernoThere isn't any explicit code review in comment #11.
Comment #18
botanik commentedЕсть маленькое предложение .. в связи с тем, что Яндекс проверяет живость магазинов, нужно выставлять наличие/отсутствие товаров что бы не вылететь из маркета .. удобно если можно использовать CCK чекбокс (есть/нет) / радио (есть, нет, под заказ) для управления товарами на складах. Я конечно написал модуль, который делает тоже самое, но лучше включить такую возможность по-дефолту прям в модуль.
Comment #19
trashgenerator commentedbotanik, никакого дополнительного модуля для этого писать не нужно. достаточно создать этот CCK чекбокс(например текстовое поле с вариантами выбора "true" и "false"). Потом добавить во view это поле. Потом в настройках view стиля указать это поле для "available ()"
Comment #20
avpadernoPlease write in English; not all users know Russian.
Comment #21
EllECTRONC commentedUseful module.
kiamlaluno, use http://translate.google.com/?hl=ru&tab=wT
They are speak about module features.
Comment #22
andypost@kiamlaluno Module has very simple code, all staff is views related. As I said before I have done review writing #11
I found no problems with security, user input allowed only in views configuration and all other output is done through views
Code mostly conform code-styling, except a few tabs...
Code is well-documented.
@trashgenerator Take care visit http://drupal.org/coding-standards and http://drupal.org/project/coder
Comment #23
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, 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.
I thank all the dedicated reviewers as well.
Comment #25
dzah commentedUsing (the first version) of this module on a production site for more than a month now.
Never had any problems.
Should be promoted to release definitely.
Comment #26
trashgenerator commentedThank you all for testing, reviewing and approving.
Module is now available at http://drupal.org/project/yandexmarket
If you already use this module, I think it is better to delete all views using it, uninstall it, delete it from disk and then install official release. Don't forget to back up.
Comment #27
avpaderno