Recent Posts
gPowered
Return To Blog Listing
Tutorials on using Google Services and API's (Blogger, Gmail, Google Accounts, Ajax, Search, App, Base, Calendar, Code Search, Gdata, Gadgets, Gears, Maps, Mashups, News, Notebook, Search History, Sitemaps, GWT, Picasa) to power personal / commercial web
Recent Posts Tagged With 'python'
Sneak some advanced logic into a Django template
I was adding on an app to a Django project at work where I was overriding an existing template but did not have access to the view that called that template. I was left in a scenario where I had the variables that the view was originally set up with...
Checking if a remote file exists in python
Normally, to check if a remote web file exists I would use urllib's getcode() but that is a 2.6 and newer feature. In Python 2.5 its a little more interesting. Thankfully, wget's spider command can help us out. from subprocess import Po...
Django 1.0 released!
No, you’re not hallucinating, it’s really here. NOW GO GET IT...
Python 2.6 and 3.0 Beta 1 Released.
Get them while they're hot! 2.6 3.0 Beta...
Update Google Talk status with Twitter
I've had this idea in my head for a while and just got it to work this morning. Basically you send a tweet from Twitter and this script runs, picks up your current twitter status, and if need be, updates your gChat status. I'm working on a service v...
Displaying what you read from Google Reader
I've been wanting to share what I subscribe to in Google Reader and using the functions I wrote I was able to do just that. Check out the article for the full run down on the unofficial Google Reader API. This is written in python but should be eas...
HOWTO: Getting the Numer of Diggs from Digg (Python)
After 2 of my posts were on the Digg front page this morning (Thank you all very much to those that dugg them), I took my first look into the Digg API. I wanted a way to take a quick look to see how many Diggs certain stories were getting. In some...
HOWTO: Google Reader API Functions
I've been wanting an API for Google reader since I started using it, and especially since i started gPowered so I could display a list of the feeds I read on the site. The official word on an API for reader is "It' coming in a few weeks," but that w...
HOWTO: Pulling Google Bookmarks with Python
I love using Google Bookmarks (usually with the Google Toolbar) because it lets me get to my bookmarks at home on my laptop or desktop, at work, or anywhere. It's great. Now I'm using those bookmarks to power the links section of gPowered.net First...
Quick Docs Api Example (python)
To use the gdata docs python client you need to upgrade to 1.0.7 or higher. First thing is to import the modules you'll need. import gdata.docs.service import gdata.docs Then, set up the usual authentication parameters for the client. gd_client =...
HOWTO: Displaying Blogger feeds with Python
This first HOWTO is going to cover how I did the basic structure of the posts section of gPowered: pulling from blogger. The main functions we'll need are to show a range of posts, a single post, and a function to get the total number of posts that...
