Did you know ...
Search Documentation:
Predicate random_news/2
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
srv
plweb
daemon.pl
load.pl
plweb.pl -- Server for PlDoc wiki pages and SWI-Prolog website
parms.pl
page.pl
footer.pl -- Footer
openid.pl -- Handle users of the SWI-Prolog website
review.pl -- Handle rating and reviewing of packages
markitup.pl -- Wrapper for markItUp ajax markup editor
markdown.pl -- Parse markdown documents into a DOM
wiki.pl
wiki_edit.pl -- Edit PlDoc wiki pages
git_html.pl
notify.pl -- Send notications by E-mail
object_support.pl -- Object support
rating.pl -- Provide a star-rating widget
pack.pl
pack_info.pl -- Visual (web) components that show info about packs
pack_analyzer.pl -- Analyse the content of a Prolog pack
pack_mirror.pl -- Mirror pack archives
messages.pl -- Run goals that produce messages
proxy.pl
tagit.pl
generics.pl -- Generics
post.pl -- Posts
annotation.pl -- Annotation
did_you_know.pl -- Interesting snippets about SWI-Prolog
news.pl -- News on the SWI-Prolog Web site
random_news//0
holidays.pl
download.pl
http_cgi.pl -- Run CGI scripts from the SWI-Prolog web-server
gitweb.pl -- Provide gitweb support
update.pl
autocomplete.pl -- SWI-Prolog website autocompletion support
customise.pl
tests.pl
examples.pl
blog.pl
fastly.pl -- Purge pages on our CDN
api.pl
stats.pl -- Server statistics components
register.pl
changelog.pl
forum.pl
make.pl
test_recaptcha.pl
watchdog.pl
random_news
//
is
semidet
Emit a random news item for the Did You Know place of the page. Fails if there is no news.