NP_InternetTime

A plug-in to display the time of an item and/or comment in Internet Beats (Swatch Internet Time).

General Plugin info
Author: Jeroen Budts (TeRanEX)
Current Version: 0.1.1
Download: np_internettime_v0.1.1.zip
Code: NP_InternetTime code
Demo: http://budts.be/weblog/ (?)
Forum Thread: here

Current Version: 0.1.1

Using the plugin

This plugin brings the Swatch Internet Time (.beat) to 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)

Get the plugin

You can get the code of the plugin http://wiki.budts.be/NpInternetTime/Code

Version History

  • 2004-04-19: v0.1: Initial Version
  • 2004-04-22: v0.1.1: added the function supportsfeature('tableprefix')

Plugin Review

NP_InternetTime version 0.1.1 works with Nucleus CMS version 3.31 - 2007-11-13 kg

internettime.txt · Last modified: 2007/11/13 01:04 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki