{% extends "base.html" %}
{% block title %}源管理 · aether{% endblock %}
{% block content %}
共 {{ sources|length }} 个源{% if not show_disabled %}显示中,{{ enabled_count }} 个启用{% else %}(含已禁用){% endif %}
➕ 添加源(agent 推断)
手动添加
{% if show_disabled %}
隐藏已禁用
{% else %}
显示已禁用
{% endif %}
源管理
| 源 | 领域 | tier | 状态 | agent | articles | fetched | 最后抓取 | 操作 |
|---|---|---|---|---|---|---|---|---|
|
{{ s.name }}
{{ s.id }} |
{{ s.domain }} | {{ s.tier }} |
{% if s.enabled %}enabled {% else %}disabled{% endif %} | {{ s.agent_status }} |
{{ s.article_count }} | {{ s.fetched_count }} / {{ s.article_count }} {% if s.article_count > 0 and s.fetched_count == s.article_count %}all {% elif s.fetched_count == 0 %}none {% else %}partial{% endif %} |
{% if s.last_fetched_at %}{{ s.last_fetched_at.strftime('%m-%d %H:%M') }}
{% else %}—{% endif %}
{% if s.last_fetch_status and s.last_fetch_status != 'ok' %}
⚠ {{ s.last_fetch_status[:40] }}{% if s.last_fetch_status|length > 40 %}…{% endif %}
{% endif %}
|
看文章 {% if s.enabled %} 🔄 抓取 {% else %} {% endif %} ✏️ 编辑 |
blocks/sources/basic/sources.yaml(git 维护)+ sources 表(运行时状态)。
点"🔄 抓取"可立即触发一次抓取并指定时间窗。