treesheets
treesheets copied to clipboard
versioning information at homepage
I would propose to add versioning information at homepage download section (http://strlen.com/treesheets/), e.g. Sep 13 2015 as it is seen at Help->About.
That would be good yes.. wonder if there's a way to do that automatically..
Maybe you can use a git post-receive hook: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
Some bash scripts to get file information about "Last-Modified"
using wget e.g. save the following script as last-modified-wget.sh and run sh last-modified-wget.sh
#!/bin/sh
echo "GNU/Linux 64-bit"
wget --server-response --spider http://strlen.com/treesheets/treesheets_linux64.tar.gz 2>&1 | grep Last-Modified
echo
echo "GNU/Linux 32-bit"
wget --server-response --spider http://strlen.com/treesheets/treesheets_linux.tar.gz 2>&1 | grep Last-Modified
echo
echo "MS Windows"
wget --server-response --spider http://strlen.com/treesheets/Treesheets_Setup.exe 2>&1 | grep Last-Modified
echo
echo "macOS"
wget --server-response --spider http://strlen.com/treesheets/treesheets_osx.zip 2>&1 | grep Last-Modified
echo
using curl e.g. save the following script as last-modified-curl.sh and run sh last-modified-curl.sh
#!/bin/sh
echo "GNU/Linux 64-bit"
curl -sI http://strlen.com/treesheets/treesheets_linux64.tar.gz | grep Last-Modified
echo
echo "GNU/Linux 32-bit"
curl -sI http://strlen.com/treesheets/treesheets_linux.tar.gz | grep Last-Modified
echo
echo "MS Windows"
curl -sI http://strlen.com/treesheets/Treesheets_Setup.exe | grep Last-Modified
echo
echo "macOS"
curl -sI http://strlen.com/treesheets/treesheets_osx.zip | grep Last-Modified
echo
Result will be like this:
GNU/Linux 64-bit
Last-Modified: Sun, 20 Nov 2016 17:52:37 GMT
GNU/Linux 32-bit
Last-Modified: Sun, 13 Sep 2015 20:05:15 GMT
MS Windows
Last-Modified: Mon, 27 Mar 2017 04:59:05 GMT
macOS
Last-Modified: Wed, 08 Mar 2017 01:30:56 GMT
About web site
- wait while web site is fully loaded
- enter to address bar
javascript:alert(document.lastModified)
... and press enter. You will get a pop-up with last modified date and time of the web site.
Thanks.. the website is entirely static though, it won't be running any bash.
.. at least can anyone who would be interested, do it by own.. ..or probably would it be possible to implement in any of the favourite web programming language
..some hints:
- https://stackoverflow.com/questions/1034794/last-modified-date-of-a-file-on-a-web-site
- https://coderanch.com/t/117988/File-Date
- http://php.net/manual/en/function.filemtime.php
- http://help.dottoro.com/ljxguqrv.php
- http://www.chipchapin.com/WebTools/JavaScript/example1-02.html