Whereis - Send location from your phone to Drupal
I've just released some "proof of concept" code at http://drupal.org/project/whereis, it's an application that runs on your Symbian phone (Nokia S60), queries your GPS for your lat/long, and sends your coordinates to Drupal using XMLRPC.
At the moment, Drupal will receive a node id, latitude and longitude, and it will simply update the location-enabled node with the new coordinates.
This is all at a very basic level at the moment, but in the future it opens up many possibilities - think Google Latitude style functionality for Drupal.
Read moreHow to fix "XML-RPC server accepts POST requests only." error?
I tried Services and it methods work, except XML-RPC. Testing XML-RPC with Drupal 6.10 (and 5.16) by click into http://mysite.com/services/xmlrpc I got the following message: "XML-RPC server accepts POST requests only."
How to fix this?
PHP Script for XML-RPC calls from outside Drupal
Here is a set of PHP functions I put together for calling Drupal's core XML-RPC methods without using the Services API:
<?php
function assemble_request($method, $args = array(), $dump_request = FALSE){
$request = xmlrpc_encode_request($method,$args);
$context = stream_context_create(array('http' => array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
if($dump_request){
echo '
<
pre>';
echo htmlentities($request);
Drupal Push, Or: How I Learned to Stop Worrying and Love the Rest of the Net
Overview: Adding outbound methods of communication to Drupal. The services module exists to allow other services to communicate with Drupal but there is no easy way for Drupal to tell other services information about its own content.
Description: There are a number of services which would be beneficial for Drupal to implement. I think that building them as a set of actions would probably be best, as actions already provides a simple event mechanism for when things should be pushed out.
Read moreI'm having problems with saving cck fields via as2 and the xmlrpc service
Hi there, I'm still having fun with services, as2 and node.save, I moved on from initial experiment with swx to using the xmlrpc service, which initially seemed really easy due to some great posts including this one by d0ublej0's http://drupal.org/node/82114#comment-263405 . Everything is working nicely until I try and add content to a CCK field, i think this post http://drupal.org/node/256074 describes correct structure, but i'm unsure on how to create this structure using the mattism as2 xmlrpc classes.
Read moreServices Newbie Question
I've been trying to build two modules that will talk to each when installed on separate sites. The functions appear to work in unit testing, but they do not talk to each other. I am not sure what I'm doing wrong. I made up a hook_xmlrpc and a hook_service function to see if that was the difference, but no luck there.
Function on calling site and the function that "should" be calling the remote site:
// basically the cron job-- the tool that updates the links and spiders for new entries
function plrhub_update_index($site_id = -1) {
if ($site_id == -1) {
Abstracted Web Services API for Drupal 7
This is the beginnings of a design specification proposal for an abstracted API for implementing web services within Drupal 7. This allows Drupal to act as both a server and client for web services in any protocol medium (XML-RPC, RDF, RSS, JSON, etc). It is the combined efforts from a number of people at Druplicon including Marc Ingram, Scott Nelson, Nedjo Rogers, Dmitri Gaskin, etc.
Services API
Read moreWeb Services in Drupal 7
Just a quick note that nedjo posted a note about Services module going into core. This would allow use of XML-RPC, JSON, RSS, REST, SOAP and more to be loaded through a common Services API.
A Code Sprint will take place in Boston this coming Friday that will focus on the inclusion of this new Services API.
Read moreXMLRPC Interface
This is the current XML-RPC interface used in Drupal Manager. The information provided here may differ from the implementation in the modules, but I'll update to match this post. This document is what I'll stick to when implementing the interface.
Read more



