Files
dedinit.ru/openspec/changes/rss-full-feed/tasks.md
T
estorozhenko cb4decb672 feat(rss): полный текст и обложки в RSS-ленте, лимит 5 постов
- hugo.toml: ShowFullTextinRSS=true, [services.RSS] limit=5
- тема rDedInit rss.xml: prepend cover (figure.entry-cover, absURL) в content:encoded
- openspec change rss-full-feed (план A реализован)
2026-09-08 20:04:44 +00:00

27 lines
1.4 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-артефакты)
- [ ] 3.2 Запушить в origin (gitverse.ru) — после согласования с пользователем
## 4. Деплой (по согласованию с пользователем)
- [ ] 4.1 Выполнить `make deploy` (rsync на kpa39l.myjino.ru:2222)
- [ ] 4.2 Проверить `curl -s https://dedinit.ru/index.xml | grep -c '<item>'` == 5
и наличие `content:encoded`