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

Notification patch; added informations to settings #31

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MueJosh
Copy link

@MueJosh MueJosh commented Apr 4, 2024

Added information to Apprise Telegram Notifications Markdown needed for weekly report
// config

Added information to some settings
needs some coding (create text box)
// advanced

MueJosh added 2 commits April 4, 2024 23:07
Added information to Apprise Telegram Notifications 
Markdown needed for weekly report
Added additional information to some settings
@Nachtzuster Nachtzuster marked this pull request as draft April 6, 2024 07:23
@MueJosh
Copy link
Author

MueJosh commented Apr 6, 2024

Unfortunately I won't have time in the next weeks to get to this issue.

1. It would be possible to change the apprise.txt line 512 in config.php to- for example "apprise_markdown.txt"

	edit:	`/usr/local/bin/weekly_report.sh `
			also needs an update with the added `apprise_markdown.txt` 				instead of `apprise.txt`
  1. Then it gets the apprise link (for example: tgram://bottoken/chat-id) from "apprise_markdown.txt"

  2. It would need another script(or added somewhere) where it fetches the apprise link and adds ?format=markdown at the end of each link. (e.g tgram://bottoken/chat-id?format=markdown?
    Then it writes it to "apprise_markdown.txt" at $home
    This should only happen if "weekly report" is selected.

This would prevent the notifications to be normal
So it's bold, italic or whatever

On my pi it already works like this, though I didn't implement step 2 and 3 since everything is already set up.

much easier for the enduser, no need to add text to links that are hard to understand for what it does.

No time to find out how to upload this directly to the right spot- this is how I set it up on my pi. (I edited apprise_markdown to contain the apprise link with ?format=markdown at the end)
advanced.php.txt
Renamed because GitHub doesn’t like .php files

@MueJosh MueJosh changed the title Mue josh patch 1 Notification patch; added informations to settings Apr 7, 2024
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

Successfully merging this pull request may close these issues.

1 participant