Hi !!
I have HTML Tables through which i want to generate graphs, but for creating graphs i need the file in CSV format so can anyone can please help me in how can i convert my HTML table file to CSV format.
Thanks in Advance (2 Replies)
Hello All,
I have a perl script that prints a HMTL table. I want to convert this data into a report and this want to export this information into Excel. How can I do this?
Regards,
garric (3 Replies)
Hi All,
I have an html table which looks like this:
<table align="center" border="1">
<CAPTION><EM>Heading for Table</EM></CAPTION>
<tr><td><b>1</b></TD><TD><b>2</b></TD><TD><b>3</b></TD><TD><b>4</b></TD><TD><b>TOTAL</b></TD><TD><b>DATE</b></td></tr>
<tr><td>88088283</TD> <TD>87613101</TD>... (1 Reply)
I have a short time to solve a problem, so I need some help. I've searched the forum, but I couldn't find a solution to my problem.
I made a script to filter some text and now I have a new requirement to make it available as html table. Problem is that I more than one files with different set... (2 Replies)
Hi all,
I have a html that contains several tables in it. Need to extract the data from one of them named "orderList". Is it any easy way without using loops.
Thanks (4 Replies)
Hello everyone! i I'm trying to write a script that can filter data in a text file.
the source file looks like this
the result file should look like this
As you can see mostly i need to delete fields like _219402757693 and date - time 12.07.2012 8:49:06
i know that it's possible to... (0 Replies)
I want to extract a table from an HTML file. the table starts with
<table class="tableinfo"
and ends with next closing table tag
</table>
how can I do this with awk/sed...
---------- Post updated at 04:34 PM ---------- Previous update was at 04:28 PM ----------
also I want to... (4 Replies)
please help solving the following. I have access to redhat linux cluster having 32gigs of ram.
I have duplicate ids for variable names, in the file 1,2 are duplicates;3,4 and 5 are duplicates;6 and 7 are duplicates. My objective is to use only the first occurrence of these duplicates.
Lookup... (4 Replies)
HI ,
I have a HTML tables as below.
It has 2 tables ,I want to extract the second table .
Please help me in doing it.
<html>
<body>
<b><br>Running Date: </b>11-JAN-2019 03:07</br>
<h2> Schema mapping and info </h2>
<BR><TABLE width="100%" class="x1h" cellpadding="1"... (3 Replies)
Discussion started by: deepti01
3 Replies
LEARN ABOUT DEBIAN
javascript::minifier::xs
JavaScript::Minifier::XS(3pm) User Contributed Perl Documentation JavaScript::Minifier::XS(3pm)NAME
JavaScript::Minifier::XS - XS based JavaScript minifier
SYNOPSIS
use JavaScript::Minifier::XS qw(minify);
$minified = minify($js);
DESCRIPTION
"JavaScript::Minifier::XS" is a JavaScript "minifier"; its designed to remove un-necessary whitespace and comments from JavaScript files,
which also not breaking the JavaScript.
"JavaScript::Minifier::XS" is similar in function to "JavaScript::Minifier", but is substantially faster as its written in XS and not just
pure Perl.
METHODS
minify($js)
Minifies the given $js, returning the minified JavaScript back to the caller.
HOW IT WORKS
"JavaScript::Minifier::XS" minifies the JavaScript by removing un-necessary whitespace from JavaScript documents. Comments (both block and
line) are also removed, except when (a) they contain the word "copyright" in them, or (b) they're needed to implement "IE Conditional
Compilation".
Internally, the minification process is done by taking multiple passes through the JavaScript document:
Pass 1: Tokenize
First, we go through and parse the JavaScript document into a series of tokens internally. The tokenizing process does not check to make
sure you've got syntactically valid JavaScript, it just breaks up the text into a stream of tokens suitable for processing by the
subsequent stages.
Pass 2: Collapse
We then march through the token list and collapse certain tokens down to their smallest possible representation. If they're still included
in the final results we only want to include them at their shortest.
Whitespace
Runs of multiple whitespace characters are reduced down to a single whitespace character. If the whitespace contains any "end of line"
(EOL) characters, then the end result is the first EOL character encountered. Otherwise, the result is the first whitespace character
in the run.
Pass 3: Pruning
We then go back through the token list and prune and remove un-necessary tokens.
Whitespace
Wherever possible, whitespace is removed; before+after comment blocks, and before+after various symbols/sigils.
Comments
Comments that are either (a) IE conditional compilation comments, or that (b) contain the word "copyright" in them are preserved. All
other comments (line and block) are removed.
Everything else
We keep everything else; identifiers, quoted literal strings, symbols/sigils, etc.
Pass 4: Re-assembly
Lastly, we go back through the token list and re-assemble it all back into a single JavaScript string, which is then returned back to the
caller.
AUTHOR
Graham TerMarsch (cpan@howlingfrog.com)
REPORTING BUGS
Please report bugs via RT (<http://rt.cpan.org/Dist/Display.html?Queue=JavaScript::Minifier::XS>), and be sure to include the JavaScript
that you're having troubles minifying.
COPYRIGHT
Copyright (C) 2007-2008, Graham TerMarsch. All Rights Reserved.
This is free software; you can redistribute it and/or modify it under the same license as Perl itself.
SEE ALSO
"JavaScript::Minifier".
perl v5.14.2 2011-11-15 JavaScript::Minifier::XS(3pm)