Project

General

Profile

Actions

機能 #754

closed

ドイツのトリ

Added by Akira Ouchi almost 10 years ago. Updated almost 10 years ago.

Status:
終了
Priority:
今すぐ
Target version:
Start date:
2015-04-28
Due date:
% Done:

0%

プラグイン名:
photo_support

Description

https://twitter.com/Asyley_/status/592986657181208578

(サイトで対応しているので)Twitter Webでも画像が展開される模様。
d250g2.comも対応しないとダメですね。
https://twitter.com/Akkiesoft/status/592989463778754560

diff --git a/core/plugin/photo_support/photo_support.rb b/core/plugin/photo_support/photo_support.rb
index 880f8d9..f432fb4 100644
--- a/core/plugin/photo_support/photo_support.rb
+++ b/core/plugin/photo_support/photo_support.rb
@@ -148,6 +148,11 @@ Plugin.create :photo_support do
     open("http://instagram.com/p/#{shortcode}/media/?size=l")
   end

+  # ドイツのトリ
+  defimageopener('ドイツのトリ', %r#\Ahttp://600eur.gochiusa.net/?\Z#) do
+    open('http://600eur.gochiusa.net/tori/600eur.png')
+  end
+
   # d250g2
   defimageopener('d250g2', %r#\Ahttp://d250g2.com/?\Z#) do
     open('http://d250g2.com/d250g2.jpg')
Actions #1

Updated by toshi_a 初音 almost 10 years ago

  • Tracker changed from 環境対応 to 機能
  • Status changed from 新規 to 実装待ち
  • Assignee set to toshi_a 初音
  • Priority changed from 低め to 今すぐ
  • Target version set to 3.2

いやいや、これはそこらの脆弱性より緊急度高いですよ。
パッチをもらいましたが、totori.dip.jpのように、Twitter Cardsを利用する形で実装しようと思います

Actions #2

Updated by toshi_a 初音 almost 10 years ago

  • Status changed from 実装待ち to 終了

ありがとう、良い仕事が出来た

Actions #3

Updated by Akira Ouchi almost 10 years ago

Twitter Cardsを利用する形で実装
      そういうのもあるのか

そういう意味ではd250g2.comもTwitter Cards対応を済ませましたので
いよいよtwitpicが死亡したらこっちも書き換えでしょうか〜。

Actions

Also available in: Atom PDF