tomas-nestorovic / RIDE

Windows tool for low-level access to any floppy disks, and comfortable high-level access to some legacy filesystems (ZX Spectrum, MS-DOS, etc.).
https://nestorovic.hyperlink.cz/ride/html/index.html
53 stars 0 forks source link

Determining application recency directly from GitHub #17

Closed tomas-nestorovic closed 5 years ago

tomas-nestorovic commented 6 years ago

Whether an instance of this application is up to date or not is currently determined by downloading the usingLatest.html and checking the </em> tag. If it contains a string that matches given application instance's version, the page is shown, informing on using the latest. If the tag contains any other string, the application loads and shows the <a rel="noreferrer nofollow" target="_blank" href="http://nestorovic.hyperlink.cz/ride/html/usingOld.html">usingOld.html</a> website instead, informing on being outdated.</p> <p>The problem with this approach is that I usually forget to immediatelly change the <em><title/></em>, so the <em>usingOld.html</em> website is shown even if running the <em>really</em> up-to-date version. It thus might be a good idea to determine the application's recency not from the <em><title/></em> tag but through a direct connection to GitHub (<a rel="noreferrer nofollow" target="_blank" href="https://developer.github.com/v3/repos/releases/#get-the-latest-release">tutorial</a>).</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>