akkoma/lib/pleroma/web/rich_media/parsers/twitter_card.ex

12 lines
248 B
Elixir
Raw Normal View History

2019-01-10 11:09:56 -07:00
defmodule Pleroma.Web.RichMedia.Parsers.TwitterCard do
def parse(html, data) do
Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse(
html,
data,
"twitter",
"No twitter card metadata found",
"name"
)
end
end