Using Django Signals to Ping Sites on An Update

Posted 1 year, 4 months ago
3636 Comments Posted on Saturday, February 10, 2007

Since I wrote this new blog code using django, I needed a way to ping sites like technorati and ping-o-matic when I write or change an entry. After looking through the documentation I decided that django signals were the way to go. Here is a description of what I did.

First off I created a new table in the blog application to hold the urls of the sites I would like to ping.

class PingUrl(models.Model):
    ping_url = models.URLField(verify_exists=False)
    blog_url = models.URLField(verify_exists=False)
    blog_name = models.CharField(maxlength=200)
    
    class Admin:
        list_display = ('ping_url','blog_url', 'blog_name')

Tags:

First Post on the All New Website

Posted 1 year, 5 months ago
584 Comments Posted on Tuesday, January 23, 2007

Finally here it is. I hope everyone likes the new design. The entire site is now custom code written by yours truly using the django framework. Django is a web framework written in python that makes web application easy or at least it is supposed to. I have to say that there is quite a steep learning curve but once you learn the django lingo and syntax web development is pretty smooth.

Some may have noticed that imalm.com was down for a few days. I finally got the site done and was putting it up but I was having fcgi problems on my web provider, dreamhost. I will be blogging about my problems and the solution that I found.

Tags:

The Scoop

You are viewing the blog archive index. Feel free to browse the arhive by year, month, day, or tag.

Year Archive

 
Google Ads

About iMalm.com

iMalm.com is simply my personal web page where I keep stuff that I use. Hopefully, other people can find a use for it too. why? Why not! Check out this article as to "why personal websites matter"