06-25-2009
Is there any way to get the exact value which I enter in the textarea (in my HTML form) in shell script?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Using a HTML page , i'm running a Unix ksh script with <a href=..>.
The script contains loop like this :
for i in
do
rsh.....
done
each rsh command is running quite long and then i would display results in HTML format but about 5mn my blank page waiting for result is running in error... (1 Reply)
Discussion started by: Nicol
1 Replies
2. Shell Programming and Scripting
Hi all,
I've been assigned the task of modifying a script which reads in names of tables from a list file, exports a 30 days worth of data from these tables, then deletes the table. The list file will now contain a table name and a number next to it indicating how many days to archive. I need... (1 Reply)
Discussion started by: MadHatter
1 Replies
3. Shell Programming and Scripting
Hello,
I wonder whether if we have a open file dialog as (in gtk+) in html. I know that a submit-type form (such as <input value="Add File" type="submit">) opens such dialog, but it -naturally- tries to submit the file chosen. I only want to find out the file name, not upload it.
Thanks! (0 Replies)
Discussion started by: f33ldead
0 Replies
4. Shell Programming and Scripting
Hello,
I am using sed as follows -
sed 's/CONTACT SYSTEMS! Some payments have been rejected/<B><font color="red" size="5.0pt"CONTACT SYSTEMS! Some payments have been rejected</font></B>/' $REPORT_FILE
But while executing this, I am getting the error as -
sed: command garbled
&... (5 Replies)
Discussion started by: The Observer
5 Replies
5. UNIX for Advanced & Expert Users
Hi All,
I have written a script which sends mail using “sendmail” command and mail contains HTML code.
When I run scripts on terminal it is working properly, but when I try to run this script through a crontab file it sends blank mail with proper subject.
crontab file detail :
00 05... (1 Reply)
Discussion started by: abhishek.mind
1 Replies
6. Shell Programming and Scripting
Dear all.
I need to extract the title (text between <title> and </title>) of a set of HTML documents.
I've found a command that makes the work of extracting the text, but it does not always work.
It works with the next example:
cat a.txt
htmltext<title>This is a HTML... (2 Replies)
Discussion started by: i007
2 Replies
7. Shell Programming and Scripting
Hi
I have a successfullly run perl script (by issuing command "perl sub.pl" under shell mode) and this sub.pl will call sub.exp successfully. The sub.exp expect script is basically to login to a server and run some commands and put the output into a sub.txt file, it takes about 5 seconds to... (0 Replies)
Discussion started by: cxbest
0 Replies
8. Shell Programming and Scripting
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=border
--border
Content-Type: text/html
Content-Disposition: inline
<html><body><h2>This text should be displayed with html formatting</h2></body></html>
--border
Content-Type: text/plain
Content-Disposition: attachment
This text... (2 Replies)
Discussion started by: thulasidharan2k
2 Replies
9. Shell Programming and Scripting
Hi All,
I'm new to this forum. This is my first question. I'm trying to automate the status related information in our environment. So this is how the output would be.
SEGMENT SERVER PORT1 PORT2 PORT3 PORT4 PORT5
ACS acscsa01 up up up up up
All... (2 Replies)
Discussion started by: anand.aswini
2 Replies
10. Shell Programming and Scripting
Hi ,
I am not able figure out how to use expect tool to send input to this prompt of format
Searching for disks...done
selecting c0t3d0
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition... (3 Replies)
Discussion started by: chidori
3 Replies
LEARN ABOUT DEBIAN
html::wikiconverter::webapp
HTML::WikiConverter::WebApp(3pm) User Contributed Perl Documentation HTML::WikiConverter::WebApp(3pm)
NAME
HTML::WikiConverter::WebApp - Web interface to HTML::WikiConverter
SYNOPSIS
Inside the index.cgi instance script (which is included with this distribution):
#!/usr/bin/perl
use HTML::WikiConverter::WebApp;
my %config = (
template_path => '/path/to/web/templates',
);
HTML::WikiConverter::WebApp->new( PARAMS => \%config )->run;
DESCRIPTION
This module provides a CGI::Application interface to HTML::WikiConverter and all installed dialect modules.
Refer to the INSTALL file for installation instructions.
QUERY PARAMETERS
This application accepts a number of query parameters to control its behavior. The most basic is the run mode parameter, "m". This
application can be in one of two run modes: "new" or "convert". (These correspond to the "new_page()" and "output_page()" methods,
respectively.) "new" causes a new page to be displayed, while "convert" displays the results of html-to-wiki conversion.
Additional query parameters can be passed independent of run mode:
o source_type
One of "raw_html", "from_uri", or "sample_html".
o dialect
Any installed dialect, eg "MediaWiki".
o base_uri
Base URL to be used for converting relative links to absolute ones.
o wiki_uri
Template for wiki URLs. When scanning the HTML source, if a URL (as in an "a href" or "img src" attribute value) is found matching this
template, it will be treated to a link to a wiki article/image. Consult "ATTRIBUTES" in HTML::WikiConverter for more information.
Note that this is a bit less flexible than using the "wiki_uri" attribute directly in HTML::WikiConverter. That attribute allows
multiple templates, allows coderefs, and regexps, etc. This option only accepts a single scalar representing a very simple wiki URL
template.
o show_parsed_html
If enabled, an additional textarea containing the parsed HTML will be displayed.
o escape_entities
If enabled, unsafe HTML entities ("<", ">", and "&") will be encoded using HTML::Entities.
o format
One of "html" or "xml". Determines the type of output displayed by this application.
METHODS
setup
Sets up the app for CGI::Application.
new_page
Corresponds to the "new" run mode. Returns a blank form. If arguments are available on the CGI query string, these are used as default
values for the form fields.
output_page
Corresponds to the "convert" run mode. Same as "new_page()" but returns the wiki markup for the provided html as well.
load_template
Loads the specified HTML::Template template.
display_error
Error-catching method called by CGI::Application if a run mode fails for any reason. Displays a basic form with a styled error message up
top.
AUTHOR
David J. Iberri, "<diberri at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-html-wikiconverter at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter>. I will be notified, and then you'll automatically be notified of
progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc HTML::WikiConverter::WebApp
You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/HTML-WikiConverter-WebApp>
o CPAN Ratings
<http://cpanratings.perl.org/d/HTML-WikiConverter-WebApp>
o RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=HTML-WikiConverter-WebApp>
o Search CPAN
<http://search.cpan.org/dist/HTML-WikiConverter-WebApp>
COPYRIGHT & LICENSE
Copyright (c) David J. Iberri, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.0 2009-05-12 HTML::WikiConverter::WebApp(3pm)