Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
twitpicの仕様変更
Index: core/addon/openimg/pattern_file.json
===================================================================
--- core/addon/openimg/pattern_file.json (revision 642)
+++ core/addon/openimg/pattern_file.json (working copy)
@@ -2,7 +2,11 @@
"twitpic": {
"url": "^http://twitpic\\.com/[a-zA-Z0-9]+",
"attribute": {
- "id": "photo-display"
+ "tag": "img",
+ "src": {
+ "json_class": "Regexp",
+ "data": "^http://.*?\\.twitpicproxy\\.com/photos/(?:large|full)/.*"
+ }
}
},
"yfrog": {
@@ -71,4 +75,4 @@
"class": "photo"
}
}
-}
\ No newline at end of file
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.