mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-22 14:45:16 +00:00
update moduledoc
This commit is contained in:
parent
338612d72b
commit
f50cffd134
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
defmodule Pleroma.Upload.Filter.Exiftool.ReadDescription do
|
defmodule Pleroma.Upload.Filter.Exiftool.ReadDescription do
|
||||||
@moduledoc """
|
@moduledoc """
|
||||||
Gets the description from the related EXIF tags and provides them in the response if no description is provided yet.
|
Gets a valid description from the related EXIF tags and provides them in the response if no description is provided yet.
|
||||||
It will first check ImageDescription, when that's too long or empty, it will check iptc:Caption-Abstract.
|
It will first check ImageDescription, when that doesn't probide a valid description, it will check iptc:Caption-Abstract.
|
||||||
When the description is too long (see `:instance, :description_limit`), an empty string is returned.
|
A valid description means the fields are filled in and not too long (see `:instance, :description_limit`).
|
||||||
"""
|
"""
|
||||||
@behaviour Pleroma.Upload.Filter
|
@behaviour Pleroma.Upload.Filter
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue