Mercurial > pidgin-twitter
diff pidgin-twitter.h @ 205:bc1448e72b1b
workaround for that wassr sometimes provides 128 pixel icon with broad white borders.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 14 Aug 2008 16:20:22 +0900 |
parents | 6c6fe6375ce4 |
children | 99c4946e8449 |
line wrap: on
line diff
--- a/pidgin-twitter.h Wed Aug 13 15:51:23 2008 +0900 +++ b/pidgin-twitter.h Thu Aug 14 16:20:22 2008 +0900 @@ -37,7 +37,8 @@ IMAGE_TWITTER, IMAGE_WASSR, IMAGE_IDENTICA, - TAG_IDENTICA + TAG_IDENTICA, + SIZE_128_WASSR }; /* service id */ @@ -149,7 +150,7 @@ #define P_IMAGE_WASSR "<div class=\"image\"><a href=\".+\"><img src=\"(.+)\" width=\".+?\" /></a></div>" #define P_IMAGE_IDENTICA "<img src=\"(http://avatar.identi.ca/[A-Za-z0-9-.]+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>" #define P_TAG_IDENTICA "#([A-Za-z0-9]+)" - +#define P_SIZE_128_WASSR "\\.128\\." /* twitter API specific macros */ #define TWITTER_BASE_URL "http://twitter.com"