RSS Discord Embed Rules #4

Open
opened 2023-12-18 12:16:25 +00:00 by corbz · 0 comments
Owner

Also need to write logic to normalise the RSS feed entry fields used on the Discord Embed.

Currently, certain RSS feeds provide malformed or relative URLs, these obviously cause errors as Discord will check the embed and author URL.

Here are a list of rules, check them as they are added:

  • Embed titles are limited to 256 characters
  • Embed descriptions are limited to 2048 characters
  • There can be up to 25 fields
  • The name of a field is limited to 256 characters and its value to 1024 characters
  • The footer text is limited to 2048 characters
  • The author name is limited to 256 characters
  • In addition, the sum of all characters in an embed structure must not exceed 6000 characters
  • The title cannot hyperlink URLs
  • The embed and author URL must be valid, these will be checked.
Also need to write logic to normalise the RSS feed entry fields used on the Discord Embed. Currently, certain RSS feeds provide malformed or relative URLs, these obviously cause errors as Discord will check the embed and author URL. Here are a list of rules, check them as they are added: - [x] Embed titles are limited to 256 characters - [x] Embed descriptions are limited to 2048 characters - [ ] There can be up to 25 fields - [ ] The name of a field is limited to 256 characters and its value to 1024 characters - [ ] The footer text is limited to 2048 characters - [ ] The author name is limited to 256 characters - [ ] In addition, the sum of all characters in an embed structure must not exceed 6000 characters - [x] The title cannot hyperlink URLs - [x] The embed and author URL must be valid, these will be checked.
corbz added the
bug
label 2023-12-18 12:16:25 +00:00
corbz added this to the PYRSS project 2024-02-06 11:47:03 +00:00
corbz added the
enhancement
label 2024-08-20 12:06:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corbz/PYRSS-Bot#4
No description provided.