Pinging Technorati and Google with Django

This simple Django snippet demonstrates how to ping Technorati and Google when a blog post has been added or updated. import xmlrpclib from django.core import urlresolvers from django.db.models import signals from django.dispatch import dispatcher from django.contrib.sites.models import Site def send_pings(sender, instance): base_url = 'http://%s' % Site.objects.get_current().domain bl...

Posted in django technorati google blog at 2008-03-06T02:37:16Z.