{"action":"created","issue":{"url":"https://api.github.com/repos/sebsauvage/rss-bridge/issues/112","labels_url":"https://api.github.com/repos/sebsauvage/rss-bridge/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/sebsauvage/rss-bridge/issues/112/comments","events_url":"https://api.github.com/repos/sebsauvage/rss-bridge/issues/112/events","html_url":"https://github.com/sebsauvage/rss-bridge/issues/112","id":56828437,"number":112,"title":"twitter image","user":{"login":"qwertygc","id":4261986,"avatar_url":"https://avatars.githubusercontent.com/u/4261986?v=3","gravatar_id":"","url":"https://api.github.com/users/qwertygc","html_url":"https://github.com/qwertygc","followers_url":"https://api.github.com/users/qwertygc/followers","following_url":"https://api.github.com/users/qwertygc/following{/other_user}","gists_url":"https://api.github.com/users/qwertygc/gists{/gist_id}","starred_url":"https://api.github.com/users/qwertygc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwertygc/subscriptions","organizations_url":"https://api.github.com/users/qwertygc/orgs","repos_url":"https://api.github.com/users/qwertygc/repos","events_url":"https://api.github.com/users/qwertygc/events{/privacy}","received_events_url":"https://api.github.com/users/qwertygc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sebsauvage/rss-bridge/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T15:49:46Z","updated_at":"2015-02-06T17:56:37Z","closed_at":null,"body":"Hello !\r\nSi une image est présente dans le bridge twitter, est-ce possible de l'afficher directement ? Par exemple avec WebHistoryPics ?\r\nJe pensais avec une regex pour détecter, mais mes connaissances ne sont pas assez poussé."},"comment":{"url":"https://api.github.com/repos/sebsauvage/rss-bridge/issues/comments/73282550","html_url":"https://github.com/sebsauvage/rss-bridge/issues/112#issuecomment-73282550","issue_url":"https://api.github.com/repos/sebsauvage/rss-bridge/issues/112","id":73282550,"user":{"login":"mitsukarenai","id":3343784,"avatar_url":"https://avatars.githubusercontent.com/u/3343784?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsukarenai","html_url":"https://github.com/mitsukarenai","followers_url":"https://api.github.com/users/mitsukarenai/followers","following_url":"https://api.github.com/users/mitsukarenai/following{/other_user}","gists_url":"https://api.github.com/users/mitsukarenai/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsukarenai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsukarenai/subscriptions","organizations_url":"https://api.github.com/users/mitsukarenai/orgs","repos_url":"https://api.github.com/users/mitsukarenai/repos","events_url":"https://api.github.com/users/mitsukarenai/events{/privacy}","received_events_url":"https://api.github.com/users/mitsukarenai/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T17:56:37Z","updated_at":"2015-02-06T17:56:37Z","body":"C'est super dur selon les hébergeurs d'images :(  Une solution serait d'établir une liste d'hébergeurs d'images communs, comparée avec `parse_url($url, PHP_URL_HOST);` (avec une bête fonction `case() { };` ) et si match alors l'URL est enrobée d'une balise `<img>`.\r\n\r\nMéfiance: Imgur par exemple accepte maintenant les vidéos WebM, qui doivent être intégrées avec `<video>`. Contrôle d'extension donc.  À voir."}}