distraction.party/lib/pleroma/web/rich_media/parsers/twitter_card.ex

12 lines
248 B
Elixir
Raw Normal View History

2019-01-10 18:09:56 +00: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