Add Twitter Card parser
authorMaxim Filippov <colixer@gmail.com>
Thu, 10 Jan 2019 18:09:56 +0000 (18:09 +0000)
committerkaniini <nenolod@gmail.com>
Thu, 10 Jan 2019 18:09:56 +0000 (18:09 +0000)
commit1f851a07232e510e82e7b13400dfcb31cca555bb
tree05a97bdae755e1ace599be00eb6ed69eb52a32b3
parent11d08c622606030492a3938d7287a85af49f23a5
Add Twitter Card parser
lib/pleroma/web/rich_media/parser.ex
lib/pleroma/web/rich_media/parsers/meta_tags_parser.ex [new file with mode: 0644]
lib/pleroma/web/rich_media/parsers/ogp.ex
lib/pleroma/web/rich_media/parsers/twitter_card.ex [new file with mode: 0644]
test/fixtures/rich_media/twitter_card.html [new file with mode: 0644]
test/web/rich_media/parser_test.exs