Main > Free Download Search >

Free template plugin translit ru 0.05 software for linux

template plugin translit ru 0.05

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2227
Template::Plugin::Translit::RU 0.05

Template::Plugin::Translit::RU 0.05


Template::Plugin::Translit::RU is a filter for converting cyrillic text into transliterated one and back. more>>
Template::Plugin::Translit::RU is a filter for converting cyrillic text into transliterated one and back.

SYNOPSIS

Use as filters.
[% USE Translit::RU translit detranslit %]
[% FILTER translit( koi ) %]
...
This text would stay unchanged because it is not cyrillic.
...
[% END %]
Use as object. First argument - text for conversion. Second optional argument - charset (koi is default).
[% USE plTranslit = Translit::RU %]
[% plTranslit.translit( without cyrillic text is useless ) %]
[% plTranslit.detranslit( kirilitca, win ) %]

Template::Plugin::Translit::RU is Template Toolkit filter which allows to convert cyrillic text into transliterated latin text. Currently two most popular charsets are supported - koi8-r and windows-1251. Also back conversion supported.

<<less
Download (0.005MB)
Added: 2007-04-07 License: Perl Artistic License Price:
575 downloads
Template::Plugin::Datum 0.02

Template::Plugin::Datum 0.02


Template::Plugin::Datum is a Perl module with TT2 plugin that converts international date format to German date format. more>>
Template::Plugin::Datum is a Perl module with TT2 plugin that converts international date format to German date format.

SYNOPSIS

[% USE Datum %]

von: [% 20030101 | datum %] -> 01.01.2003
bis: [% 2003-12-31 | datum %] -> 31.12.2003

Zeitstempel: [% 20031212143000 | datum %] -> 12.12.2003 14:30:00

This plugin converts international date format (year-month-day) to German date format (day.month.year).

Recognized formats are:

yyyy-mm-dd (2003-12-31)
yyyymmdd (20031231)
yyyymmddHHMMSS (20031231143000) date and time

