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

apprise notification format #444

Open
vogler opened this issue Mar 5, 2025 · 2 comments
Open

apprise notification format #444

vogler opened this issue Mar 5, 2025 · 2 comments
Labels
feature New feature or request

Comments

@vogler
Copy link
Owner

vogler commented Mar 5, 2025

Seems like not all notification services can deal with HTML.
via https://github.com/vogler/free-games-claimer/pull/417/files#diff-d449836a1265b178db184b204653735df165e83a1b95401942c324ace2b501adR276

Could either just not use HTML at all or strip HTML tags if needed.
However, that would require an exhaustive list of those services.

@vogler vogler added the feature New feature or request label Mar 5, 2025
@vogler
Copy link
Owner Author

vogler commented Mar 5, 2025

So one would need to go through all https://github.com/caronc/apprise#supported-notifications and check what formats are supported and map it accordingly.
Ideally, apprise would take care of this since they have all the information. They could always accept HTML or Markdown and convert it to text if needed.

Maybe most services support Markdown and the ones that don't would hopefully just use it as text. Markdown links are not that bad to read as text.

@vogler vogler changed the title Strip HTML tags for apprise notification services which don't support HTML apprise notification format Mar 5, 2025
@vogler
Copy link
Owner Author

vogler commented Mar 5, 2025

The files in https://github.com/caronc/apprise/tree/master/apprise/plugins don't really specify the supported formats, the code just branches on the passed format.

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

No branches or pull requests

1 participant