comparison pidgin-twitter.h @ 206:99c4946e8449

now pidgin-twitter shows the default icon for identi.ca when a user has not uploaded the custom icon.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 22 Aug 2008 16:47:37 +0900
parents bc1448e72b1b
children d512d1d8712f
comparison
equal deleted inserted replaced
205:bc1448e72b1b 206:99c4946e8449
146 #define P_USER_FIRST_LINE "^\\(.+?\\)\\s*.+:\\s*([A-Za-z0-9_]+):" 146 #define P_USER_FIRST_LINE "^\\(.+?\\)\\s*.+:\\s*([A-Za-z0-9_]+):"
147 #define P_USER_FORMATTED "^.*?<a .+?>([A-Za-z0-9_]+)</a>:" 147 #define P_USER_FORMATTED "^.*?<a .+?>([A-Za-z0-9_]+)</a>:"
148 #define P_CHANNEL "^(.*?<a .+?>[A-Za-z0-9_]+</a>: \\r?\\n?#)([A-Za-z0-9_]+) " 148 #define P_CHANNEL "^(.*?<a .+?>[A-Za-z0-9_]+</a>: \\r?\\n?#)([A-Za-z0-9_]+) "
149 #define P_IMAGE_TWITTER "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://.+)\" .+?/>" 149 #define P_IMAGE_TWITTER "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://.+)\" .+?/>"
150 #define P_IMAGE_WASSR "<div class=\"image\"><a href=\".+\"><img src=\"(.+)\" width=\".+?\" /></a></div>" 150 #define P_IMAGE_WASSR "<div class=\"image\"><a href=\".+\"><img src=\"(.+)\" width=\".+?\" /></a></div>"
151 #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_]+\"/>" 151 #define P_IMAGE_IDENTICA "<img src=\"(http://.+.identi.ca/.+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>"
152 #define P_TAG_IDENTICA "#([A-Za-z0-9]+)" 152 #define P_TAG_IDENTICA "#([A-Za-z0-9]+)"
153 #define P_SIZE_128_WASSR "\\.128\\." 153 #define P_SIZE_128_WASSR "\\.128\\."
154 154
155 /* twitter API specific macros */ 155 /* twitter API specific macros */
156 #define TWITTER_BASE_URL "http://twitter.com" 156 #define TWITTER_BASE_URL "http://twitter.com"