Files
dedinit.ru/openspec/changes/archive/2026-09-08-rss-full-feed/tasks.md
T

30 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Tasks: RSS Full Feed
## 1. Конфигурация
- [x] 1.1 В `hugo.toml`, в секции `[params]`, добавить `ShowFullTextinRSS = true`
- [x] 1.2 В `hugo.toml`, в секции `[services]`, добавить `[services.RSS]` с `limit = 5`
- [x] 1.3 В `themes/rDedInit/layouts/_default/rss.xml` добавить prepend обложки
(figure.entry-cover с absURL) в `<content:encoded>`
## 2. Сборка и проверка
- [x] 2.1 Выполнить `hugo --minify` — сборка без ошибок
- [x] 2.2 Проверить `grep -c '<item>' public/index.xml` == 5
- [x] 2.3 Проверить `grep -c 'content:encoded' public/index.xml` == 5
- [x] 2.4 Проверить, что `<content:encoded>` начинается с `<figure class="entry-cover">`
и содержит абсолютную ссылку на hero.svg (скриптом из design.md)
## 3. Git
- [x] 3.1 Закоммитить изменения (`hugo.toml`, openspec-артефакты)
- [x] 3.2 Запушить в origin (gitverse.ru) — после согласования с пользователем
(выполнено: push cb4decb)
## 4. Деплой (по согласованию с пользователем)
- [x] 4.1 Выполнить `make deploy` (rsync на kpa39l.myjino.ru:2222)
(выполнено: sftp-mirror public/ → /dedinit.ru, т.к. аккаунт SFTP-only)
- [x] 4.2 Проверить `curl -s https://dedinit.ru/index.xml | grep -c '<item>'` == 5
и наличие `content:encoded` (выполнено: 5 items, 5 content:encoded,
обложки, XML валиден)