<<less
Download (0.002MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1129 downloads
Template::Plugin::AutoLink 0.03

Template::Plugin::AutoLink 0.03


Template::Plugin::AutoLink is a TT filter plugin to replace URL and e-mail address with hyperlink automatically. more>>
Template::Plugin::AutoLink is a TT filter plugin to replace URL and e-mail address with hyperlink automatically.

SYNOPSIS

# in template

[% use AutoLink %]

[% FILTER auto_link target=_blank %]

Search here
http://www.google.com

[% END %]

# result in
Search here
< a href="http://www.google.com" target="_blank" >http://www.google.com< /a >

<<less
Download (0.003MB)
Added: 2007-04-06 License: Perl Artistic License Price:
931 downloads
Template::Plugin::SumOf 0.01

Template::Plugin::SumOf 0.01


Template::Plugin::SumOf is a Perl module to calculate the sum with VMETHODS. more>>
Template::Plugin::SumOf is a Perl module to calculate the sum with VMETHODS.

SYNOPSIS

# in your script
use Template;
use Template::Plugin::SumOf;
my $tt = Template->new;
$tt->process(
template.html,
{
ary => [
{ date => 2006-09-13, price => 300 },
{ date => 2006-09-14, price => 500 }
]
}
)
or die $tt->error;

# in your template.
[% USE SumOf -%]
[%- FOR elem IN objects -%]
[% elem.date %],[% elem.price %]
[% END -%]
,[% objects.sum_of(price) %]

# result.
2006-09-13,300
2006-09-14,500
,800

You can easy to calcurate sum of array, with VMETHODS.

<<less
Download (0.004MB)
Added: 2007-01-25 License: Perl Artistic License Price:
1002 downloads
Template::Plugin::ASCIITable 0.1

Template::Plugin::ASCIITable 0.1


Template::Plugin::ASCIITable is a Perl module that allows you to use Text::ASCIITable in your templates. more>>
Template::Plugin::ASCIITable is a Perl module that allows you to use Text::ASCIITable in your templates.

SYNOPSIS

[% USE ASCIITable %]
blah
[% ASCIITable.cols(a, b, c);
ASCIITable.rows([1,2,3],[one,two,three]);
ASCIITable.draw() %]

A plugin object will be instantiated with the directive:

[% USE ASCIITable %]

You can pass a number of parameters to the constructor, for example:

[% USE ASCIITable(cols => [a,b,c], show=>rowline) %]

See "Parameters" for details.

To obtain the table, you invoke the draw method, to which you can pass the same parameters:

[% ASCIITable.draw(rows=>[[1,2,3],[one,two,three]]) %]

METHODS

new

This is the plugin construtor. You should never call it directly: use the USE directive.

draw

This method invokes Text::ASCIITable to obtain the textual representation of the table, and returns it.

You can pass various parameters to it, see "Parameters".

<<less
Download (0.007MB)
Added: 2007-04-06 License: Perl Artistic License Price:
931 downloads
Template::Plugin::JavaSQL 0.4

Template::Plugin::JavaSQL 0.4


Template::Plugin::JavaSQL is a Perl module to help generate Java from database schemas. more>>
Template::Plugin::JavaSQL is a Perl module to help generate Java from database schemas.

SYNOPSES

Within an XML file processed by the Java plugin:
< sql:
query="select foo as f, bar as b from some_table"
>

or

< sql:
table="some_table"
>
Via a template such as:
[% USE Java %]
[% Use JavaSQL %]
...
String query =
"select [% JavaSQL.columnNames.join(", ") %] from [% JavaSQL.tables.join(", ") %]";
[% IF JavaSQL.where %]
query += " where [% JavaSQL.where %] ";
[% ELSE %]
query += " where 0=0 ";
[% END %]
[% FOREACH JavaSQL.columns %]
if (${varName}Set) { query += " and $name = ?"; }
[% END %]
[% IF JavaSQL.order %]
query += "order by [% JavaSQL.order %]";
[% END %]
stmt = myConnection.prepareStatement(query);

Just use the DBClass.template from the distribution for fully functional database classes.

In addition to methods that refer to parts of a SQL query, any columns resultant from the query or table will be added as java variables to the variables hash, with close-as-possible mapped types.

<<less
Download (0.018MB)
Added: 2006-11-01 License: Perl Artistic License Price:
1087 downloads
Template::Plugin::Heritable 0.02

Template::Plugin::Heritable 0.02


Template::Plugin::Heritable is a Perl module with OO dispatching and inheritance for templates. more>>
Template::Plugin::Heritable is a Perl module with OO dispatching and inheritance for templates.

SYNOPSIS

[% USE Heritable %]

[%# searches providers for a "view" template method on
class (which should be a metamodel object, eg
someobj.meta in Perl 6) %]
[% Heritable.include(class, "view", { self = object }) %]

[%# return list of paths it would look %]
[% paths = Heritable.dispatch_paths(class, "view") %]

[%# if you dont have the class of the object handy, then
use invoke instead %]
[% Heritable.invoke(object, "method", { self = object } %]

[%# call the next method in the inheritance tree from
inside a template method %]
[% next_template() %]

Template::Plugin::Heritable provides support for selecting an appropriate template based on the class of an object. It is also possible to call the next template in the inheritance heirarchy/chain.

This provides a form of inheritance for template display.

The core of this is the template dispatch mechanism, which deals in terms of a suitable metamodel class. The module currently deals in the following metamodels; but no doubt you could fool it with modules which encapsulate other metamodels (such as Perl 5, NEXT, Class::C3, DBIx::Class::Schema, etc) with minimal effort by conforming to one of their APIs.

<<less
Download (0.021MB)
Added: 2007-07-18 License: Perl Artistic License Price:
828 downloads
Template::Plugin::SSI 0.11

Template::Plugin::SSI 0.11


Template::Plugin::SSI is a plugin to use SSI in Template Toolkit (wrapper for CGI::SSI). more>>
Template::Plugin::SSI is a plugin to use SSI in Template Toolkit (wrapper for CGI::SSI).

SYNOPSIS

[% USE SSI %]

# virtual include of the file /foo/bar.inc.html
[% SSI.include(virtual, /foo/bar.inc.html) %]

# file include of the file /foo/bar.inc.html
[% SSI.include(file, /var/www/html/foo/bar.inc.html) %]

# execute a command
[% SSI.exec(cmd, ls) %]

# execute a cgi script
[% SSI.exec(cgi, /cgi-bin/foo.cgi) %]

# set a config variable (sizefmt, timefmt, or errmsg)
[% SSI.config(timefmt, "%Y") %]

# echo a set or environment variable
# Environment Variable Examples:
# DOCUMENT_URI - the URI of this document
# DOCUMENT_NAME - the name of the current document
# DATE_GMT - the same as gmtime
# DATE_LOCAL - the same as localtime
# FLASTMOD - the last time this script was modified
[% SSI.echo(DATE_LOCAL) %]

# set a local variable ($name = Corey)
[% SSI.set(name, Corey) %]

# print when index.html was last modified
[% SSI.flastmod(file, index.html) %]

# print the file size of index.html
[% SSI.fsize(file, index.html) %]

A Template Toolkit Plugin that provides an easy way to include Apaches SSI within a template. (acts as a wrapper to CGI::SSI)

The plugin can be loaded via the familiar USE directive.

[% USE SSI %]

This creates a plugin object with the name of SSI.

<<less
Download (0.003MB)
Added: 2007-04-04 License: GPL (GNU General Public License) Price:
934 downloads
Template::Plugin::ByDate 0.03

Template::Plugin::ByDate 0.03


Template::Plugin::ByDate is a Perl module that keeps/removes included text based on whether the current date is within range. more>>
Template::Plugin::ByDate is a Perl module that keeps/removes included text based on whether the current date is within range.

SYNOPSIS

[% USE ByDate %]

[% FILTER ByDate
starting = 2006-05-02
until = 2006-08-22 %]
This text only shows up from May 2, 2006 through August 22, 2006.
[% END %]

FUNCTIONS

init

filter

We accept one optional argument, the word "not". If specified, it will reverse the meaning of the filter: rather than keeping the text if the current date is between starting and until, ignore it. e.g.,

[% FILTER ByDate
starting = 2006-05-02
until = 2006-08-22 %]
This only shows up inside the date range
[% END %]
while
[% FILTER ByDate
not starting = 2006-05-02
until = 2006-08-22 %]
This only shows up outside the date range
[% END %]

The starting and until dates are actually parsed by Date::Parse. If you do not specify a time, the starting time is 00:00:00, while the until time is 23:59:59. This is done by checking the until stamp for a colon - if there is no colon, we add " 23:59:59" to the string before passing it into Date::Parse. If that doesnt work for you, please let me know what string youre using.

<<less
Download (0.004MB)
Added: 2007-04-13 License: Perl Artistic License Price:
924 downloads
Template::Plugin::HtmlToText 0.02

Template::Plugin::HtmlToText 0.02


Template::Plugin::HtmlToText is a plugin interface to HTML::FormatText. more>>
Template::Plugin::HtmlToText is a plugin interface to HTML::FormatText.

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

[% USE HtmlToText %]

# use html2text FILTER to var myhtml or myhtmltext
[% myhtml FILTER html2text(leftmargin => 0, rightmargin => 50) %]
[% myhtmltext | html2text %]

# not to a var, but to html code
[% FILTER html2text %]
heavy
[% END %]
[%# output is "heavy", no %]

This plugin provides an interface to the HTML::FormatText module which format HTML as plaintext.

<<less
Download (0.003MB)
Added: 2007-08-02 License: Perl Artistic License Price:
813 downloads
Template::Plugin::Pagination 0.90

Template::Plugin::Pagination 0.90


Template::Plugin::Pagination is a plugin to help paginate pages of results. more>>
Template::Plugin::Pagination is a plugin to help paginate pages of results.

SYNOPSIS

[% USE page = Pagination(items, current_page, entries_per_page) %]

[% FOREACH item IN page.page_data; ...; DONE %]

First page: [% page.first_page %]
Prev page: [% page.previous_page %]
Next page: [% page.next_page %]
Last page: [% page.last_page %]

This plugin helps you construct pages that include subsets of data from a list, such as search results which youll paginated in groups of 10.

Its based heavily on Template::Plugin::Page, which you should see for a detailed example of to use this. (That module is a thin wrapper around Data::Page, whereas this one is a wrapper around Data::Paginated, which is Data::Page + Data::Pageset + some extras).

<<less
Download (0.003MB)
Added: 2006-11-01 License: Perl Artistic License Price:
1089 downloads
Template::Plugin::JSON 0.02

Template::Plugin::JSON 0.02


Template::Plugin::JSON is a Perl module that adds a .json vmethod for all TT values. more>>
Template::Plugin::JSON is a Perl module that adds a .json vmethod for all TT values.

SYNOPSIS

[% USE JSON %];

< script type="text/javascript" >

var foo = [% foo.json %];

< /script >

This plugin provides a .json vmethod to all value types when loaded.

With no argument it will try to load JSON::Syck and then JSON::Converter. If used as [% USE JSON("Syck") %] or [% USE JSON("Converter") %] it will load that specific plugin.
If no plugin could be loaded an exception is thrown. Check for errors from "process" in Template.

<<less
Download (0.004MB)
Added: 2007-02-19 License: Perl Artistic License Price:
977 downloads
Template::Plugin::StickyQuery 0.02

Template::Plugin::StickyQuery 0.02


Template::Plugin::StickyQuery is a TT plugin for HTML::StickyQuery. more>>
Template::Plugin::StickyQuery is a TT plugin for HTML::StickyQuery.

SYNOPSIS

use Template;
use Apache;
use Apache::Request;

my $apr = Apache::Request->new(Apache->request); # or CGI.pm will do
my $template = Template->new( ... );
$template->process($filename, { apr => $apr });

# in your template
[% USE StickyQuery %]
[% FILTER stickyquery param => apr %]
[% END %]

Template::Plugin::StickyQuery is a plugin for TT, which allows you to make your HTML tag sticky using HTML::StickyQuery.

Special thanks to IKEBE Tomohiro.

<<less
Download (0.002MB)
Added: 2007-04-06 License: Perl Artistic License Price:
931 downloads
Template::Plugin::MP3::Tag 0.01

Template::Plugin::MP3::Tag 0.01


Template::Plugin::MP3::Tag is a Perl interface to the MP3::Tag Module. more>>
Template::Plugin::MP3::Tag is a Perl interface to the MP3::Tag Module.

SYNOPSIS

[% USE tag = MP3("path_to_mp3_file") %]

[% tag.title %]
[% tag.album %]

# perldoc MP3::Tag for more ideas

Template::Plugin::MP3::Tag provides a simple wrapper for using MP3::Tag in object oriented mode; see MP3::Tag for more details.

Although Template::Plugin::MP3 can fetch MP3 files, but it Supports only ID3v1. When you have to fetch MP3 files ID3v2, I recommend you to use this module.

<<less
Download (0.004MB)
Added: 2006-11-08 License: Perl Artistic License Price:
1082 downloads
Template::Plugin::Page 0.10

Template::Plugin::Page 0.10


Template::Plugin::Page is a plugin to help when paging through sets of results. more>> <<less
Download (0.003MB)
Added: 2006-11-01 License: Perl Artistic License Price:
1088 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5