The Artima Developer Community
Sponsored Link

Python Buzz Forum
blo.gs weblogUpdates syndication

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
blo.gs weblogUpdates syndication Posted: Nov 4, 2003 12:56 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: blo.gs weblogUpdates syndication
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement
Hey, this rocks. blo.gs has a feature whereby you can get it to ping you when it gets a ping. You tell it about your server with an XML-RPC call, and it'll then notify you when anybody updates, either by calling an XML-RPC method or POSTing some data to a page on your site.

In Python, you can get it to call you with XML-RPC (calling the function weblogUpdates.cloudPing) like this:

#!/usr/local/bin/python

import xmlrpclib
print xmlrpclib.Server('http://ping.blo.gs/').weblogUpdates.registerCloud(
    'http://my.server.com/RPC2',
    'xml-rpc',
    'weblogUpdates.cloudPing',
    'my random token',
    )


(Replace my.server.com with your server name and my random token with some text of your choice).

This code will print out a number. That's the number of hours (25 for me) for which it'll retain your server details. After that (well, before that) you have to call it again if you want to stay connected.

So, anyway, I had just made the Topic Exchange support the Weblogs.Com API so you could put http://topicexchange.com/RPC2 in your Movable Type ping list and connect to it directly, but then I found out about this blo.gs cloud thing, so you don't need to ping the Topic Exchange -- just ping blo.gs and the ITE will hear about it a few seconds later. Nice!

What this means is that the Topic Exchange now has a nice little weblog updates page. It's showing 1694 pings right now - wow.

Comment

Read: blo.gs weblogUpdates syndication

Topic: Zope Credits Previous Topic   Next Topic Topic: More O2 news

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use