3 ms·
For the comment system on my website I wrote a perl script that tails the nginx logs for all instances of /@say/ in the file path of requests. Anything after a
by superkuh 7y ago
For the comment system on my website I wrote a perl script that tails the nginx logs for all instances of /@say/ in the file path of requests. Anything after a /@say/ is considered comment. So the UI for commenting on my website is like,
http://mywebsite.com/somepage.html/@say/Hey http://mywebsite.com/somepage.html/@say/Hey, neat somepage content, guy.
Some nginx redirects also included to take users to the comments page after submitting.