def get_tags(entry) do
:xmerl_xpath.string('//category', entry)
- |> Enum.map(fn (category) -> string_from_xpath("/category/@term", category) end)
+ |> Enum.map(fn (category) -> string_from_xpath("/category/@term", category) |> String.downcase end)
end
def maybe_update(doc, user) do