stylesheet
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 86
Business::Associates::Stylesheet 1.00
Business::Associates::Stylesheet is a Perl information on the Associates XSLT stylesheets and how to modify the data processing. more>>
Business::Associates::Stylesheet is a Perl information on the Associates XSLT stylesheets and how to modify the data processing.
THE PROCESSING MODEL
Before we get going on the details, let us first remind ourselves on what we might call the processing model of the Associates package.
The first step is to retrieve the raw XML data from Amazon.com (or, technically, from the local cache if we already have it). This is structured data that describes the (currently) fifteen best-selling titles at Amazon.com for the selection criteria we have chosen. Those criteria can be keyword searches or a look-up of a specific category of product, and are typically chosen by the HTML editor or by the code that generates the HTML. The perl code provided by this package retrieves the XML.
The second step is to transform this raw XML into a format that the device responsible for the visual display can handle. In our case, that device is ultimately the web browser, so we need to transform the XML data into HTML or xhtml data. However, the same process model could be used to render the data in another format, say for inclusion to a postscript document. This data transformation is done used XSLT, a standard and a very powerful tool for transforming XML documents. This is the subject of this document.
The third step is the visual formatting of the data. At this stage we have the data in a format that the visual display device can understand, and we need to tell it of the details of the formatting. In out model and for HTML (or xhtml) output, that is done using traditional Cascading Style Sheets (CSS). That is the topic of a separate document and concerns us only so far as it reminds us that we need to be able to identify each element type in the output such that the CSS designer can say, for example, "lets have all book titles in red text". In HTML, this identification is done by defining class attributes.
<<lessTHE PROCESSING MODEL
Before we get going on the details, let us first remind ourselves on what we might call the processing model of the Associates package.
The first step is to retrieve the raw XML data from Amazon.com (or, technically, from the local cache if we already have it). This is structured data that describes the (currently) fifteen best-selling titles at Amazon.com for the selection criteria we have chosen. Those criteria can be keyword searches or a look-up of a specific category of product, and are typically chosen by the HTML editor or by the code that generates the HTML. The perl code provided by this package retrieves the XML.
The second step is to transform this raw XML into a format that the device responsible for the visual display can handle. In our case, that device is ultimately the web browser, so we need to transform the XML data into HTML or xhtml data. However, the same process model could be used to render the data in another format, say for inclusion to a postscript document. This data transformation is done used XSLT, a standard and a very powerful tool for transforming XML documents. This is the subject of this document.
The third step is the visual formatting of the data. At this stage we have the data in a format that the visual display device can understand, and we need to tell it of the details of the formatting. In out model and for HTML (or xhtml) output, that is done using traditional Cascading Style Sheets (CSS). That is the topic of a separate document and concerns us only so far as it reminds us that we need to be able to identify each element type in the output such that the CSS designer can say, for example, "lets have all book titles in red text". In HTML, this identification is done by defining class attributes.
Download (0.045MB)
Added: 2006-09-15 License: Perl Artistic License Price:
1134 downloads
AxKit::App::Gallery::stylesheets 0.5
AxKit::App::Gallery works by generating XML, and then passing the generated XML through a collection of stylesheets. more>>
AxKit::App::Gallery works by generating XML, and then passing the generated XML through a collection of stylesheets. The output of one stylesheet is passed on as input to the next. In this way, a pipeline of stylesheets if formed.
Some of the stylesheets are written in XSLT, some are written in XPathScript. This manual page provides a brief description of the stylesheets that are shipped with AxKit::App::Gallery, in the order in which they are supposed to run. For further details, see the comments in the stylesheets.
<<lessSome of the stylesheets are written in XSLT, some are written in XPathScript. This manual page provides a brief description of the stylesheets that are shipped with AxKit::App::Gallery, in the order in which they are supposed to run. For further details, see the comments in the stylesheets.
Download (0.026MB)
Added: 2006-10-13 License: Perl Artistic License Price:
1106 downloads
SimPlEdi
SimPlEdi is a webbased playlist (m3u) editor for mp3 files which are used in popular music players like Winamp or XMMS. more>>
SimPlEdi project is a webbased playlist (m3u) editor for mp3 files which are used in popular music players like Winamp or XMMS.
The filelocations are stored relative to the playlist location which makes it possible to use the generated lists on changing environments as mounted network drives or CDROMs.
Installation:
Make sure you have the MP3::Info perl module installed. If not do so:
# perl -MCPAN -e shell
cpan> install MP3::Info
Copy all files to a directory below your webserver root. Make sure your server executes CGIs from this directory.
Attention: This program is not intended to run on a public accessable webserver! It is not secure! You have been warned.
Configuration
Edit the config.pl file. All paths have to be given without trailing slashes. Specify where your mp3 collection is in $REALDIR. $WEBDIR is the path to your mp3s when accessed via http, $RELDIR is the relative path from the location of your playlists which is stored in $SAVEDIR. Note: The webserver have to be allowed to write in $SAVEDIR
SimPlEdi can edit ID3 tags of MP3 files. If you wish it can rename the filename, too. Set $RENAMEONTAG to 1 if you want that for default else set it to 0. You can define how a file should be named by set up the string in $MP3SYNTAX with the following placeholders:
%a Artist or Bandname
%t Songtitle
%d Album
%c Filecomment
%y Releaseyear
%n Track number
%g Genre
You may change the colorscheme by altering the style.css stylesheet.
Enhancements:
- Fixed the broken search function
<<lessThe filelocations are stored relative to the playlist location which makes it possible to use the generated lists on changing environments as mounted network drives or CDROMs.
Installation:
Make sure you have the MP3::Info perl module installed. If not do so:
# perl -MCPAN -e shell
cpan> install MP3::Info
Copy all files to a directory below your webserver root. Make sure your server executes CGIs from this directory.
Attention: This program is not intended to run on a public accessable webserver! It is not secure! You have been warned.
Configuration
Edit the config.pl file. All paths have to be given without trailing slashes. Specify where your mp3 collection is in $REALDIR. $WEBDIR is the path to your mp3s when accessed via http, $RELDIR is the relative path from the location of your playlists which is stored in $SAVEDIR. Note: The webserver have to be allowed to write in $SAVEDIR
SimPlEdi can edit ID3 tags of MP3 files. If you wish it can rename the filename, too. Set $RENAMEONTAG to 1 if you want that for default else set it to 0. You can define how a file should be named by set up the string in $MP3SYNTAX with the following placeholders:
%a Artist or Bandname
%t Songtitle
%d Album
%c Filecomment
%y Releaseyear
%n Track number
%g Genre
You may change the colorscheme by altering the style.css stylesheet.
Enhancements:
- Fixed the broken search function
Download (0.021MB)
Added: 2006-04-21 License: GPL (GNU General Public License) Price:
1281 downloads
Resource Registries 1.3.7
Resource Registries is a product for Plone used for linked style sheet files and javascripts. more>>
Resource Registries is a product for Plone used for linked style sheet files and javascripts.
A registry for linked Stylesheet files and Javascripts.
This registry is mainly aimed at solving the following usecases:
- Enable product authors to register stylesheets with their product installers without having to resort to override either header.pt or ploneCustom.css creating potential conflicts with other products.
- Enable more componentialization of the stylesheets provided with Plone (and other products) without having to increase the number of http requests for a Plone page.
- Enable condition checking on stylesheets. Great for variable look-and-feel for groups/roles/folders/departments/content-types/etc
- Enable inline dynamic stylesheets. For those style rules that should vary for each request. Mainly used for things like header-bar- backgroundimages, department colors etc.
- Enable developers to activate/deactivate their styles in a simpler way
- Enable compression to safe bandwidth and download time
Enhancements:
- Fixed encoding HTTP header for javascripts.
<<lessA registry for linked Stylesheet files and Javascripts.
This registry is mainly aimed at solving the following usecases:
- Enable product authors to register stylesheets with their product installers without having to resort to override either header.pt or ploneCustom.css creating potential conflicts with other products.
- Enable more componentialization of the stylesheets provided with Plone (and other products) without having to increase the number of http requests for a Plone page.
- Enable condition checking on stylesheets. Great for variable look-and-feel for groups/roles/folders/departments/content-types/etc
- Enable inline dynamic stylesheets. For those style rules that should vary for each request. Mainly used for things like header-bar- backgroundimages, department colors etc.
- Enable developers to activate/deactivate their styles in a simpler way
- Enable compression to safe bandwidth and download time
Enhancements:
- Fixed encoding HTTP header for javascripts.
Download (0.045MB)
Added: 2007-03-28 License: GPL (GNU General Public License) Price:
940 downloads
Save Complete 0.9b7
Save Complete is a Firefox extension that saves a webpage completely. more>>
Save Complete is a Firefox extension that saves a webpage completely, providing a better alternative to the flawed built-in save functionality of Firefox.
As more and more sites use CSS, Firefoxs built-in complete save becomes increasingly less effective, as it doesnt support stylesheets.
This extension fixes this, and saves the complete page, including all images and all stylesheets associated with the document, even imported stylesheets and images referenced in the stylesheet files.
<<lessAs more and more sites use CSS, Firefoxs built-in complete save becomes increasingly less effective, as it doesnt support stylesheets.
This extension fixes this, and saves the complete page, including all images and all stylesheets associated with the document, even imported stylesheets and images referenced in the stylesheet files.
Download (0.017MB)
Added: 2007-06-21 License: MPL (Mozilla Public License) Price:
946 downloads
todo2html 0.1
todo2html generates pretty HTML from a standard text TODO file. more>>
todo2html generates pretty HTML from a standard text TODO file. The formatting is configurable with style sheets, and there is an easy-to-read built-in style or a style-free option.
Main features:
- Add a given page title (using the < TITLE > tags in < HEAD >)
- Add a given heading (using < H1 >)
- Identify items that are completed and format them differently - all this requires is that finished items start with "DONE!"
- Strip the "DONE!" tags from completed items
- Remove completed items from the output
- Have different formatting for done and pending items at both item levels
- provide a key, showing formatting for done/pending items
- Create HTML with no extra style commands - looks like plain text
- Use an in-built, easy to understand style
- Take style information from a stylesheet and apply it (statically) to the output
- Given a stylesheet URL, style can be based on an external stylesheet - if you have a nice style that you use for the rest of your site, todo2html can use that, and when you change it, the HTMLized TODO file will change with it. For example, the stylesheet used for this page (here) has the extra information (the em.pendingl1, em.donel1, etc.) for creating matching TODO files. Its not even compulsory to use these extra em classes unless you want special formatting for TODO item headings.
- Anything that might cause problems for a HTML interpreter in the original TODO file are neutered - they still look the same in the output.
- Create either a full HTML page, or just the HTML which goes between the < BODY > and < /BODY > tags. Useful for generating on the fly.
<<lessMain features:
- Add a given page title (using the < TITLE > tags in < HEAD >)
- Add a given heading (using < H1 >)
- Identify items that are completed and format them differently - all this requires is that finished items start with "DONE!"
- Strip the "DONE!" tags from completed items
- Remove completed items from the output
- Have different formatting for done and pending items at both item levels
- provide a key, showing formatting for done/pending items
- Create HTML with no extra style commands - looks like plain text
- Use an in-built, easy to understand style
- Take style information from a stylesheet and apply it (statically) to the output
- Given a stylesheet URL, style can be based on an external stylesheet - if you have a nice style that you use for the rest of your site, todo2html can use that, and when you change it, the HTMLized TODO file will change with it. For example, the stylesheet used for this page (here) has the extra information (the em.pendingl1, em.donel1, etc.) for creating matching TODO files. Its not even compulsory to use these extra em classes unless you want special formatting for TODO item headings.
- Anything that might cause problems for a HTML interpreter in the original TODO file are neutered - they still look the same in the output.
- Create either a full HTML page, or just the HTML which goes between the < BODY > and < /BODY > tags. Useful for generating on the fly.
Download (0.003MB)
Added: 2006-07-14 License: GPL (GNU General Public License) Price:
1197 downloads
Andutteye Software Suite 2.3 (Themes)
Andutteye Software Suite is a systems management tool. more>>
Andutteye Software Suite is a systems management tool. Andutteye Software Suite has a modular design and every module targets different tasks of systems management.
Andutteye Software Suite will let you manage all aspects of the IT infrastructure, helping to ensure availability, monitor, tune, and optimize performance.
Andutteye Software Suite will make it easier to support and maintain your entire enterprise as a single entity from a central point of operation.
The webinterface has oustanding features like:
- css stylesheet and theme support
- Language support
- Support and complete integration for monitoring, management and change module
- Role based access control to aes objects
- Centralized configuration administration for monitoring and management
- Tweak and present aes gathered data with graphs or reports
- Rss syndication support
<<lessAndutteye Software Suite will let you manage all aspects of the IT infrastructure, helping to ensure availability, monitor, tune, and optimize performance.
Andutteye Software Suite will make it easier to support and maintain your entire enterprise as a single entity from a central point of operation.
The webinterface has oustanding features like:
- css stylesheet and theme support
- Language support
- Support and complete integration for monitoring, management and change module
- Role based access control to aes objects
- Centralized configuration administration for monitoring and management
- Tweak and present aes gathered data with graphs or reports
- Rss syndication support
Download (0.20MB)
Added: 2006-10-19 License: GPL (GNU General Public License) Price:
1100 downloads
Other version of Andutteye Software Suite
License:GPL (GNU General Public License)
License:GPL (GNU General Public License)
License:GPL (GNU General Public License)
License:GPL (GNU General Public License)
License:GPL (GNU General Public License)
License:GPL (GNU General Public License)
mod-xslt 1.3.8
mod-xslt is an Apache module that converts XML files into HTML files using XSLT stylesheets. more>>
mod-xslt is an Apache module that converts XML files into HTML files using XSLT stylesheets. It was written to overcome most of the limits of similar modules and uses a standard API, which could easily be used for other applications or to support more servers.
It is able to parse dynamically generated documents, both in POST and GET requests, includes a fully featured language to choose the stylesheet to load from both configuration files and from .xml files, and allows stylesheets to access server variables. It supports redirects, dynamically generated stylesheets, and both Apache 1 and 2.
Enhancements:
- configure, configure.ac - updated automatically by release scripts, in order to prepare a snapshot.
<<lessIt is able to parse dynamically generated documents, both in POST and GET requests, includes a fully featured language to choose the stylesheet to load from both configuration files and from .xml files, and allows stylesheets to access server variables. It supports redirects, dynamically generated stylesheets, and both Apache 1 and 2.
Enhancements:
- configure, configure.ac - updated automatically by release scripts, in order to prepare a snapshot.
Download (1.7MB)
Added: 2005-08-23 License: GPL (GNU General Public License) Price:
1525 downloads
iCal::Parser::HTML 1.06
iCal::Parser::HTML is a Perl module to generate HTML calendars from iCalendars. more>>
iCal::Parser::HTML is a Perl module to generate HTML calendars from iCalendars.
SYNOPSIS
use iCal::Parser::HTML;
my $parser=iCal::Parser::HTML->new;
print $parser->parse(type=>$type,start=>$date,files=>[@icals]);
This module uses iCal::Parser::SAX and XML::LibXSLT with included stylesheets to generates html calendars from icalendars.
The html document generated includes (when appropriate) a sidebar containing a legend, a list of todos and a three month calendar for the previous, current and next months.
The stylesheets are stored in the HTML/stylesheet directory under the installed package directory.
Also included in this package are an optionally installed command line program "ical2html" in scripts and, in the example directory, a cgi handler ("ical.cgi" in examples) and a stylesheet ("calendar.css" in examples) for formatting the html output. Note that the html output will look quite broken without the stylesheet.
<<lessSYNOPSIS
use iCal::Parser::HTML;
my $parser=iCal::Parser::HTML->new;
print $parser->parse(type=>$type,start=>$date,files=>[@icals]);
This module uses iCal::Parser::SAX and XML::LibXSLT with included stylesheets to generates html calendars from icalendars.
The html document generated includes (when appropriate) a sidebar containing a legend, a list of todos and a three month calendar for the previous, current and next months.
The stylesheets are stored in the HTML/stylesheet directory under the installed package directory.
Also included in this package are an optionally installed command line program "ical2html" in scripts and, in the example directory, a cgi handler ("ical.cgi" in examples) and a stylesheet ("calendar.css" in examples) for formatting the html output. Note that the html output will look quite broken without the stylesheet.
Download (0.049MB)
Added: 2007-04-07 License: Perl Artistic License Price:
930 downloads
Template::Plugin::XML::Style 2.17
Template::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations. more>>
Template::Plugin::XML::Style is a Perl module for simple XML stylesheet transformations.
SYNOPSIS
[% USE xmlstyle
table = {
attributes = {
border = 0
cellpadding = 4
cellspacing = 1
}
}
%]
[% FILTER xmlstyle %]
< table >
< tr >
< td >Foo< /td > < td >Bar< /td > < td >Baz< /td >
< /tr >
< /table >
[% END %]
This plugin defines a filter for performing simple stylesheet based transformations of XML text.
Named parameters are used to define those XML elements which require transformation. These may be specified with the USE directive when the plugin is loaded and/or with the FILTER directive when the plugin is used.
<<lessSYNOPSIS
[% USE xmlstyle
table = {
attributes = {
border = 0
cellpadding = 4
cellspacing = 1
}
}
%]
[% FILTER xmlstyle %]
< table >
< tr >
< td >Foo< /td > < td >Bar< /td > < td >Baz< /td >
< /tr >
< /table >
[% END %]
This plugin defines a filter for performing simple stylesheet based transformations of XML text.
Named parameters are used to define those XML elements which require transformation. These may be specified with the USE directive when the plugin is loaded and/or with the FILTER directive when the plugin is used.
Download (0.026MB)
Added: 2007-08-06 License: Perl Artistic License Price:
809 downloads
f2w helpdesk 1.6
f2w helpdesk is helpdesk and knowledge base using a Zope front-end and PostgreSQL back-end. more>>
f2w helpdesk its a helpdesk support system based on requests (some people call them tickets), with a simple web interface. Requests can be classified into categories and assigned a priority.
Categories are associated with specific well-defined problem areas, and f2w helpdesk provides a way to maintain an expert knowledge base of problems and solutions based on request categories.
This is not the place to look for a system that will help you track every minute of your support technicians time. The emphasis is on quickly identifying problems, assigning them to the best person for the job, and helping that person keep track of what needs to be done.
Main features:
- Zope front-end (for rapid development, easy maintenance)
- Your choice of relational DB back-end (whatever Zope supports).
- Semi-intelligent search of contacts from a partial name.
- Expert-system-like question/answer to categorise requests.
- Flexible priority scheme.
- Assignment of requests to individuals or teams.
- E-mail notification sent to person to whom request is assigned.
- Keep working notes on each request, can delete empty notes now.
- Maintain knowledge base about each kind of problem.
- Attach properties (named general-purpose data fields) to categories, so fields for entering them will appear on requests of that category. These can now be checkboxes or selection lists as well as plain text fields.
- Reporting by category, assignee, team, originator, property etc.
- E-mail notification to originator of request.
- User preference for stylesheet.
- User can set an "away until" date, so an operator assigning the requests can know who is available.
- Limited localisation of strings (using a folder of translations for each language - "de", "en", "es", "fr", "hu", "it" and "pl" written so far)
- Request search by various criteria.
- Extract of requests in CSV format, for spreadsheet use.
- Restricted access for non-team members.
<<lessCategories are associated with specific well-defined problem areas, and f2w helpdesk provides a way to maintain an expert knowledge base of problems and solutions based on request categories.
This is not the place to look for a system that will help you track every minute of your support technicians time. The emphasis is on quickly identifying problems, assigning them to the best person for the job, and helping that person keep track of what needs to be done.
Main features:
- Zope front-end (for rapid development, easy maintenance)
- Your choice of relational DB back-end (whatever Zope supports).
- Semi-intelligent search of contacts from a partial name.
- Expert-system-like question/answer to categorise requests.
- Flexible priority scheme.
- Assignment of requests to individuals or teams.
- E-mail notification sent to person to whom request is assigned.
- Keep working notes on each request, can delete empty notes now.
- Maintain knowledge base about each kind of problem.
- Attach properties (named general-purpose data fields) to categories, so fields for entering them will appear on requests of that category. These can now be checkboxes or selection lists as well as plain text fields.
- Reporting by category, assignee, team, originator, property etc.
- E-mail notification to originator of request.
- User preference for stylesheet.
- User can set an "away until" date, so an operator assigning the requests can know who is available.
- Limited localisation of strings (using a folder of translations for each language - "de", "en", "es", "fr", "hu", "it" and "pl" written so far)
- Request search by various criteria.
- Extract of requests in CSV format, for spreadsheet use.
- Restricted access for non-team members.
Download (0.10MB)
Added: 2005-04-20 License: GPL (GNU General Public License) Price:
1649 downloads
XML::Parser::EasyTree 0.01
XML::Parser::EasyTree is an easier tree style for XML::Parser. more>>
XML::Parser::EasyTree is an easier tree style for XML::Parser.
SYNOPSIS
use XML::Parser;
use XML::Parser::EasyTree;
$XML::Parser::Easytree::Noempty=1;
my $p=new XML::Parser(Style=>EasyTree);
my $tree=$p->parsefile(something.xml);
XML::Parser::EasyTree adds a new "built-in" style called "EasyTree" to XML::Parser. Like XML::Parsers "Tree" style, setting this style causes the parser to build a lightweight tree structure representing the XML document. This structure is, at least in this authors opinion, easier to work with than the one created by the built-in style.
When the parser is invoked with the EasyTree style, it returns a reference to an array of tree nodes, each of which is a hash reference.
All nodes have a type key whose value is the type of the node: e for element nodes, t for text nodes, and p for processing instruction nodes. All nodes also have a content key whose value is a reference to an array holding the elements child nodes for element nodes, the string value for text nodes, and the data value for processing instruction nodes. Element nodes also have an attrib key whose value is a reference to a hash of attribute names and values. Processing instructions also have a target key whose value is the PIs target.
EasyTree nodes are ordinary Perl hashes and are not objects. Contiguous runs of text are always returned in a single node.
The reason the parser returns an array reference rather than the root elements node is that an XML document can legally contain processing instructions outside the root element (the xml-stylesheet PI is commonly used this way).
If the parsers Namespaces option is set, element and attribute names will be prefixed with their (possibly empty) namespace URI enclosed in curly brackets.
<<lessSYNOPSIS
use XML::Parser;
use XML::Parser::EasyTree;
$XML::Parser::Easytree::Noempty=1;
my $p=new XML::Parser(Style=>EasyTree);
my $tree=$p->parsefile(something.xml);
XML::Parser::EasyTree adds a new "built-in" style called "EasyTree" to XML::Parser. Like XML::Parsers "Tree" style, setting this style causes the parser to build a lightweight tree structure representing the XML document. This structure is, at least in this authors opinion, easier to work with than the one created by the built-in style.
When the parser is invoked with the EasyTree style, it returns a reference to an array of tree nodes, each of which is a hash reference.
All nodes have a type key whose value is the type of the node: e for element nodes, t for text nodes, and p for processing instruction nodes. All nodes also have a content key whose value is a reference to an array holding the elements child nodes for element nodes, the string value for text nodes, and the data value for processing instruction nodes. Element nodes also have an attrib key whose value is a reference to a hash of attribute names and values. Processing instructions also have a target key whose value is the PIs target.
EasyTree nodes are ordinary Perl hashes and are not objects. Contiguous runs of text are always returned in a single node.
The reason the parser returns an array reference rather than the root elements node is that an XML document can legally contain processing instructions outside the root element (the xml-stylesheet PI is commonly used this way).
If the parsers Namespaces option is set, element and attribute names will be prefixed with their (possibly empty) namespace URI enclosed in curly brackets.
Download (0.003MB)
Added: 2006-06-14 License: Perl Artistic License Price:
1228 downloads
st 0.22.1
st software is a simple XSL-stylesheet for converting some texts into PDF-files. more>>
st software is a simple XSL-stylesheet for converting some texts into PDF-files. It tooks a structured XML-file as input and produces with the help of a Formatting Objects Processor a PDF-file.
The st-stylesheet tries to support the most common used elements of modern text formatting.
Enhancements:
- This version implements some interactive elements for PDF files: Internet links can now be added to a document and PDF bookmarks are built when the tag "bookmarks" is set in the header of the document.
- Images can now have a width attribute: the image will be scaled proportional to that value.
<<lessThe st-stylesheet tries to support the most common used elements of modern text formatting.
Enhancements:
- This version implements some interactive elements for PDF files: Internet links can now be added to a document and PDF bookmarks are built when the tag "bookmarks" is set in the header of the document.
- Images can now have a width attribute: the image will be scaled proportional to that value.
Download (0.006MB)
Added: 2007-06-20 License: GPL (GNU General Public License) Price:
856 downloads
text-vimcolor 0.11
text-vimcolor is a command-line program to syntax color a file in HTML, XML or PDF. more>>
text-vimcolor is a command-line program to syntax color a file in HTML, XML or PDF.
SYNOPSIS
$ text-vimcolor --format html --full-page FILENAME > OUTPUT.html
$ text-vimcolor --format xml FILENAME > OUTPUT.xml
$ text-vimcolor --format pdf FILENAME --output OUTPUT.pdf
This program uses the Vim text editor to highlight text according to its syntax, and turn the highlighting into HTML, XML or PDF output. It works with any file type which Vim itself can highlight. Usually Vim will be able to autodetect the file format based on the filename (and sometimes the contents of the file).
Exactly one filename should be given on the command line to name the input file. If none is given input will instead be read from stdin (the standard input).
If Vim cant guess the file type automatically, it can be specified explicitly using the --filetype option. For example:
$ text-vimcolor --format html --filetype prolog foo.pl > foo.html
This program is a command line interface to the Perl module Text::VimColor.
OPTIONS
The following options are understood:
--help
Show a summary of the usage, including a list of options.
--debug
Turns on debugging in the underlying Perl module. This makes it print the command used to run Vim.
--filetype file-type
Set the type of the file explicitly. The file-type argument should be something which Vim will recognise when set with its filetype option. Examples are perl, cpp (for C++) and sh (for Unix shell scripts). These names are case sensitive, and should usually be all-lowercase.
--format output-format
The output format to generate. Must be one of the following:
html
Generate XHTML output, with text marked with elements with class attributes. A CSS stylesheet should be used to define the coloring, etc., for the output. See the --full-page option below.
xml
Output is in a simple XML vocabulary. This can then be used by other software to do further transformations (e.g., using XSLT).
pdf
XML output is generated and fed to the FOP XSL-FO processor, with an appropriate XSL style sheet. The stylesheet uses XSLT to transform the normal XML output into XSL-FO, which is then rendered to PDF. For this to work, the command fop must be available. An output file must be specified with --output with this format.
Full details of the HTML and XML output formats can be found in the documentation for Text::VimColor.
--output output-filename
Specifies the name of the output file (which will end up containing either HTML, XML or PDF). If this option is omitted, the output will be sent to stdout (the standard output). This option is required when the output format is PDF (because of limitations in FOP).
--full-page
When the output format is HTML, this option will make the output a complete HTML page, rather than just a fragment of HTML. A CSS stylesheet will be inserted inline into the output, so the output will be useable as it is.
--no-inline-stylesheet
When the output format is HTML and --fullpage is given, a stylesheet is normally inserted in-line in the output file. If this option is given it will instead be referenced with a element.
--let name=value
When Vim is run the value of name will be set to value using Vims let command. More than one of these options can be set. The value is not quoted or escaped in any way, so it can be an expression. These settings take precedence over --unlet options.
This option corresponds to the vim_let setting and method in the Perl module.
--unlet name
Prevent the value of name being set with Vims let command. This can be used to turn off default settings.
This option corresponds to the vim_let setting and method in the Perl module, when used with a value of undef.
<<lessSYNOPSIS
$ text-vimcolor --format html --full-page FILENAME > OUTPUT.html
$ text-vimcolor --format xml FILENAME > OUTPUT.xml
$ text-vimcolor --format pdf FILENAME --output OUTPUT.pdf
This program uses the Vim text editor to highlight text according to its syntax, and turn the highlighting into HTML, XML or PDF output. It works with any file type which Vim itself can highlight. Usually Vim will be able to autodetect the file format based on the filename (and sometimes the contents of the file).
Exactly one filename should be given on the command line to name the input file. If none is given input will instead be read from stdin (the standard input).
If Vim cant guess the file type automatically, it can be specified explicitly using the --filetype option. For example:
$ text-vimcolor --format html --filetype prolog foo.pl > foo.html
This program is a command line interface to the Perl module Text::VimColor.
OPTIONS
The following options are understood:
--help
Show a summary of the usage, including a list of options.
--debug
Turns on debugging in the underlying Perl module. This makes it print the command used to run Vim.
--filetype file-type
Set the type of the file explicitly. The file-type argument should be something which Vim will recognise when set with its filetype option. Examples are perl, cpp (for C++) and sh (for Unix shell scripts). These names are case sensitive, and should usually be all-lowercase.
--format output-format
The output format to generate. Must be one of the following:
html
Generate XHTML output, with text marked with elements with class attributes. A CSS stylesheet should be used to define the coloring, etc., for the output. See the --full-page option below.
xml
Output is in a simple XML vocabulary. This can then be used by other software to do further transformations (e.g., using XSLT).
XML output is generated and fed to the FOP XSL-FO processor, with an appropriate XSL style sheet. The stylesheet uses XSLT to transform the normal XML output into XSL-FO, which is then rendered to PDF. For this to work, the command fop must be available. An output file must be specified with --output with this format.
Full details of the HTML and XML output formats can be found in the documentation for Text::VimColor.
--output output-filename
Specifies the name of the output file (which will end up containing either HTML, XML or PDF). If this option is omitted, the output will be sent to stdout (the standard output). This option is required when the output format is PDF (because of limitations in FOP).
--full-page
When the output format is HTML, this option will make the output a complete HTML page, rather than just a fragment of HTML. A CSS stylesheet will be inserted inline into the output, so the output will be useable as it is.
--no-inline-stylesheet
When the output format is HTML and --fullpage is given, a stylesheet is normally inserted in-line in the output file. If this option is given it will instead be referenced with a element.
--let name=value
When Vim is run the value of name will be set to value using Vims let command. More than one of these options can be set. The value is not quoted or escaped in any way, so it can be an expression. These settings take precedence over --unlet options.
This option corresponds to the vim_let setting and method in the Perl module.
--unlet name
Prevent the value of name being set with Vims let command. This can be used to turn off default settings.
This option corresponds to the vim_let setting and method in the Perl module, when used with a value of undef.
Download (0.020MB)
Added: 2007-05-31 License: Perl Artistic License Price:
876 downloads
Posy::Plugin::DynamicCss 0.42
Posy::Plugin::DynamicCss is a posy plugin to load different CSS styles based on the UserAgent. more>>
Posy::Plugin::DynamicCss is a posy plugin to load different CSS styles based on the UserAgent.
SYNOPSIS
@plugins = qw(Posy::Core
Posy::Plugin::YamlConfig
...
Posy::Plugin::DynamicCss
...
));
@actions = qw(init_params
...
head_template
dynamic_css_set
head_render
...
);
This plugin enables Posy users to load different CSS stylesheets based on the UserAgent.
There is one variable filled in by this plugin that can be used within your flavour files. The $flow_dynamic_css_line variable contains the stylesheet link metatag for the currently selected (browser-specific) CSS file. This variable must be inserted into your head flavour file.
<<lessSYNOPSIS
@plugins = qw(Posy::Core
Posy::Plugin::YamlConfig
...
Posy::Plugin::DynamicCss
...
));
@actions = qw(init_params
...
head_template
dynamic_css_set
head_render
...
);
This plugin enables Posy users to load different CSS stylesheets based on the UserAgent.
There is one variable filled in by this plugin that can be used within your flavour files. The $flow_dynamic_css_line variable contains the stylesheet link metatag for the currently selected (browser-specific) CSS file. This variable must be inserted into your head flavour file.
Download (0.005MB)
Added: 2007-03-01 License: Perl Artistic License Price:
967 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above stylesheet search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed