Web Design
Authentication in Drupal's services module
Posted December 9th, 2008 | Last edited 12/08/2008 - 22:04 by xjsI have been struggling with user authentication for the services module ( 5-x.0.92). This is the first version I installed. However, by checking the handbook and the outdated examples, it's not hard to tell significant change has been made in this version, especially the user authentication part which requires api keys, HMAC with sha256 hashing function, etc.
- xjs's blog
- Read more
- 2466 reads
- Comments
Java XML-RPC client for Drupal's Services module
Posted November 29th, 2008 | Last edited 11/28/2008 - 23:12 by xjsI am trying to write a java xmlrpc client for Drupal's Services module. However, I got the "org.xml.sax.SAXParseException: Content is not allowed in prolog" error when I tried to call "system.connect()". This error occurs no matter which library I use, Redstone or Apache.
After some searching, I found this: http://www.openrdf.org/forum/mvnforum/viewthread?thread=86
Java doesn't handle BOMs on UTF-8 files properly, making the three header bytes appear as being part of the document. ...
- xjs's blog
- Read more
- 4381 reads
- Comments
Testing out Drupal's Service module using Python
Posted November 21st, 2008 | Last edited 11/20/2008 - 23:40 by xjsDrupal's Services module seems to be a right fit for my purpose as I am in the process of integrating a desktop application into my Drupal website. I decided to give it a quick test using Python. Although I don't know much about Python, there's an example available on Drupal.org and it's a scripting language.
- xjs's blog
- Read more
- 2864 reads
- Comments
xml-rpc, java, and eclipse
Posted November 12th, 2008 | Last edited 11/11/2008 - 21:46 by xjsThis writeup serves as a quick summary of my initial investigation of writing xml-rpc applications using java in Eclipse. It's hoped to be useful to whoever is reading this.
xml-rpc is a popular web service protocol. In case you haven't heard this before, one common application is publishing blogs from your desktop.
Popular open source XML-RPC library implementation in Java includes:
Apache XML-RPC
- xjs's blog
- Read more
- 3084 reads
- Comments
Design website logo with GIMP
Posted January 23rd, 2008 | Last edited 01/23/2008 - 22:27 by xjsGIMP, the GNU Image Manipulation Program, is a free alternative to the pricy PhotoShop. GIMP has a script-fu utility, which provides a quick way to generate images with special effects.
- xjs's blog
- 27 comments
- Read more
- 5048 reads
- Comments
SpeakingX
Recent comments
7 min 43 sec ago
48 min 20 sec ago
51 min 23 sec ago
1 hour 25 min ago
2 hours 8 min ago
3 hours 37 min ago
3 hours 56 min ago
22 hours 47 min ago
23 hours 8 min ago
23 hours 15 min ago