- author
- - Wouter Beek
- version
- - 2013/12
- To be done
- - Calculate relevance based on freshness lifetime and importance.
- - User-specific influencing of relevance. Based on login/based on cookies.
news_process(+Request)[private]- HTTP handler for /news/. Distinguishes three cases:
- GET to /news/<Kind>/<Id> to render a single news item.
- GET to /news/ to render the fresh news.
- POST provides a REST API for managing news.
news_archive(+Request) is det[private]- Show all available news.
random_news// is semidet- Emit a random news item for the Did You Know place of the page.
Fails if there is no news.
random_new_item(-Id:atom, -Title:atom) is det[private]