Ubuntu :: Using HTML To Run Any Command?
Feb 28, 2010
How do I get a webpage on my apache server to run a command. Lets say "fortune" or "grep" or "ls" or (anything actually) by having someone visiting the website and pushing a submit button? Would that be a php thing? or python?
View 9 Replies
ADVERTISEMENT
Feb 14, 2010
I'd like to find a way of
1) capturing an RDF formatted RSS feed as a file on my computer
2) converting the result to HTML using local command line tools
I've sorted 1) with wget? I've discovered xsltproc but I'm going round in circles. The master plan is to import my pinboard bookmarks into a static web site produced on my linux box using a handful of clever bash scripts.
View 7 Replies
View Related
Jun 17, 2011
I've got some trouble while trying to install some applications on my linux system. It is said that the files in my /var/www/html/xxx directory, where I put them, is not writeable. The command chmod 777 xxx has been tried to make it work, but the error remains when I opened the applications again.
To be specific, I want to install phpFreeChat on my system, so I put those files in the /var/www/html/freechat directory, cd there and typed chmod 777 data/private, chmod 777 data/public on bash. Here's the result of list -al data:
drwxr-xr-x. 4 root root 4096 Jun 17 15:07 .
drwxr-xr-x. 13 root root 4096 Jun 17 15:22 ..
drwxrwxrwx. 2 root root 4096 Jun 17 15:07 private
drwxrwxrwx. 3 root root 4096 Jun 17 15:07 public
These all seemed all right to me, until I typed http://localhost/freechat in my browser. Here's the result:
phpFreeChat cannot be initialized,
please correct these errors:
/var/www/html/freechat/src/../data/private
is not writeable
[code]....
View 3 Replies
View Related
Dec 17, 2010
Kernel 2.6.21.5, Slackware 12.0 A command line html reader, or a conversion tool from html to text is what I would like to know if any of you guys knows. It has not to do a perfect job. And it would be nice if it is a native unix/linux program.
View 5 Replies
View Related
Jul 6, 2011
What is the Wget command to perform the following:
download only html from the url and save it in a directory
other file extentions like.doc,.xls etc should be excluded automatically
View 4 Replies
View Related
Mar 13, 2009
I've spent a lot of time googling on this one, but could not really find anything that would convert HTML to images. Does anyone know if there are some command line tools that can do this? I need to convert simple HTML documents to images to be attached to Powerpoint presentations. Could firefox gecko be tapped into to do this without a GUI?
View 4 Replies
View Related
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
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
Aug 23, 2011
I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
View 1 Replies
View Related
Oct 14, 2010
I have used htmldoc for such conversions. But it does not preserve hyperlinks.So is there any converter which preserves hyperlinks.Is there a HTML to CHM converter for Linux?
View 1 Replies
View Related
Jan 8, 2010
Is there anyway to convert standard output to html ?
for example I wanna convert a colored file like this:
Code:
git diff -u --color-words --no-index ~/file1 ~/file2 > my_colorized_output
I wanna convert my_colorized_output ( or anything else ... ) to html format.
View 3 Replies
View Related
Feb 3, 2010
I'm trying to set up some basic websites on an Apache 2 server running on my Linux box. At the moment, I have some really basic html files that I want to load into the /var/www directory. However, for whatever reason, I cannot save my html files. First, I thought it was because I didn't have permission on my account, so I switched to localadmin (i don't know if all Linux distros come with a localadmin account, but i know localadmin has "higher" permissions than, but less that root, of course). Even as localadmin, I could not save my html files!
View 2 Replies
View Related
Jul 9, 2010
I have 2 GB of html files and i need to convert all of them at once to text files. Is there any way that I can do it. Converting each of them manually is really a pain and I want to convert all of them with a single command to text files.
View 5 Replies
View Related
Jul 12, 2010
I'm almost positive I've seen a program that runs on Ubuntu that can convert PDF files to HTML but I can't remember where I saw it and I have no idea what the name of it was
It would also be great if I could find a program that can convert PDFs to .odt or .doc or another format that works well with [URL] but thats not something I need right now
View 6 Replies
View Related
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
Jan 27, 2011
I am running Ubuntu 10.10 64 bit to do testing for a web site. I have successfully added a .htaccess file to the production site to process .html files as PHP files, but cannot get my localhost to process the files the same way.
Addition to apache2.config:
HTML Code:
<Directory "/home/*/public_html/*">
AllowOverride All
Order Deny,Allow
[Code].....
View 7 Replies
View Related
Feb 16, 2011
Are quanta plus and kompozer good for begginers im learning html and php and have a huge project in the near future.
View 1 Replies
View Related
Mar 3, 2011
I have been trying to teach myself some html. but most of the tutorials are so dry i cant concentrate long enough to read them.I normally do minor tech support for friends and fam it was suggested i make a webpage but i dont know html I think i need to start over cuz i used a HTML generator and i dont think its as organized as it could be all i really need now are some images maybe a banner ive been lookin at how to add images to my html but im having issues getting it positioned and most of my text is on the left of the page
dont laugh i like to consider my self quite computer literate but im a horrible noobin when it comes to HTML im not looking to build a site, just a simple webpage i got some help here earlier but it was mostly links to more Tuts
View 8 Replies
View Related
Apr 9, 2011
I am learning to do some html, php and css. I read that a normal word processor will not do. Here is what I am suppsed to use... Before you settle on a text editor, make sure it has the following features: Supports syntax highlighting for HTML, CSS, Javascript and PHP. you to code and debug faster by visually separating the different elements of the file. For example, such a text editor might highlight PHP code in blue and HTML code in red. Automatic error highlighting for HTML, CSS, Javascript and PHP. you catch errors in your programs while you are writing your code before these errors are detected when you run your program in Zen Cart. For example, if you fail to specify a closing tag for your HTML code, the editor uses a red underline to highlight the offending HTML tag.
View 3 Replies
View Related
Jul 11, 2011
Im checking some webpages Im trying to update using tidy. Im getting some messages about the doctype of my pages, Im trying for HTML 4.01 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
but I keep getting some comment which amounts to the doctype not being formatted correctly.
Does Anyone Know what the correct doctype format for html 4.01 transitional is?
Code:
tidy doctype myHtml.html
View 4 Replies
View Related
Jan 4, 2010
I have a ubuntu 8.04 server running apache2 and would like to allow a CGI script to be executed when visitors come to my site.The purpose of this is to determine which browser the visitor is using and redirect them to the relevant version of the site.
View 9 Replies
View Related
Jan 19, 2010
I am looking for a good HTML editor that is similar to dreamweaver but for ubuntu.
View 7 Replies
View Related
May 3, 2010
I'm looking for a program (or script), that can convert html to an image (pngI've searched a lot on google, but haven't found anything that actually worked..Is the anyone that know of a converter, that works on ubuntu server?I use php, so it could be nice if php could use the program
View 4 Replies
View Related
May 7, 2010
I am new to Ubuntu and I was wondering if there is a way where I can use an HTML file that I have created as a desktop wallpaper. If you know a way could you please explain as simple as possible because I am new to it all and still getting use to it.
View 3 Replies
View Related
May 24, 2010
I have the greek XI character (the 3 bars) in a title in an html file as;<h1>ΞJSFΞ</h1> but when saved by gedit and pulled up in firefox it shows;ΞJSFΞ.Could you offer suggestions as to how to fix this please.I think this is a firefox or Ubuntu problem rather than gedit because when I go into vim it shows ΞJSFΞ.
View 1 Replies
View Related
Jun 4, 2010
If I copy and then paste some html text from a web page as I have been doing for a study course, then Openoffice Writer closes. When I go to open Openoffice again it asks if I want to run a recovery, I opt for that and it gets me back into the file (which is empty).I have tried saving the file in html format but, the same thing happens.I can paste into Tomboy without problem so it must be the Openoffice program.Maybe I should simply hop over to Sun Microsystems with this, mmm.
View 1 Replies
View Related
Jun 28, 2010
For some reason I am unable to get Thunderbird 3.0.4 to display html in a message. I can see the html code when I chose to "view source", but the message itself is totally blank. I am using Ubuntu Lucid.
View 2 Replies
View Related
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
Jul 23, 2010
PHP in *.php files works in LAMP. PHP script within an *.html file is not executed. Does not display anything but view->source_code shows the <?php ... ?>
[Code]...
Doesn't display anything except the page title is there. View page source --- shows <?php phpinfo() ?> not the phpinfo() output. Both files are in /var/www/ with 644 permissions.
[Code]...
View 9 Replies
View Related
Oct 4, 2010
I installed apache and when i go to my 127.0.1.1 ip i see the welcome page. I found the directory where the html is located (var/www/index.html but i cannot edit the file. what is going on here? why cant i edit the HTML file?
View 1 Replies
View Related