Permalink
Browse files

Supported inline images on plixi.com

  • Loading branch information...
1 parent 4faa13e commit c55d06204d4f71a31529ce1d73b7ed0c42a034c8 @psychs psychs committed Oct 7, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 Classes/Views/Log/ImageURLParser.m
View
5 Classes/Views/Log/ImageURLParser.m
@@ -34,6 +34,11 @@ + (NSString*)imageURLForURL:(NSString*)url
}
}
}
+ else if ([host hasSuffix:@"plixi.com"]) {
+ if (path.length > 1) {
+ return [NSString stringWithFormat:@"http://api.plixi.com/api/TPAPI.svc/imagefromurl?size=medium&url=%@", [url encodeURIComponent]];
+ }
+ }
else if ([host hasSuffix:@"tweetphoto.com"]) {
if (path.length > 1) {
return [NSString stringWithFormat:@"http://TweetPhotoAPI.com/api/TPAPI.svc/imagefromurl?size=medium&url=%@", [url encodeURIComponent]];

0 comments on commit c55d062

Please sign in to comment.