net.sourceforge.pebble.webservice
Class UpdateNotificationPingsClient
java.lang.Object
net.sourceforge.pebble.webservice.UpdateNotificationPingsClient
public class UpdateNotificationPingsClient
- extends java.lang.Object
A simple client to ping (notify) sites like weblogs.com when this blog has
been updated.
- Author:
- Simon Brown
Method Summary |
void |
sendUpdateNotificationPing(Blog blog,
java.lang.String[] sites)
Sends a weblogUpdates.ping indicating this the specified blog has
recently been updated. |
void |
sendUpdateNotificationPing(Blog blog,
java.lang.String url,
java.lang.String[] sites)
Sends a weblogUpdates.ping indicating this the specified blog has
recently been updated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateNotificationPingsClient
public UpdateNotificationPingsClient()
sendUpdateNotificationPing
public void sendUpdateNotificationPing(Blog blog,
java.lang.String[] sites)
- Sends a weblogUpdates.ping indicating this the specified blog has
recently been updated. This version sends the blog's home URL.
- Parameters:
blog
- the Blog representing the updated blogsites
- the list of sites (URLs) to ping
sendUpdateNotificationPing
public void sendUpdateNotificationPing(Blog blog,
java.lang.String url,
java.lang.String[] sites)
- Sends a weblogUpdates.ping indicating this the specified blog has
recently been updated. This version sends an arbitrary URL.
- Parameters:
blog
- the Blog representing the updated blogurl
- the URL to send the ping forsites
- the list of sites (URLs) to ping
Copyright © 2003-2006, Simon Brown. All Rights Reserved.