This project is not covered by Drupal’s security advisory policy.

This module is a Service module, currently, it works with version 6.x-2.2. It provides one service, subscriptions_service_queue which is a copy of subscriptions_queue and it allows you to send an event to the queue via Services.

An example of this is when you're posting a node on site X via Services but you want to notify some users depending on Taxonomy/Content Type.

Without this module, if you create a node with node.save, subscriptions will not know that a new node has been created, that's why you need this module.

Dependencies:
Services 6.x-2.2
Subscriptions

Usage:

Based on http://drupal.org/node/877532

<?php
  $op = 'insert';
  $event = array(
        'module' => 'node',
        'uid' => $node->uid,
        'load_function' => 'subscriptions_content_node_load',
        'load_args' => $node->nid,
        'type' => 'node',
        'action' => $op,
        'is_new' => ($op == 'insert'),
        'node' => $node,
      );
   $unpublished_nid = NULL;

   $xmlrpc_result = xmlrpc($uri, 'subscriptions.queue', $authenticated_session['sessid'], $event);

  return $xmlrpc_result;
?>

If you want to jump in and give this module more functionality, please let me know.

Project information

  • Project categories: Integrations
  • Created by lelizondo on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases