Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhthorsen/plack-middleware-ssi
PSGI middleware for server side include content
https://github.com/jhthorsen/plack-middleware-ssi
Last synced: 27 days ago
JSON representation
PSGI middleware for server side include content
- Host: GitHub
- URL: https://github.com/jhthorsen/plack-middleware-ssi
- Owner: jhthorsen
- Created: 2011-06-07T19:37:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2016-03-16T07:24:41.000Z (almost 9 years ago)
- Last Synced: 2024-10-16T11:58:42.378Z (3 months ago)
- Language: Perl
- Homepage:
- Size: 38.1 KB
- Stars: 4
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Plack::Middleware::SSI - PSGI middleware for server side include contentVERSION
0.12DESCRIPTION
Will try to handle HTML with server side include directives as well as
doing what Plack::Middleware does for "regular files".SUPPORTED SSI DIRECTIVES
See ,
or
for more details.set
echo
config
exec
flastmod
fsize
include
SUPPORTED SSI VARIABLES
Standard variables
DATE_GMT, DATE_LOCAL, DOCUMENT_NAME, DOCUMENT_URI, LAST_MODIFIED and
QUERY_STRING_UNESCAPED.Extended by this module
Any variable defined in Plack $env will be avaiable in the SSI document.
Even so, it is not recommended to use any of those, since it may not be
compatible with Apache and friends.SYNOPSIS
$app = builder { enable 'SSI'; $app };See Plack::Middleware for more details.
METHODS
call
Returns a callback which can expand chunks of HTML with SSI directives
to a complete HTML document.COPYRIGHT & LICENSE
This library is free software. You can redistribute it and/or modify it
under the same terms as Perl itself.AUTHOR
Jan Henning Thorsen "jhthorsen at cpan.org"