Wednesday, 28 July 2010

Python

Python Logo

Python is a general-purpose high-level programming language focusing on code readability through it's clear syntax.

  • Python - what to use covers the libraries and tools you'd use for API's, Frameworks, Testing (and more) when starting out with a web-based project in Python.

Sunday, 25 July 2010

Links for 25 July 2010

Friday, 23 July 2010

MetaWeblog XML RPC services

The MetaWeblog API is a programming interface that allows external programs to get and set the text and attributes of weblog posts. This, along with the Blogger API, enables you to use a desktop or mobile client to manage your entries. As I'm running my own CMS I thought it about time to add a XML RPC service to it which actually turned out to be easier that I thought. I'm able to create and amend entries using the customer headers I need as well as Markdown formatting for content. The most "compatible" client I've tried is MarsEdit as Ecto (for which I have a license) seems to have issues with the CR/LF of the entries (I keep getting lines ending in #13). Obviously something I still need to work on there.

My ultimate goal is to be able to post using the Wordpress iPhone application but it seems to be quite picky in what services the XML RPC endpoint supports. Looking at the source code for BlogDataManager.m checkXML_RPC_URL_IsRunningSupportedVersionOfWordPress: I can see that if requires the following methods:

  • wp.getPostStatusList
  • metaWeblog.newMediaObject
  • wp.getAuthors
  • metaWeblog.getPost
  • wp.getOptions
  • metaWeblog.newPost
  • metaWeblog.deletePost
  • wp.deleteCategory
  • wp.getCategories
  • wp.getComments

A call to "system.listMethods" needs to return those, all of which I should be able to hack in there in some form or another. Windows Live Writer on the other hand seems to be behaving a bit strange and won't even return a list of previous posts, something that all other clients have no issue with.

Resources

Links for 23 July 2010

Another huge list built up over far too long again.

OAuth

OAuth logo OAuth is an open protocol to allow secure API authorization in a simple and standard method from desktop and web applications.

If you're looking to find out how OAuth really works then this article, How to build an OAuth consumer, is a must read. It walks you through all of the steps involved in being a OAuth consumer with step-by-step examples to follow along with.

The Google OAuth Playground is a great resource for testing out your OAuth queries to see if the problem is with your library or the OAuth details you've got.

PHP

Java/Android

Python / Google App Engine

Sunday, 18 July 2010

Links for 18 July 2010

  • GlassButtons for iOS uses public APIs to create native-looking glass buttons. No image files used. Buttons can be created in IB (and configured programmatically) or fully by code.
  • android2cloud is a way to push web pages from your android device to the cloud. But aside from that it's also a good example of how to combine Android, Google AppEngine and OAuth

Friday, 16 July 2010

Steve Jobs, Bill Gates and the iPhone 4 - The conversation continues

Steve and Bill

Sunday, 11 July 2010

Links for 11 July 2010

Sunday, 04 July 2010

Links for 04 July 2010

Sunday, 27 June 2010

Links for 27 June 2010