Programming :: Perl Script To View Normal Html Page

Mar 29, 2010

Can anyone please help me write a perl script to view normal html page.

View 5 Replies


ADVERTISEMENT

Programming :: Talented Coder To Program Bash / Perl App That Plays SWF On HTML Page?

Feb 10, 2011

Everyone knows that it is like impossible to use mplayer to watch an *.html file. OK.

For instance here is a cool example of lot of streaming for firefox
http://watchtvlivestreaming.com/tvlive/b5499

Code...

Anyone is there a talented bright coder, coming from hell -because it is really difficult, to make such console program ?

View 1 Replies View Related

Programming :: Cutting An Html File Apart - Perl - Sed - Awk?

Apr 13, 2010

I have an html file like this

HTML Code:

Some more HTML code... I would like to cut the above text so i get this: Sometext on multiple lines like this.Sometext on multiple lines like this.Sometext on multiple lines like this. Sometext on multiple lines like this.Sometext on multiple lines like this.

There are other HTML files with similar cuts I need to do, but once I have the method for doing one, I am sure I can do the others.

I think the two logical strings to cut between would be:

I am not sure if these strings are always the start and end of the line respectively, is this makes a lot of difference! Then the HTML tags would need to be stripped to get the text on its own.

I know the commands for removing tags, but searching for a string like class="IOSSectionTitle", and cutting everything before it etc is something I am finding challenging.

Just thought I would add that the HTML does not nec. appear on logical new lines throughout the file and there may be unexpected new lines, but as far as i know the class="IOSSectionTitle" and <img always appears as a string without any new lines between those characters.

View 4 Replies View Related

Programming :: Perl Regex Matching HTML?

Mar 19, 2010

I'm trying to find out how to extract the string between the 2 <title> tags: <title>this is what i want</title>.I found lots of results but nothing I've tried works.. EG:$page =~ m/<title>($.)</title>/gism;

View 2 Replies View Related

Programming :: Php Not Running In Html Page?

May 22, 2010

I have an HTML page that I want to run some PHP code. I found several "How tos" about this but I can't get it to work. The code is very simple:

Code:

cat test.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

[code]...

View 14 Replies View Related

Programming :: Eclipse Run Configuration For An HTML Page?

Aug 14, 2010

How can I create a Run Configuration for html page with no http server (e.g. Tomcat)? I want to debug javascript so I need not a server.

View 2 Replies View Related

Programming :: Resizing An HTML Entrance Page?

Jan 2, 2010

I have created a website for a guy with an entrance page. I have written the entire site in PHP excluding the entrance page which is in HTML. The entrance page is literally just an image they drew up and I placed a link in. The problem is that the image is HUGE. I would like to know if there is any way (use JS, PHP, CSS, or whatever) to make this image either auto fit the screen/window or at least auto fit in a range of resolutions? Because if you have a small monitor then you wouldn't even see the actual graphic, just the border.

View 10 Replies View Related

Programming :: How Proxy Server Get Html Page From Internet

Jun 15, 2010

im making client(browser) and proxy server application in linux and using c/c++....can any one guide me that how proxy server get page from internet and send it to the client (browser)?and how that page will be displayed on my browser??meanz that will be only text...if text then how i can display graphical page....

View 3 Replies View Related

Programming :: Passing Parameters From Cgi Script To Html Page?

Jan 17, 2010

I have the following problem. I have my script /usr/lib/cgi-bin/login.cgiand two page in /var/www, home.html and welcome.html.When I log in /var/www/home.html with email and password, then login.cgi to extract exact user informations from mysql. Now I'd like start welcome.html page from login.cgi and passing user informations trought parameters

View 4 Replies View Related

Programming :: Creating A Page With Cgi Script In Perl?

Jan 2, 2010

I have a problem to creating a page with cgi script in perl. I have my registration.html page and registration.cgi script. The form in registration.html is the following:

Quote:

<form action="./registration.cgi" method="get">
<fieldset>
<legend><b>Fill up cells to creating your account</b></legend><br/>
<label>Name: <input type="text" name="name"></label><br/><br/>
<label>Email: <input type="text" name="email1"></label><br/><br/>
<label>Re-enter email: <input type="text" name="email2"></label>

[Code]...

View 53 Replies View Related

