diff options
author | Dan Williams <dcbw@localhost.localdomain> | 2006-07-25 22:17:05 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@localhost.localdomain> | 2006-07-25 22:17:05 (GMT) |
commit | e5065263a9e9a8e2295d46effab39ce35d7a1349 (patch) | |
tree | 89aa1f493b4019cb79362ca6b7b0d2dd70e882b2 /activities/browser | |
parent | 8d232ae292cf3b3b85cd34920c5eaf915c882c8a (diff) |
s/publish/share
Diffstat (limited to 'activities/browser')
-rw-r--r-- | activities/browser/BrowserActivity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activities/browser/BrowserActivity.py b/activities/browser/BrowserActivity.py index e9e0671..8ed39d9 100644 --- a/activities/browser/BrowserActivity.py +++ b/activities/browser/BrowserActivity.py @@ -105,11 +105,11 @@ class BrowserActivity(Activity): def get_embed(self): return self.embed - def publish(self): + def share(self): escaped_title = xml.sax.saxutils.escape(self.embed.get_title()) escaped_url = xml.sax.saxutils.escape(self.embed.get_address()) - # Publish ourselves on the network + # Share this activity with others properties = {_SERVICE_URI_TAG: escaped_url, _SERVICE_TITLE_TAG: escaped_title} self._share_service = self._pservice.share_activity(self, stype=self._default_type, properties=properties) |