plugin:clock
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:clock [2012-01-20 21:09] – answer to question ryan.chappelle | plugin:clock [2024-01-22 03:39] (current) – 1.99 update in preparation for 2.0 ryan-chappelle | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== clock plugin | + | ====== clock Plugin |
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
author | author | ||
- | email : luis.machuca[at]gulix.cl | + | email : lambalicious |
type : syntax | type : syntax | ||
- | lastupdate : 2010-10-15 | + | lastupdate : 2024-01-21 |
- | compatible : | + | compatible : Weatherwax, Adora Belle, Angua, Rincewind, Anteater, Igor |
depends | depends | ||
conflicts | conflicts | ||
Line 13: | Line 13: | ||
tags : time | tags : time | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : # eg. http:// | + | bugtracker : # eg. https:// |
- | sourcerepo : # eg. http://github.com/ryan.chappelle/ | + | sourcerepo : https://chiselapp.com/user/ |
- | donationurl: | + | donationurl: |
---- | ---- | ||
Line 24: | Line 24: | ||
^ Quick Questions: | ^ Quick Questions: | ||
- | | ...install this plugin? | + | | ...install this plugin? |
- | | ...configure this plugin? | + | | ...configure this plugin? |
- | | ...see the plugin in action? | + | | ...see the plugin in action? |
- | | ...read a legal disclaimer? | + | | ...read a legal disclaimer? |
- | | ...read about the author? | + | |
^ No longer under // | ^ No longer under // | ||
- | =====Usage===== | + | ===== Download and Installation |
- | ====Download | + | Search |
- | Download and install the plugin using the [[plugin: | + | ===== Usage ===== |
- | + | ||
- | The link above will always point to the latest version. Should you need a previous version, check the [[#Demo]] section for more information. | + | |
- | + | ||
- | It is recommended that you clean your DW cache immediately after installing or upgrading this plugin. | + | |
- | + | ||
- | ====Syntax==== | + | |
Just write __in a line of its own__: | Just write __in a line of its own__: | ||
Line 52: | Line 45: | ||
* Configuration is available via the **Configuration Manager**. | * Configuration is available via the **Configuration Manager**. | ||
- | ====Demo==== | + | ==== Demo ==== |
**Want to see the plugin in action?** | **Want to see the plugin in action?** | ||
Line 59: | Line 52: | ||
Note language is **Spanish** but online translators shall do a good job with it. | Note language is **Spanish** but online translators shall do a good job with it. | ||
- | |||
- | >Another demo site: http:// | ||
**Snapshots**: | **Snapshots**: | ||
Line 67: | Line 58: | ||
| An example visualization of the '' | | An example visualization of the '' | ||
- | ===Styles=== | + | === Styles === |
| {{http:// | | {{http:// | ||
| {{http:// | | {{http:// | ||
Line 73: | Line 65: | ||
| {{http:// | | {{http:// | ||
+ | === Sneak Peek === | ||
- | ===Sneak Peek=== | + | | {{http:// |
- | | {{http:// | + | | Analog clocks...\\ the possible future of the clock plugin? |
- | | Analog clocks...\\ the possible future of the clock plugin? | + | |
- | ====Configuration==== | + | ===== Configuration |
- | The configuration options are reachable | + | The plugin is configured |
- | * '' | + | |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | * '' |
- | * '' | + | |
+ | * '' | ||
+ | * By default it points to '': | ||
+ | * Setting | ||
+ | * '' | ||
+ | * '' | ||
:!: To configure the clock styles or add new ones, check the section on [[# | :!: To configure the clock styles or add new ones, check the section on [[# | ||
+ | ===== Other Details ===== | ||
- | =====Other Details===== | + | ==== The Helpbar ==== |
- | ====The Helpbar==== | + | |
This version of the plugin implements a __help bar__ that displays the wiki link selected in the Plugin Configuration options (under '' | This version of the plugin implements a __help bar__ that displays the wiki link selected in the Plugin Configuration options (under '' | ||
- | ====Customization==== | + | ==== Customization ==== |
- | The //aradio// and //tv24// styles require not only adequate CSS3 typeface support, but also that the client has installed or can access the requires typefaces (fonts). | + | The //aradio// and //tv24// styles require not only adequate CSS3 typeface support, but also that the client has installed or can access the requires typefaces (fonts). |
- | To create your own clock style, the quick& | + | To create your own clock style, the quick& |
- | This is the overall styling model from which you can work on. Substitute '' | + | ==== Known Issues ==== |
- | + | ||
- | <code css clock_style.css> | + | |
- | # | + | |
- | font-family: | + | |
- | font-size: 1.5em; | + | |
- | text-align: center; | + | |
- | color: __text__; | + | |
- | border: 4px inset __text_alt__; | + | |
- | background-color: | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | To modify the styling or layout of the helpbar, when available, you can use this as a base: | + | |
- | + | ||
- | <code css> | + | |
- | # | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | What you are actually styling is the clock' | + | |
- | + | ||
- | ====Internationalization==== | + | |
- | + | ||
- | As of version 1.4, internationalized strings for descriptions and configurations are provided. However as my knowledge of languages is limited, right now the plugin provides only English, Spanish and Esperanto. if you want to collaborate with string for your language, just let me know. | + | |
- | + | ||
- | ====Known Issues==== | + | |
Only **one instance of the clock** is allowed to exist in a DokuWiki page. This is by design. If the syntax mode (''< | Only **one instance of the clock** is allowed to exist in a DokuWiki page. This is by design. If the syntax mode (''< | ||
- | |||
- | The newest version of the plugin, '' | ||
- | |||
- | Note that **JavaScript support is required** for the plugin to work. If you're using Firefox plugins such as " | ||
- | |||
- | Opera 9.5 beta versions have a JS issue where '' | ||
The plugin does not support simultaneous loads (like from a page and a sidebar). This won't affect normal rendering unless the two pages are displayed at once, in which case only the first invocation loaded (usually the normal page) will be rendered correctly, and the other (usually a sidebar) will be left an empty space. | The plugin does not support simultaneous loads (like from a page and a sidebar). This won't affect normal rendering unless the two pages are displayed at once, in which case only the first invocation loaded (usually the normal page) will be rendered correctly, and the other (usually a sidebar) will be left an empty space. | ||
- | ====Questions==== | + | ==== Questions ==== |
:?: How do I add my own style? | :?: How do I add my own style? | ||
Line 163: | Line 128: | ||
By this point, visitors should be able to view the plugin' | By this point, visitors should be able to view the plugin' | ||
- | :?: Can you provide the typefaces? | + | ===== Afterwords ===== |
- | :!: **No, because of license issues.** These fonts are not mine, in the sense that I have no copyright over them. I have acquired them for personal use as their licenses establish, but these licenses don't allow for me to directly give them away. I can only suggest you to use either them or similar ones, which is why I provide the family names (" | + | ==== Legalese ==== |
- | + | ||
- | =====Afterwords===== | + | |
- | + | ||
- | ====The Author==== | + | |
- | + | ||
- | Luis Machuca Bezzaza((yes, | + | |
- | + | ||
- | ^ Other DokuWiki Plugins by\\ [[user> | + | |
- | | [[plugin: | + | |
- | | [[plugin: | + | |
- | | [[plugin: | + | |
- | | [[plugin: | + | |
- | | [[plugin: | + | |
- | | [[plugin: | + | |
- | | [[plugin: | + | |
- | | [[plugin: | + | |
- | | //coming soon// | + | |
- | | //coming soon// | + | |
- | + | ||
- | ==== Source Code ==== | + | |
- | + | ||
- | Unzipping the file from the download link above will give you the source code. It is free, in the GPL definition of the word. | + | |
- | + | ||
- | ====The Next Release==== | + | |
- | + | ||
- | The following are improvements in the latest version ('' | + | |
- | + | ||
- | * Support for i18n-ed descriptions, | + | |
- | * A fix has been made for a leak that caused errors when the edit form was loaded and this plugin was installed. | + | |
- | + | ||
- | The following improvements are planned for the major release ('' | + | |
- | + | ||
- | * Localization((right now only English and Spanish are available)). | + | |
- | * AM/PM format option. | + | |
- | * Better '' | + | |
- | * An analog visualization mode (using SVG + CSS, maybe?). | + | |
- | * A sort of print-version rendering. | + | |
- | + | ||
- | When will the major be released? Whenever it's ready. | + | |
- | + | ||
- | ====Legalese==== | + | |
This plugin (" | This plugin (" | ||
" | " | ||
- | |||
---- | ---- | ||
- | =====Discussion===== | + | ===== Discussion ===== |
Do you have a question? Using Mosaic? Does the clock //actually work// in Links? Have an urge to beat me to a pulp unless I release the release? | Do you have a question? Using Mosaic? Does the clock //actually work// in Links? Have an urge to beat me to a pulp unless I release the release? | ||
Line 222: | Line 145: | ||
----- | ----- | ||
+ | |||
I attempted to disable the info link after the clock without success. Exactly what **file** and **syntax** needs to be used? | I attempted to disable the info link after the clock without success. Exactly what **file** and **syntax** needs to be used? | ||
\\ I tried things in **< | \\ I tried things in **< | ||
Line 228: | Line 152: | ||
----- | ----- | ||
+ | |||
\\Work on 2010-11-07 " | \\Work on 2010-11-07 " | ||
plugin/clock.1327090196.txt.gz · Last modified: 2012-01-20 21:09 by ryan.chappelle