Ubuntu :: Build Index.html Into A Full Html Page

Mar 9, 2010

I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?

View 9 Replies View Related

Software :: Html And Php Editor That Supports Both The Design View And Code View As Like In Dreamviewer?

May 30, 2011

I have been working in macromedia dreamviewer for editing html and php files, Just now I moved to linux system by installing xampp , my question is that I need a best html and php editor that supports both the design view and code view as like in dreamviewer.

View 7 Replies View Related

Fedora Servers :: Copied The Web Page Files To Its Document Root <var/www/html> & Disabled The Default Web Page?

Jun 8, 2009

I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation

View 2 Replies View Related

Programming :: Perl - Can't Use String ("html") As An ARRAY Ref While "strict Refs"?

Aug 8, 2009

The below snippet works fine until I use strict. Then it dies with the following error: uote:Can't use string ("html") as an ARRAY ref while "strict refs" in use at ./filetest3 line 18.I want to create @lists based on the $scalars in @type. However, "my @$ext = ()"; and push (@$ext, @files); do not play nice with strict. How do I get around this?Quote:

#!/usr/bin/perl -w
system clear;
use strict;

[code]...

View 9 Replies View Related

Programming :: Client Side To Include HTML Within HTML?

Sep 12, 2009

what is the best way (i.e standard way that is supported on all browsers and probably as well followed by web crawlers).... to include an html file either locally or externally in another ? Of course , i've done the research and i also know that there are server side includes (php , asp ...you name it) at the moment , i'm using this:

Quote:

<script type="text/javascript" src="path to file/include-file.js"> </script>

however, i've been warned that this method may not show up in some browsers as some tend to ignore this tag and that crawlers like your favorite search engine wouldn't bother reading this. so , what is the best and safest way to do the job? and btw , the reason why i've ousted SSI's from the start is because of among other things:

1) the fact that the included file is static html and because the text is included pretty much everywhere

2) hoping to reduce load time as the code (if successfully recognized) would hopefully be treated like any other embedded external file (e.x like an image) , therefore it would be cached without the need to downloaded it over and over again for each new page on the site.

View 1 Replies View Related

Ubuntu :: How To View The HTML Files

Aug 7, 2010

I just downloaded libgtk2.0-doc at the gtkmm docs to help me with some programming. I've found where the libgtk2.0 documents are (/usr/share/gtk-doc/html) and I'm not for sure where the gtkmm docs are.

My question is: what is an easy way to view all of these HTML files? I know on Ruby you can run gem-server and you can see all of your RDocs from localhost on your browser. Is there an equivalent to that on Ubuntu for gtk-doc?

View 4 Replies View Related

Ubuntu :: Split - View Html Editor?

Jul 21, 2010

What's a good split-view html/css editor for ubuntu? I'd like the option to have both design and code view simultaneously, much like Dreamweaver.

View 1 Replies View Related

General :: Cant View Html Pages In Firefox

Dec 2, 2009

I have fedora 12 and I'm playing a game using wine. To view a page from inside the games own browser(it has an internet browser style menu) there is a button that says "open in external browser" I've used it hundreds of times to save that particular page to a folder when I was in windows but now that I'm using fedora it doesnt do anything. Is this something I have to configure in firefox or could it be something else.

View 6 Replies View Related

Debian :: Direct Port To HTML Page?

Oct 16, 2010

how exactly would you open a port and point it to an html page, like port 80 does by default?

Example: Port 2985 -> ./var/www/login/index.php

View 5 Replies View Related

Ubuntu :: Using Mutt And Lynx To View Html Stuff ?

Aug 14, 2010

I have a slight problem with using Mutt and Lynx to view html stuff that people send.

The problem is that mutt now seems to think almost everything is html!

So receiving mail from, say a gmail user, will give me a lynx dump, rather than just displaying the plain text.

My muttrc is:

And my .mailcap file is:

View 3 Replies View Related

Software :: Print Web Page (.html) Provide By Web Servers

Jan 11, 2010

