HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser.

learn more… | top users | synonyms

0
votes
1answer
55 views

How can I regex specific links from rss content in yahoo pipes?

From a RSS content I'd like to remove everything except specified href links Example: <div class='text'> <div class="center"> <b><a rel="nofollow" target="_blank" ...
0
votes
0answers
13 views

Strip attribute name from result set?

I have a HTML document that looks (when oversimplified) like this: <html> <body> <a href="...">...</a> <a href="...">...</a> <a ...
0
votes
1answer
60 views

Open Source Web Form Builder With Save to Spreadsheet or Database

Does anyone know of any open source tools that do essentially what Google Forms does. My company decided I could not use google forms because they did not want their info in the cloud, but for the ...
0
votes
0answers
17 views

How to check that an HTML element is “serialized completely within the first 1024 bytes of the document”?

In HTML5, the character encoding of the document can be specified in a meta element with the charset attribute (e.g. <meta charset="utf-8">), under this restriction: The element containing ...
0
votes
1answer
54 views

How to replace tab's indent by space's indent with web-mode in Emacs

I don't want to use tabs for indent, so I add (setq-default indent-tabs-mode nil) in my emacs init file. With the setting indents are created by spaces in web-mode, but it doesn't change already ...
0
votes
2answers
30 views

How to specify the file type in a hard link [closed]

Does anyone know how to specify the file type of a hard link? Is this even possible? For example, I want to link to an HTML file (with content type text/html) in my website directory, so I used ln ...
0
votes
3answers
423 views

How to delete html tags from a file using sed ?

I have a file that is mixed with both normal text I need and html-tags. I know that with REGEX it is possible to recognize html tags and with sed one can swap those for an empty string, but I do not ...
0
votes
0answers
53 views

Force lynx or elinks to interpret spaces and line breaks

Consider the following commands, and their results : $ echo "<br/> <br/>a<br/>b<br/>c<br/><br/> <br/>"|lynx -dump -stdin a b c $ echo "<br/> ...
27
votes
4answers
2k views

Is there a simple Bash tool which can quickly render basic HTML?

From time to time I need to do a simple task where I output basic HTML into the console. I'd like to have it minimally rendered, to make it easier to read at a glance. Is there a utility which can ...
0
votes
3answers
237 views

Simple way to extract value from HTML

I have a very simple html file with a value inside. Value is 57 in this case. <eta version="1.0"><value uri="/user/var/48/10391/0/0/12528" strValue="57" unit="%" decPlaces="0" ...
2
votes
0answers
90 views

How do I run webm video file in firefox using HTML5 on linux?

I am using apache server on linux and want to run a .webm video file. I have .webm video file which i am trying to run in firefox (V 12.0) using HTML5 but the browser is showing as "no video with ...
0
votes
1answer
105 views

Shell script equivelent to PHP $_POST

For example and learning purposes, I have a webpage that uses POST method to submit a text field. I have a server running script (bash) that I want to display what the "Query_string" is. I'm not ...
2
votes
3answers
451 views

Display hostname in static HTML page on uhttpd

I have a docker container running uhttpd and serving a static HTML page. How can I dynamically insert the hostname of the container into the static HTML page? I want to keep the container as ...
0
votes
1answer
23 views

Is there some html annotation tool for adding annotations to downloaded html files?

I would like to add annotations (such as underlines, text comment, circle or square a text region, ...) to downloaded html files. Is there some WYSIWYG html annotation tool (for Linux) for that ...
1
vote
0answers
102 views

Can htmldoc create multi-level pdf bookmarks?

