Anonymous avatar Anonymous committed 9339970

Fixed #11 -- Ping-o-matic support.

--HG--
extra : convert_revision : svn%3Aea932676-bf3b-0410-9f11-03e9079df846/trunk%40164

Comments (0)

Files changed (3)

         return value            # raw
 
 def pingomatic(site_name, site_url, server_url='http://rpc.pingomatic.com/'):
+    """
+    Updates multiple services and search engines about updates to
+    weblog content, with `ping-o-matic <http://pingomatic.com/>`_.
+
+    *Required arguments:*
+
+    * ``site_name``: name of site/weblog.
+    * ``site_url``: site/weblog URL.
+
+    *Optional arguments:*
+
+    * ``server_url``: URL of ping-o-matic RPC server.
+
+    """
     server = ServerProxy(server_url)
     return server.weblogUpdates.ping(site_name, site_url)

docs/overview.txt

 
 List of some features of Django Diário:
 
+* Free/Libre Software, covered by LGPLv3;
+
 * Uses built-in Django administration interface;
 
 * Tagging with `django-tagging`_ (optional);
 * Support for internationalization (available in English, Brazilian
   Portuguese and, partially, in Spanish, French...);
 
+* Ping-o-matic support;
+
 * Pretty `permalinks`_.
 
 .. _`django-tagging`: http://code.google.com/p/django-tagging/
 
     * ``value``: plain text input
 
+pingomatic
+----------
 
-get_svn_revision
-----------------
+Updates multiple services and search engines about updates to
+weblog content, with `ping-o-matic <http://pingomatic.com/>`_.
 
-Returns the SVN revision in the form SVN-XXX,
-where XXX is the revision number.
+*Required arguments:*
+
+    * ``site_name``: name of site/weblog.
+
+    * ``site_url``: site/weblog URL.
+
+*Optional arguments:*
 
-Returns SVN-unknown if anything goes wrong, such as an unexpected
-format of internal SVN files.
+    * ``server_url``: URL of ping-o-matic RPC server.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.