Difference between revisions of "Test"

 
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
<console>
+
== Table test ==
# ##i##foobar
+
<div class="table-responsive"><table class="table"><tr><td>Hello</td></tr><tr><td>Hello</td></tr><tr><td>Hello</td></tr></table></div>
</console>
+
  
Hello.
+
== Testing error on Show ==
  
<syntaxhighlight lang="php">
+
* {{#show:User:JanZhou|?full name}}
<?php
+
* {{#show:User:Drobbins|?full name}}
    $v = "string";    // sample initialization
+
?>
+
html text
+
<?
+
    echo $v;        // end of php code
+
?>
+
</syntaxhighlight>
+
  
http://www.funtoo.org
+
 
 +
{{DISPLAYTITLE:Bob Boblaw}}
 +
[[Category:Test]]
 +
 
 +
Adding some text
 +
 
 +
== Testing External Data ==
 +
 
 +
 
 +
{{#get_web_data:url=http://auth.funtoo.org:9093/static/members.xml|format=xml|use xpath|data=ircnick=/members/user/ircnick,fullname=/members/user/fullname}}
 +
 
 +
{{#display_external_table:template=MemberDisplay|data=ircnick,fullname}}
 +
 
 +
Daniel Robbins:drobbins:bdfl
 +
 
 +
{{file|name=foobar|lang=python|desc=foobarosity|body=
 +
import system
 +
}}
 +
 
 +
{{file|name=/etc/foo.conf|desc=My foo.conf file|body=
 +
# /etc/host.conf:
 +
# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/host.conf,v 1.1 2006/09/29 23:52:23 vapier Exp $
 +
 
 +
# The  file /etc/host.conf contains configuration information specific to
 +
# the resolver library.  It should contain one configuration keyword  per
 +
# line,  followed by appropriate configuration information.  The keywords
 +
# recognized are order, trim, mdns, multi, nospoof, spoof, and reorder.
 +
 
 +
 
 +
 
 +
# This keyword specifies how host lookups are to be performed. It
 +
# should be followed by one or more lookup methods, separated by
 +
# commas.  Valid methods are bind, hosts, and nis.
 +
#
 +
order hosts, bind
 +
 
 +
 
 +
# Valid  values are on and off.  If set to on, the resolv+ library
 +
# will return all valid addresses for a host that appears  in  the
 +
# /etc/hosts  file,  instead  of  only  the first.  This is off by
 +
# default, as it may cause a substantial performance loss at sites
 +
# with large hosts files.
 +
#
 +
multi on
 +
}}

Latest revision as of 00:39, 21 September 2014

Table test

Hello
Hello
Hello

Testing error on Show

  • Daniel Robbins

Adding some text

Testing External Data

Daniel Robbins:drobbins:bdfl

foobar: foobarosity (python source code)
import system
/etc/foo.conf: My foo.conf file
# /etc/host.conf:
# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/host.conf,v 1.1 2006/09/29 23:52:23 vapier Exp $

# The  file /etc/host.conf contains configuration information specific to
# the resolver library.  It should contain one configuration keyword  per
# line,  followed by appropriate configuration information.  The keywords
# recognized are order, trim, mdns, multi, nospoof, spoof, and reorder.



# This keyword specifies how host lookups are to be performed. It
# should be followed by one or more lookup methods, separated by
# commas.  Valid methods are bind, hosts, and nis.
#
order hosts, bind


# Valid  values are on and off.  If set to on, the resolv+ library
# will return all valid addresses for a host that appears  in  the
# /etc/hosts  file,  instead  of  only  the first.  This is off by
# default, as it may cause a substantial performance loss at sites
# with large hosts files.
#
multi on