Project

General

Profile

機能 #588 » preview.patch

ねぎ ふにゃイ, 2013-04-28 15:59

View differences:

core/plugin/openimg/pattern_file.json
11 11
    },
12 12
    "yfrog": {
13 13
        "url": "^http://yfrog\\.com/[a-zA-Z0-9]+",
14
        "attribute": {
15
            "id": "main_image"
14
	"attribute": {
15
            "tag": "meta",
16
            "attribute": "content",
17
            "property": "og:image"
16 18
        }
17 19
    },
18 20
    "twipple photo": {
......
70 72
        }
71 73
    },
72 74
    "Instagram": {
73
        "url": "^http://instagr\\.am/p/[a-zA-Z0-9_]+",
75
        "url": "^http://(?:instagr\\.am/p/[a-zA-Z0-9_]+|instagram\\.com/p/[a-zA-Z0-9_-]+)",
74 76
        "attribute": {
75 77
            "class": "photo"
76 78
        }
    (1-1/1)