Integration of Drupal with Open Office
I am Abhishek Gupta, currently a Computer Science student at IIT Delhi, India. I am working with drupal from last eight months and feels amazed with the abstraction layer that it creates for most of its users, and simultaneously making the process of setting up of website a matter of minutes.
Overview
Read morejsonrpc, services and views - need to have imagefield filename in response that is NOT node type.
I saw this mentioned a few times in various posts, but could not find a solution.
If I utilise a view in "node" format, then I do indeed get the imagefield file information required to load the image. HOWEVER, I also get a number of large "blob" style text field contents as the entire node is returned, this requires much more bandwidth (3x more) for each item, at least. Thus making the call slow and wasting time and bandwidth. I also cannot determine how to get fivestar rating values to be returned for each node in the "node" format option.
Read morecorrect parameters for file.save and node.save to create a new node with a cck imagefield?
OK, have got file.save working with jsonrpc post content like:
method="file.save"¶ms={
"file":{
"file":"BASE64STUFF",
"uid":"5",
"timestamp":"1269406525",
"filename":"test.jpg",
"filepath":"sites/default/files/test.jpg"
},
"sessid":"3qbg2lv0bpjlfve3vim0b7t627"
}
and a subsequent node.save with jsonrpc post content like:
{
"field_image": [ {"0": {"fid":"25"} } ],
"uid":"5",
"title":"test node",
"type":"cardobject"
}
PHP and services question..
I have been trying to use the 6.x-2.0 to try to pull information via XMLRPC but im running into some roadblocks, I found a page that shows how to connect via php/services/api key etc it seems to be outdated or some errors in it..
I was curious if anyone using 6.x-2.0 would share a small snippet of php code that I could test to pull some node data...
Any tutorials on this?
sorry it seems like a lot of people are using this with flex, but im working on non flash services system.
Read moreiPhone + JSON + services + drupal - problems with node.save and file.save
I have two issues I am hoping someone can assist with.
Running Drupal 6.16, services 6.x-2.0, json server 6.x-2.0-alpha1.
Have API disabled, sessid enabled.
Can connect, login and retrieve/parse views and nodes with node.get and views.get.
but have no luck with file.save and node.save.
example file.save = method="node.save"&sessid="aeufrgi2kk1tm1ra8rfacg9et5"&node="{"uid":"5","title":"newcontent","type":"mytype","name":"testuser","body":""}"
the user can create content via the web site with these values, but via the services call they get:
{
"#error" = 1;
Any experience with weborb for PHP?
Hi,
just for the summary: Looking for people with experience using the weborb server module for services.module.
Upcoming Events and News
Hey everyone. There is a lot of activity on the Services front right now, so here's some news!
Read moreA problem with python drupal services
Hi i try to run this code on Drupal 6.x but i get an error :
A fault occurred
Fault code: 1
Fault string: Wrong username or password.
can some body already try python to access with Drupal xmlrpc and to get authentificate
#
import xmlrpclib, time
Put the URL for your Service in here. See admin/build/services.
config = {
'url': 'http://twitter.connexionservice.com/services/xmlrpc',
'username': 'developer',
'password': 'password',
}
s = xmlrpclib.Server(config['url'], allow_none=True)
class node:
invite api integration to services
Hi,
I am developing a flex based frontend to my site and am extensively using the services module. I use the amfphp module to communicate between drupal and my flex frontend. What I would like to do is expose the invite module (http://drupal.org/project/invite) which has it's own api to services so that I can invite people from within flex. I think this can be done by creating a service add-on for the services module. But unfortunately I dion't have the expertise to do the same. Can anyone please help?
This is the api for the invite module:
-- INVITE API --
128
Services 2.0 Released
A longer time coming than I had hoped, but I just released Services 2.0! The package is live as we speak, check the release notes for what has changed since the beta release a month ago. Note that there is now an upgrade path, so if you're coming from 0 or 1, everything should be pretty clean. I consider the 2.x branch pretty much feature frozen at this point, and mostly I'll only really be looking at bug fix patches unless someone submits something that is well polished and compelling.
Read more