Ubuntu 8.0.4,GnomeDesktop with firefox (we are going to use) Epson Thermal printer(M-T500 Thermal Printer) [URL]... without linux driver,provide serial port ctrl. I get the command manual(pfd).I can test the command by run minicom however. I want to print the Web page (.html) provide by our web servers.Those pages have a js-button(javascript) each with the function that the firefox/or (custom) app demo is called to print the line/table/div/etc (not the whole page,like the receipt) after the js-button is pressed. There is a window showing the print-progress info will be better when it is printting. I just try to find the best way to do this: I got ghostscript after search by google but it is just used for pfd print or something. So How can I just implment this?

View 1 Replies View Related

Software :: Execute A Shell Script From A Simple Html Web Page?

Mar 11, 2010

I wish to execute a shell script once a button on my html page is clicked.

View 7 Replies View Related

Ubuntu :: WGET - Download HTML Page In One Directory And Other Elements In A Subdirectory?

Mar 12, 2010

i'm using wget with this parameters:

wget -E -H -k -K -p -nH -nd -Pfolder http:\www.mysite.com

using this parameters the main html page and all the images will download in the same folder. Instead i would like to have the html page in a folder and all the images,css ecc in a subdirectory for example i want to have:

c:foldermain.html
c:foldersubfolderimage.jpg
c:foldersubfolderimage2.jpg
c:foldersubfoldercss.css

It's the same that mozilla firefox do when i save a html page on local machine ("save page as" on file menu) Which parameters do i have to use?

View 1 Replies View Related

Ubuntu Servers :: Apache - Index.html Suddenly Became Blank Page

May 20, 2010

Today, the power was suddenly cut off in my house, then my home Ubuntu Server restarted after the power on, but when I use my laptop to view my wesite, the index.html suddenly became blank page, I did clear the firefox cache, doesn't work, still blank, and I changed browser, to seamonkey, the index.html still was blank, so, I am sure that the problem is coused by the server, and then, I put the index.html file to a subdirectory, which under the /var/www/home/index.html, and then I put the address < [url] > ,then,I can view my website the main page index.html.

View 2 Replies View Related

General :: Create A HTML Page To Hide The Running Process Of Software?

Jul 7, 2010

1. I need help to create a interface to run software.2. The software is running at the back

View 4 Replies View Related

General :: Ls Command To View Page One By One

Dec 22, 2010

I want to see files and directories which are in /etc directoty. When i write # ls command it scroll all files at a once and i can't see the files whic starts from a or b .Is there any combination in ls command by which i can view files as per page by pressing spacebar of enter key to see next files.

View 4 Replies View Related

General :: Using Lynx To Create Html Page With The File Structure Of A Local Directory

Oct 10, 2010

I'm working with a dual-boot laptop running Ubuntu 10.0/Windows 7 and a Debian 5 VPS while the OS's shouldn't have much impact on my question.

What I would like to do is create a html page that I can upload to my VPS which lists all of the files/folders on my local 2TB hard drive (Specifically media such as Movies, Music, TV Shows...). The media obviously will not reside on the server, but I would like to at least have a list which will allow me to select, for instance, a bands artist so that it redirects me to the albums in the directory below.

Ultimately, I'm looking for Open Directory Browsing without actually having the media on my server. I have been attempting to create something to this effect using lynx, however, I'm not sure if it can be done with this command or if it's even possible for that matter.

View 1 Replies View Related

Programming :: Executing Commands From Web Page And Outputing It Back To The Web Page?

May 8, 2009

wanted to know if i can execute commands on linux console through a web page and redirect it back to my web page !For example :if i send a query "ls"it should execute this command on my linux console and also redirect the list of the files to the web page from which i give the command !

View 8 Replies View Related

Fedora Installation :: Switch Back To The Normal Desktop View Or Disable Compiz Fusion?

Feb 17, 2009

when I boot my pc with fedora 10, it displays the white cube, although i can rotate it but it does not seem to work i cant see any desktops. How can I switch back to the normal desktop view or disable compiz fusion ?

View 3 Replies View Related

Software :: Apache Run Perl Then Create Index Page And Display It

Sep 15, 2010

I've got a perl script which generates an html file. What I'd really like to do is send people to just one page (the perl page) which then generates the html and shows the html page in question. Thus the whole transition will be invisible to the user, they'll just have an html page.FYI the perl script generates a list of the users who last logged in to the system, it needs to be up to date (by the second).Let me know if this isn't clear, I understand it sounds a bit confusing...

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved