{% extends "layouts/reader.njk" %} {% block reader %}
{{ icon("previous") }} {{ __("microsub.feeds.title") }}

{{ __("microsub.feeds.edit") }}

{% if error %}

{{ error }}

{% endif %}

Current Feed

{{ feed.url }}

{% if feed.title %}

{{ feed.title }}

{% endif %} {% if feed.status == 'error' %}

Status: Error

{% if feed.lastError %}

Last error: {{ feed.lastError }}

{% endif %} {% if feed.consecutiveErrors %}

Consecutive errors: {{ feed.consecutiveErrors }}

{% endif %}
{% endif %}
{{ input({ id: "url", name: "url", label: "New Feed URL", type: "url", required: true, value: feed.url, placeholder: "https://example.com/feed.xml", autocomplete: "off" }) }}

Enter the direct URL to the RSS, Atom, or JSON Feed. The URL will be validated before updating.

{{ button({ text: "Update Feed URL" }) }} Cancel

Other Actions

Run feed discovery on the current URL to find the actual RSS/Atom feed.

{{ button({ text: "Rediscover Feed", classes: "button--secondary" }) }}

Force refresh this feed now.

{{ button({ text: "Refresh Now", classes: "button--secondary" }) }}
{% endblock %}