• R/O
  • R/W (SSH)
  • R/W (HTTPS)

afficheur: Commit Details


Commit MetaInfo

Revision807 (tree)
Time2011-09-25 20:20:20
Authorichi

Log Message

instagramのインライン表示不具合を修正

Change Summary

Diff

--- Afficheur/trunk/Service.m (revision 806)
+++ Afficheur/trunk/Service.m (revision 807)
@@ -5443,6 +5443,16 @@
54435443 options:OgreMultilineOption];
54445444 LOG(@"[Service: %@(%@) parsePhotoURL] Instagram?\n%@", [self className], _service, photo_url);
54455445 }
5446+ exp = @"^.*<img class=\"photo\" src=\"(.*?)\".*$";
5447+ if ([html lengthOfRegularExpression:exp
5448+ withOptions:OgreMultilineOption])
5449+ {
5450+ isURL = YES;
5451+ photo_url = [html replaceWithExpression:exp
5452+ replace:@"\\1"
5453+ options:OgreMultilineOption];
5454+ LOG(@"[Service: %@(%@) parsePhotoURL] Instagram?\n%@", [self className], _service, photo_url);
5455+ }
54465456 }
54475457 }
54485458 }
旧リポジトリブラウザで表示