====== Nucleus Plugin: NP_InternetTime ====== ^ Current Version: | 0.1.1 | ^ Download: | [[files>internettime/]]| ^ Demo: | http://budts.be/weblog/ | ^ Forum Thread: | http://forum.nucleuscms.org/viewtopic.php?p=14578 | ===== Using the plugin ===== This plugin brings the Swatch Internet Time (.beat) to [[http://nucleuscms.org Nucleus]].\\ Swatch has divided a day into 1000 eqaul beats, so every beat is the equivalent of 86.4 seconds. Also there are no timezones, so wherever you are, it is always the same Internet Time (by example: while i'm writing this it is 12:28+0200 or @478)\\ more info about Swatch Internet Time at http://swatch.com/internettime/home.php The plugin can be used as a ''TemplateVar'' to show the time at which an item or comment was posted in the Swatch Internet Time To do so simply add ''<%InternetTime%>'' somewhere in your template. (In the 'Items'-part of your template if you want the .beat of your item and somewhere in the 'Comments (if any)'-part of your template to show the .beat of every comment.) The plugin can also be used as a ''SkinVar'', to print the actual .beat time (this is the time the blogpage is parsed on the server) ===== Installation ===== To install NP_InternetTime simply copy the following code and save it in a file called ''NP_InternetTime.php'', upload it to the plugins folder of your Nucleus installation and install. ===== Options ===== The plugin has only one option: * Show Centibeat (__yes__, no): with this option you can turn on or of the centibeats which make the .beat more precise (example: on: @494.25, off: @494) ===== Screenshot ===== {{http://budts.be/media/wikimedia/20040420-npinternettime.png}} ===== Get the plugin ===== You can get the code of the plugin [[nucleus:plugins:internet_time:code|HERE]] ===== Bugs ===== * @9.89 moet @009.89 zijn, uitzoeken hoe dit komt (http://budts.be/weblog/item/289#comment430) (is specifieke fout met centibeats) ===== Version History ===== * 2004-04-19: v0.1: Initial Version * 2004-04-22: v0.1.1: added the function supportsfeature('tableprefix') ===== Idea's for future versions===== * phpDoc comments