Tag/Modifire reference of ToIUtil

MT > ToIUtil

Tags

<MTToIBlogs>

block

Fetching blogs by using name.

Usage

<MTToIBlogs blog_names="blog1,blog2">
<MTBlogName> !
</MTToIBlogs>
Blog1 !
Blog2 !

<MTToICategories>

block

Fetching categories by using name.

Usage

<MTToICategories labels="category1,category2">
<MTCategoryLabel> !
</MTToICategories>
category1 !
category2 !

<MTToICalendar>

block

Displaying month of calendar.

<MTToICalendarDays>

block

Displaying day of calendar.

<MTToIApply>

block

Displaying just a content.(using for applying global modifire)

Usage

<MTToIApply some_global_modifire="1">
some contents
</MTToIApply>
some contents

<MTToITable>

block

Converting CSV or TSV into table.

Usage

<MTToITable>
a, b, c
d, e, f
</MTToITable>
<td class="data_1">a</td><td class="data_2">b</td><td class="data_3">c</td>
<td class="data_1">d</td><td class="data_2">e</td><td class="data_3">f</td>

Modifires

numeric_reference

Converting contents into numeric reference.

Usage

<MTToIApply numeric_reference="1">
abcdefg
</MTToIApply>
&#97;&#98;&#99;&#100;&#101;&#102;&#103;

convert_encoding

Converting contents into arbitrary Japanese character code.

Usage

<MTToIApply convert_encoding="sjis">
utf8 encoded string
</MTToIApply>
sjis encoded string

encode_csv

Encoding contents for CSV format.

Usage

<MTToIApply encode_csv="1">
abc"de"fg
</MTToIApply>
"abc""de""fg"

trim_to_dots

The first N character is taken out. “…” is added when cut short.

Usage

<MTToIApply trim_to_dots="10,...">
The first N character is taken out.
</MTToIApply>
The fir...

Leave a Reply