- {{ preview_change_count }} feed URL{{ 's' if preview_change_count != 1 else '' }} ready to update. -
-| Old URL | -New URL | -Status | -
|---|---|---|
- {{ row.old_url }}
- |
-
- {{ row.resolved_url if resolve_urls else row.candidate_url }}
- |
- - {% if not row.has_match %} - No match - {% elif row.will_force_ignore_errors %} - Will force update (ignore resolve error) - {% elif row.resolution_error %} - {{ row.resolution_error }} - {% elif row.will_force_overwrite %} - Will force overwrite - {% elif row.target_exists %} - Conflict: target URL exists - {% elif row.will_change %} - Will update - {% else %} - No change - {% endif %} - | -
No preview rows found for that replacement pattern.
-{% endif %} diff --git a/discord_rss_bot/templates/base.html b/discord_rss_bot/templates/base.html index 9146b35..a8640dd 100644 --- a/discord_rss_bot/templates/base.html +++ b/discord_rss_bot/templates/base.html @@ -1,12 +1,13 @@ + + content="Stay updated with the latest news and events with our easy-to-use RSS bot. Never miss a message or announcement again with real-time notifications directly to your Discord server." /> + content="discord, rss, bot, notifications, announcements, updates, real-time, server, messages, news, events, feed." /> @@ -17,20 +18,19 @@ {% block head %} {% endblock head %} + {% include "nav.html" %}{{ messages }}
-
- {{ messages }}
+
+
{% raw %}
- {{feed_author}}
+ {{ feed_author }}
{% endraw %}
{{ feed.author }}
{% raw %}
- {{feed_added}}
+ {{ feed_added }}
{% endraw %}
{{ feed.added }}
{% raw %}
- {{feed_last_exception}}
+ {{ feed_last_exception }}
{% endraw %}
{{ feed.last_exception }}
{% raw %}
- {{feed_last_updated}}
+ {{ feed_last_updated }}
{% endraw %}
{{ feed.last_updated }}
{% raw %}
- {{feed_link}}
+ {{ feed_link }}
{% endraw %}
{{ feed.link }}
{% raw %}
- {{feed_subtitle}}
+ {{ feed_subtitle }}
{% endraw %}
{{ feed.subtitle }}
{% raw %}
- {{feed_title}}
+ {{ feed_title }}
{% endraw %}
{{ feed.title }}
{% raw %}
- {{feed_updated}}
+ {{ feed_updated }}
{% endraw %}
{{ feed.updated }}
{% raw %}
- {{feed_updates_enabled}}
+ {{ feed_updates_enabled }}
{% endraw %}
{{ feed.updates_enabled }}
{% raw %}
- {{feed_url}}
+ {{ feed_url }}
{% endraw %}
{{ feed.url }}
{% raw %}
- {{feed_user_title}}
+ {{ feed_user_title }}
{% endraw %}
{{ feed.user_title }}
{% raw %}
- {{feed_version}}
+ {{ feed_version }}
{% endraw %}
{{ feed.version }}
{% raw %}
- {{entry_added}}
+ {{ entry_added }}
{% endraw %}
{{ entry.added }}
{% raw %}
- {{entry_author}}
+ {{ entry_author }}
{% endraw %}
{{ entry.author }}
{% raw %}
- {{entry_content}}
+ {{ entry_content }}
{% endraw %}
{{ entry.content[0].value|discord_markdown }}
{% raw %}
- {{entry_content_raw}}
+ {{ entry_content_raw }}
{% endraw %}
{{ entry.content[0].value }}
{% raw %}
- {{entry_id}}
+ {{ entry_id }}
{% endraw %}
{{ entry.id }}
{% raw %}
- {{entry_important}}
+ {{ entry_important }}
{% endraw %}
{{ entry.important }}
{% raw %}
- {{entry_link}}
+ {{ entry_link }}
{% endraw %}
{{ entry.link }}
{% raw %}
- {{entry_published}}
+ {{ entry_published }}
{% endraw %}
{{ entry.published }}
{% raw %}
- {{entry_read}}
+ {{ entry_read }}
{% endraw %}
{{ entry.read }}
{% raw %}
- {{entry_read_modified}}
+ {{ entry_read_modified }}
{% endraw %}
{{ entry.read_modified }}
{% raw %}
- {{entry_summary}}
+ {{ entry_summary }}
{% endraw %}
{{ entry.summary|discord_markdown }}
{% raw %}
- {{entry_summary_raw}}
+ {{ entry_summary_raw }}
{% endraw %}
{{ entry.summary }}
{% raw %}
- {{entry_title}}
+ {{ entry_title }}
{% endraw %}
{{ entry.title }}
{% raw %}
- {{entry_text}}
+ {{ entry_text }}
{% endraw %}
Same as entry_content if it exists, otherwise entry_summary
{% raw %}
- {{entry_updated}}
+ {{ entry_updated }}
{% endraw %}
{{ entry.updated }}
{% raw %}
- {{image_1}}
+ {{ image_1 }}
{% endraw %}
First image in the entry if it exists
{% raw %}
- {{feed_title}}\n{{entry_content}}
+ {{ feed_title }}\n{{ entry_content }}
{% endraw %}
{{ feed.last_exception.value_str }}
-
- {{ feed.last_exception.traceback_str }}
- {{ feed.last_exception.value_str }}
+
+ {{ feed.last_exception.traceback_str }}
{{ html|safe }}
-{% if is_show_more_entries_button_visible %}
-
- Show more entries
-
+
+{% if show_more_entires_button %}
+
+ Show more entries
+
{% endif %}
+
{% endblock content %}
diff --git a/discord_rss_bot/templates/index.html b/discord_rss_bot/templates/index.html
index 341ec38..f9dfc0d 100644
--- a/discord_rss_bot/templates/index.html
+++ b/discord_rss_bot/templates/index.html
@@ -1,155 +1,154 @@
{% extends "base.html" %}
{% block content %}
-
- - {{ feed_count.total }} feed{{'s' if feed_count.total > 1 else "" }} - - - {% if feed_count.broken %} - - {{ feed_count.broken }} broken - {% else %} - - {{ feed_count.broken }} broken - {% endif %} - - - {% if feed_count.total != feed_count.updates_enabled %} - - {{ feed_count.updates_enabled }} enabled - {% else %} - - {{ feed_count.updates_enabled }} enabled - {% endif %} - - - {{ entry_count.total }} entries - - ({{ entry_count.averages[0]|round(1) }}, - {{ entry_count.averages[1]|round(1) }}, - {{ entry_count.averages[2]|round(1) }}) - -
- - {% for hook_from_context in webhooks %} -No feeds associated with this webhook.
- {% endif %} -+ {{ feed_count.total }} feed{{'s' if feed_count.total > 1 else "" }} + + + {% if feed_count.broken %} + - {{ feed_count.broken }} broken {% else %} -
- Hello there!
-
-
- You need to add a webhook here to get started. After that, you can
- add feeds here. You can find both of these links in the navigation bar
- above.
-
-
- If you have any questions or suggestions, feel free to contact me on tlovinator@gmail.com or TheLovinator#9276 on Discord.
-
-
- Thanks!
-
No feeds associated with this webhook.
{% endif %} - +
+ Hello there!
+
+
+ You need to add a webhook here to get started. After that, you can
+ add feeds here. You can find both of these links in the navigation bar
+ above.
+
+
+ If you have any questions or suggestions, feel free to contact me on tlovinator@gmail.com or TheLovinator#9276 on Discord.
+
+
+ Thanks!
+