mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
95_PostMe.pm: Improved Documentation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12644 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8894112cc7
commit
06de4ffd8c
@ -41,7 +41,7 @@ use vars qw($FW_wname); # Web instance
|
|||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Global variables
|
# Global variables
|
||||||
my $postmeversion = "1.0";
|
my $postmeversion = "1.1";
|
||||||
my $FW_encoding = "UTF-8";
|
my $FW_encoding = "UTF-8";
|
||||||
|
|
||||||
#########################################################################################
|
#########################################################################################
|
||||||
@ -1094,9 +1094,19 @@ sub PostMe_widget($) {
|
|||||||
<br />Defines the PostMe system, <postit> is an arbitrary name for the system. </p>
|
<br />Defines the PostMe system, <postit> is an arbitrary name for the system. </p>
|
||||||
<a name="PostMeusage"></a>
|
<a name="PostMeusage"></a>
|
||||||
<h4>Usage</h4>
|
<h4>Usage</h4>
|
||||||
Special meta data for items may be included by using "[" and "]"; characters, e.g.
|
See http://www.fhemwiki.de/wiki/Modul_PostMe
|
||||||
|
|
||||||
|
An arbitrary number of lists may be added to the system with the <i>create</i> command as
|
||||||
|
<code>set <postit> create <name></code>
|
||||||
|
List items may consist of one or more words, and are added/removed by the <i>add</i> and
|
||||||
|
<i>remove</i> command.
|
||||||
|
Attention: A comma "," is the separator for list items.
|
||||||
|
<code>set <postit> add <name> <some text, but careful with commas></code>
|
||||||
|
|
||||||
|
Special meta data for items may be included in the items by using "[" and "]"; characters, e.g.
|
||||||
<code>set <postit> add <name> <item> [<attribute1>="<data1>" ...</code>
|
<code>set <postit> add <name> <item> [<attribute1>="<data1>" ...</code>
|
||||||
The attribute-value pairs may be added,modified and removed with the set modify command, see below.
|
These attribute-value pairs may be added, modified and removed with the <i>modify</i> command
|
||||||
|
|
||||||
The sticky notes may be integrated into any Web page by simply embedding the following tags
|
The sticky notes may be integrated into any Web page by simply embedding the following tags
|
||||||
<ul>
|
<ul>
|
||||||
<li> <code><embed src="/fhem/PostMe_widget?type=pins&postit=<postit>"/></code> <br/>
|
<li> <code><embed src="/fhem/PostMe_widget?type=pins&postit=<postit>"/></code> <br/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user