I try to get nodes by type from D7 over xml-rpc.
I used this example:http://drupal.org/node/1304802
This example provide an xml to create a node…
Anyone can help me how to get nodes by type like this XML?
Thanks,
IB
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The code below should work. I have just tested it on my Drupal installation using the Firefox plugin called Poster.
Remember to set the correct URL to your endpoint. Considering a Drupal instance on
http://localhost/testand an endpoint called “api”, the resulting URL to access the endpoint ishttp://localhost/test/?q=api.One last thing: if you have enabled authentication for your endpoint you must access the node with a user which has permissions to do so. You can set the username and password when using Poster.