Difference between revisions of "User talk:TNT/News"

From NetHackWiki
Jump to navigation Jump to search
(Created page with "To fetch this automatically, you can use something like this on a Unix system (you may have to install lynx and/or sed): # lynx -dump -nolist "https://nethackwiki.com/wiki/U...")
 
(No difference)

Latest revision as of 10:21, 3 October 2017

To fetch this automatically, you can use something like this on a Unix system (you may have to install lynx and/or sed):

# lynx -dump -nolist "https://nethackwiki.com/wiki/User:TNT/News?action=render" | sed -e 's/* Older news...//'> NEWS

The sed command is just to strip the "Older news" text from the template.

A cron job can do this for you every 24 hours.