EXT:news (tx_news)
News records of georgringer/news are records on a detail page, not pages of their own. The extension supports them when both conditions are met:
- EXT:news is installed
- sillmstxt.news.detailPid is set to the page with the news detail plugin
sillmstxt.news.detailPid: 42
# optional, otherwise the whole page tree of the site is searched
sillmstxt.news.storagePids: '41'
What is added
llms.: section "News" with all news, newest first, with date and description (meta description, otherwise teaser)txt llms-: the Markdown of every news recordfull. txt .mdURL of every news detail URL, for example/en/; with frontmatter taken from the news record (title, description, date, lastmod, canonical)news/ my- article. md - Markdown link in the HTML head of the detail view
The detail page itself (without a news record) is not listed and its .md
URL returns 404.
Which records are included
- type "News" only – records of type "Internal page" or "External URL" have no content of their own
- visible in the frontend (hidden, start/end time, access restrictions)
- in other languages: only translated records (
sys_counts for all languages)language_ uid = - 1
Routing
The news URLs are built with the site router, so the route enhancer of
EXT:news is used if one is configured (/news/). Without a
route enhancer the URLs keep their query string
(/news-), which works as well.
No route enhancer is needed for the extension itself.
Cache
When a news record is saved, EXT:news flushes the cache tags
tx_ and tx_ in the "pages" cache group.
The cached llms. / llms- carry these tags and are
regenerated on the next request.
Hint
News articles of EXT:just_news are pages (page type 12) and need no configuration, see sillmstxt.articleDoktypes.