Mercurial > pidgin-twitter
comparison pidgin-twitter.h @ 229:29c741b1b921
supports identi.ca's quirky tag notation.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 27 Sep 2008 15:14:30 +0900 |
parents | 8da85ae0aa2c |
children | a93a85623a92 |
comparison
equal
deleted
inserted
replaced
228:666629903fa9 | 229:29c741b1b921 |
---|---|
152 #define P_USER "^.*?(?:<a .+?>)?([-A-Za-z0-9_]+)(?:</a>)?:" | 152 #define P_USER "^.*?(?:<a .+?>)?([-A-Za-z0-9_]+)(?:</a>)?:" |
153 #define P_CHANNEL "^(.*?(?:<a .+?>)?[-A-Za-z0-9_]+(?:</a>)?: \\r?\\n?#)([A-Za-z0-9_]+) " | 153 #define P_CHANNEL "^(.*?(?:<a .+?>)?[-A-Za-z0-9_]+(?:</a>)?: \\r?\\n?#)([A-Za-z0-9_]+) " |
154 #define P_IMAGE_TWITTER "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://.+)\" .+?/>" | 154 #define P_IMAGE_TWITTER "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://.+)\" .+?/>" |
155 #define P_IMAGE_WASSR "<div class=\"image\"><a href=\".+\"><img src=\"(.+)\" width=\".+?\" /></a></div>" | 155 #define P_IMAGE_WASSR "<div class=\"image\"><a href=\".+\"><img src=\"(.+)\" width=\".+?\" /></a></div>" |
156 #define P_IMAGE_IDENTICA "<img src=\"(http://.+.identi.ca/.+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>" | 156 #define P_IMAGE_IDENTICA "<img src=\"(http://.+.identi.ca/.+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>" |
157 #define P_TAG_IDENTICA "#([A-Za-z0-9]+)" | 157 #define P_TAG_IDENTICA "#([A-Za-z0-9_]+)" |
158 #define P_SIZE_128_WASSR "\\.128\\." | 158 #define P_SIZE_128_WASSR "\\.128\\." |
159 | 159 |
160 /* twitter API specific macros */ | 160 /* twitter API specific macros */ |
161 #define TWITTER_BASE_URL "http://twitter.com" | 161 #define TWITTER_BASE_URL "http://twitter.com" |
162 #define TWITTER_STATUS_GET "GET /statuses/friends_timeline.xml HTTP/1.1\r\n" \ | 162 #define TWITTER_STATUS_GET "GET /statuses/friends_timeline.xml HTTP/1.1\r\n" \ |