I downloaded an online html book (http://www.cim.mcgill.ca/~franco/OpSys-304-427/lecture-notes/lecture-notes.html), by the following command wget -r -np -nH --cut-dirs=3 -p -k ...
0
votes
1answer
176 views

Extract values from HTML Files

I have 2 HTML files, where part of the content looks like this: In FILE1: <td width="48%" align="right" valign="top"> <b>mom. Wirkleistung P+ tot.: </b><br> <b>mom. ...
0
votes
1answer
51 views

How to configure Apache Rivet on openSUSE with YaST2

I need to configure my Apache web local server to view Tcl Apache Rivet web dynamic applications. The problem I run into is my browser forces me to download the file, so Apache doesn't interpret the ...
1
vote
1answer
140 views

Convert linked html files into a pdf file?

I would like to convert an online book (linked html files) into a pdf file. I tried the two-step way in http://kmkeen.com/mirror/2009-02-05-14-00-00.html First, download the html files by wget -nd ...
4
votes
2answers
134 views

Can emacs render downloaded html files?

From Firefox, I downloaded a .html file, with a directory with name ended in _files, by specifying "Webpage, Complete". When open the .html in emacs, even under html-mode, only the source of the html ...
1
vote
0answers
103 views

How to paste an HTML table into Libre Office Calc without losing structure

I want to paste an HTML table into Libre Office Calc. The HTML table rows contain images (in column 1) that should stay with their appropriate row. However, when I paste my HTML into Calc, the images ...
0
votes
0answers
80 views

Sorted HTML table

I need a very quick and easy way to sort HTML tables. The table rows contain images that should stay with their appropriate row. I tried pasting my HTML into Libre Office calc, but the images are not ...
0
votes
2answers
181 views

Thunderbird: Override colors in received HTML emails

I need to override default colors in received HTML emails. I have followed this Howto, and modified my userContent.css accordingly. Basically, I need white text on dark background: $ cat ...
2
votes
3answers
426 views

bash - extract filenames from html file containing multiple links

I have downloaded an html file autogenerated by a script on a webpage. The file contains multiple links, including links to images I am trying to extract the full names of the images, for example ...
1
vote
1answer
99 views

Does Kate support HTML5?

I am editing a long HTML document in Kate, and I'd love to be able to "close" the parts I'm not currently working on. But this is a new document, and the highest level of modularization uses section, ...
1
vote
1answer
179 views

Extract Values from HTML via HTML parser [duplicate]

I initially asked about a way to use grep/awk directly from an HTML file. I got some feedback but I see that people did not have the whole HTML and so the solutions suggested failed. Some have ...
1
vote
2answers
723 views

Extract Values from simple html file via grep/awk

I have another grep/awk/sed issue within the attached HTML code below. Given is a simple HTML file with table inside. The HTML is generated by a smart meter (household energy meter). Inside the html ...
0
votes
1answer
110 views

wget changing image name from within page

The image is generated once every n minutes, and I want to get each of these to my local directory. I had no success in getting the png-image using the command: wget -r -l1 --no-parent -A.png ...
0
votes
2answers
211 views

How can I grep for broken HTML tags?

I want to grep through all my HTML files and see if I have any bad tags there, example <br> , <hr> and so on, that is the I want to see what tags are not closed in the HTML file. for ...
2
votes
1answer
375 views

how to use html tidy on Nginx

I just installed HTML tidy using the following command line: sudo apt-get install php5-tidy yet I have no idea how to use it because I thought it is an auto process that can do things by itself ...
2
votes
1answer
298 views

ability to view browser view for html file from vim

Is there a plugin / program / key binding that will let me preview html files that I am editing in vim in a browser? Background: I have abandoned traditional full-feature editors and IDE's (of which ...
2
votes
1answer
404 views

Trying to get a dynamic page with wget without success

I am using this command to get a page and all its images and javascripts on iTunes with wget. All I want is this page and all its images and scripts. wget -kKErpNF --no-check-certificate ...
0
votes
0answers
140 views

Use Rsync with HTTP

Is it possible to use rsync with an HTML POST request? If so what would the rsync command look like? For example let's say using HTML5 I have this (bear with me going back to linux stuff): <form ...
2
votes
2answers
44 views

How can I automatically create a document that allows me to compare a list of 4 .png files side-by-side?

So I have a list of 4 .png files, and I'd like to auto-pipe this to some document that puts them all side-by-side for easy comparison. I'm thinking of automatically putting them in a HTML file. So ...
1
vote
3answers
788 views

Extract multiple line string from HTML file using specific tags

I need to extract the string which are starting with the tag <span class="style530"> and ending with </span> tag. I used sed command but didn't get desired result. Below is sample code: ...
2
votes
1answer
172 views

redirection failing for CGI program

I'm trying to redirect the contents of command output to a file in a CGI program. The issue for me is that the output file is not getting created. The CGI Code snippet is as follows: #!/bin/bash ...
1
vote
1answer
2k views

500:Internal Server Error from CGI program

I am trying to write a CGI Program which is invoked from a HTML page . The CGI code snippet is as follows: #!/bin/bash echo "Content-type: text/html" echo "<html>" echo "<body>" ...
2
votes
2answers
769 views

GUI library or Window Manager using HTML [closed]

Ok... You want some clarity? Being a programmer this sort of question always has conditionals. Are there any DE's or (more generally) DE backends that support building (scripting) or rather modding ...
1
vote
1answer
448 views

Extract text from source code website

I need extract text with a bash script from a website in HTML, I used this solution but doesn't work fine for me, because I must edit and format the output text. I need the text between the tag: ...
0
votes
1answer
40 views

Parse and remove a series of html files

I'd like to remove a series of elements like: div-id="st-head" class="noprint" from a html file.
0
votes
1answer
33 views

Finding all kinds of extensions referenced in a html file

Here is my problem statement : There is a folder with many html and text files. I need to recursively go through each one of them and find all kinds of file extensions referenced in these html/text ...
1
vote
1answer
570 views

Sed: search and replace a patten with special characters which has a arbitrary string in between

I have a load of nfo files which I want to make some global substitutions for some values within each file e.g. a.nfo has the value <set>Tonight&apos;s Menu ( June 2012 )</set> ...
1
vote
1answer
925 views

grep to extract a substring from a huge string

I am extracting certain information from a website using curl command. I need to extract a certain subsection of the string using grep command. For example, using curl command I am getting the HTML ...
2
votes
2answers
5k views

Convert csv to HTML table

I have a Medical.csv file with rows of following format, field: 'participation.type', displayName: 'program_type', type: 'String',path:'participation' field: 'participation.program', ...
0
votes
4answers
3k views

Output the result of DF command to variable then print to an HTML page [closed]

I am having a problem executing a script that basically captures the disk space from the server and outputs the result to an HTML page. STORAGE=$(df -PTh | column -t | sort -n -k6n) The output in ...
2
votes
1answer
394 views

Org-mode: Inserting (advanced) LaTeX equations for HTML expot

I'm using org-mode as working environment, and so far has been extremely useful. One of the wonders of it is the versatility of exporting... I can export to LaTeX or HTML or ODT files from the same ...
0
votes
2answers
449 views

any command that can format html or xml from shell? [closed]

There must be something on the lines of sed? Normally in sed you type something like: echo day | sed s/day/night/ the shell prints "night". Is there something that can take a file (containing ...
2
votes
3answers
95 views

Is there html documentation finder/searcher, like info utility for info files?

Many packages have their documentation in html. Is there some sort of man or info utility to find locally installed html documentation and work with it? I mean, I need a program which would ...
1
vote
1answer
63 views

Web page not able to find CGI program file

I was trying to invoke a CGI program via an html file. But got stuck for the error "file not found". I am trying the same program as in the following site: ...
1
vote
1answer
2k views

Press a html button via shell script?

i am currently trying to write a script to change some parameters on a webpage via a shell script. I can change the values in the textboxes without any problems, but i can't seem to figure out how i ...
4
votes
1answer
380 views

Copy markdown input to the clipboard as rich text

I'm about to get involved in some collaborative prose writing with a friend of mine via email. As a regular person, he will of course be using MS Word document formats; as a massive nerd, I prefer to ...