Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Length and ending dot limitation for screenshot captions #416

Open
sophie-h opened this issue Sep 8, 2021 · 1 comment
Open

Length and ending dot limitation for screenshot captions #416

sophie-h opened this issue Sep 8, 2021 · 1 comment

Comments

@sophie-h
Copy link

sophie-h commented Sep 8, 2021

What are the reasons for appstream-glib for not following the "ideally not more than 256 characters" recommendation of the standard and not allowing a dot at the end of a caption?

I haven't seen any use of captions in Software or on Flathub but I would like to use them on apps.gnome.org. However, the limitations seem a bit harsh to me.

@ximion
Copy link
Collaborator

ximion commented Sep 8, 2021

tbh, 256 characters is probably waaaaay too many for a caption. I should change the specification to recommend something like max 100/120 instead, actually. People shouldn't write tutorials and novels in short caption texts.
That's also the reason for the "no dot" rule: This is not supposed to be a full text. The AppStream reference implementation has similar checks actually, but they won't make your data invalid. You will get a notification about this though if you run appstreamcli validate.
I haven't tested this, but I think when using validate-relax even appstream-glib will not be so violent about missing dots and fail validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants