Changeset 753 for confluence
- Timestamp:
- 04/06/10 08:35:27 (2 years ago)
- Files:
-
- 1 modified
-
confluence/feedfilters/twitterfilter.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
confluence/feedfilters/twitterfilter.py
r752 r753 52 52 text = linknames.sub(r"<a href='http://twitter.com/\1'>@\1</a>", text) 53 53 text = hashtags.sub(r"\1<a href='http://search.twitter.com/search?q=%23\1'>#\2</a>", text) 54 text = re.sub(r"^%s:" % username, "<b>%s:</b>" % username, text) 54 55 text += " <a href='http://twitter.com/home?status=@%s%%20&in_reply_to_status_id=%s&in_reply_to=%s'>Reply</a>" % (username, statusid, username) 55 56 description.data = text
