Questions tagged [html]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

How would you create an HTML code for an (RSS Feed Like) text box that [closed]

How would you create an HTML code for an (RSS Feed Like) text box that automatically creates next box in ascending order? It is Something Similar to TT-RSS Example: BOX3 (newest): HELLO TEXT 3 (DATE ...
user avatar
1 vote
1 answer
79 views

Substitution in html file using awk

My awk script reads records from file1, finds the same records in file2 and substitutes alternate positions (of the record) with a defined symbol in that. But few of the values are not getting ...
user avatar
0 votes
0 answers
18 views

Cant format html table correctly [migrated]

I want to achive this table format +--------------------+ | 1 | |--------------------| | 2 |3 | |-------------| | | 4 | 5 | | | |------| | | ...
user avatar
0 votes
0 answers
17 views

Tool to convert HTML to plain text and print it to stdout [duplicate]

I have a shell script which uses curl to post a request to an HTTP API. The API returns the result as an HTML document. Upon receiving the result, I would like to print it to stdout. I could just cat ...
user avatar
0 votes
2 answers
54 views

What is the *nix parallel to Microsoft front page (HTML page builder)?

Just as LibreOffice is the current parallel to Microsoft Office and just as GIMP is the current parallel to Adobe Photoshop, what is the *nix parallel to Microsoft front page (HTML page builder)? Can ...
user avatar
0 votes
0 answers
35 views

Suggestions for using Nginx web server on Ubuntu 20.04

We recently switched to Ubuntu 20.04 from Windows, and I am here to seek suggestions and recommendations for my use case. I have installed Nginx web server on my Ubuntu VM (my_server_name) and we ...
user avatar
  • 109
0 votes
0 answers
23 views

Is it possible to convert all files to Base64 at the same time via `pandoc` when exporting to a new sinle HTML file?

I know to convert any files to Base64, but it is manually at hand on the terminal. It's tiring to convert each file to base63 via terminal, copy and paste each code to the combined file exported from ...
user avatar
0 votes
0 answers
38 views

From HTML to .pdf - in a recorsive way

I read some (old) treads about this matter, but I've to create a .pdf of a whole part of a site. I was able to download all this with wget -r. Then, I tried to use wkhtmltopdf, but it seems to me that ...
user avatar
  • 153
0 votes
1 answer
58 views

html file to picture on cli of ranger preview

I would like to preview html files in ranger as pictures similarly how pdf files can be previewed. I imagine first it would be needed to force it into A4 page or something of the like, so it's a ...
user avatar
  • 403
0 votes
0 answers
55 views

How to send attachment in email using awk

I have a file that I want to email using awk format to HTML to create a table. I would like to include an attachment with it, but can't seem to find a way to do so and I have looked through many ...
user avatar
0 votes
1 answer
31 views

How to obtain data from a site that uses javascript?

What I want is to query metallum to obtain a plain list of songs that contain x word, let's say spider, so the query for the browser would be https://www.metal-archives.com/search?searchString=spider&...
user avatar
  • 21
1 vote
0 answers
58 views

XMLstarlet to fix image tags and replace path for images

I have multiple .XHTML files in the folder. The top declaration part is as follows: <?xml version="1.0" encoding="UTF-8"?> <html xml:lang="en-us" lang="en-...
user avatar
  • 437
0 votes
6 answers
414 views

sed to replace path to the image

I need to replace path to the image in multiple xhtml files in directory. The files head part is as follows: <?xml version="1.0" encoding="UTF-8"?> <html xml:lang="en-...
user avatar
  • 437
0 votes
1 answer
40 views

Append multiline html section to the top and bottom of html files

what is the most handy way to append multiline html block to the top of html pages in the directory? I have a multiple XHTML files in directory, without a heading part and without closing tags at the ...
user avatar
  • 437
0 votes
3 answers
59 views

How do I get sed to delete the second block of lines in a file?

I have hundreds of badly-written HTML files that have two HTML sections, like this: <HTML> <HEAD> several header lines </HEAD> <BODY> hundreds of lines of content </BODY> ...
user avatar
0 votes
0 answers
19 views

Pandoc error converting from .md to .html

I'm using this command to convert .md file to .html file: pandoc -s -t ~/Documents/neocities-anve/templ/dynamic.html -c ~/Documents/neocities-anve/templ/template.css ~/Documents/neocities-anve/source/...
user avatar
0 votes
0 answers
20 views

`man -H` outputs broken images

I'm trying to convert man pages to epub files an use man -H and ebook-convert for this since it uses The resulting ebook works, but there is a broken image in man pages which contain a table like ...
user avatar
0 votes
4 answers
192 views

Fill down multiple columns in HTML file with AWK

using AWK I am trying to fill down a HTML table (rows/columns) based on the previous value. Similar to excel. eg: table user$ csv2html.awk table.csv rowing | fast | good | fast ...
user avatar
1 vote
1 answer
86 views

How to remove part of line from HTML file

I have a file, events.html, containing similar lines (among many other): <td class="EventDate">2021-08-06 12:36:34</td> where date and time strings are different in each line. ...
user avatar
0 votes
1 answer
304 views

Get all css style, link, js and script from html file using ShellScript

I want to get all JS <script> tag inside data as well as <script src="path/to/js"></script> or <script src="http(s)://example.com/to.js"></script>. ...
user avatar
  • 101
1 vote
2 answers
75 views

CGI (Commong Gateway Interface) program wont run from HTML page, getting "Forbidden" permission

I'm trying to run this example CGI program that is from this Wikipedia page https://en.wikipedia.org/wiki/Common_Gateway_Interface The HTML code is as follows, the file is named "add.html" &...
user avatar
0 votes
1 answer
90 views

CGI (Commong Gateway Interface) program example wont run from HTML page [duplicate]

I'm trying to run this example CGI program that is from this Wikipedia page https://en.wikipedia.org/wiki/Common_Gateway_Interface The HTML code is as follows, the file is named "add.html" &...
user avatar
2 votes
0 answers
102 views

Extracting html data using perl script

This is my code to extract certain data under the header Item Drop%. I want to extract the 90.5% under that header. But i can only extract the whole column not just that value. any idea ? #!/usr/bin/...
user avatar
-1 votes
1 answer
84 views

Find and replace or remove HTML <li> tag using sed in Linux

I need to remove the following html <li> tag in many index.html pages. <li> <a href="https://forward.global.ssl.fastly.net/contributoragreements/" ...
user avatar
1 vote
0 answers
176 views

How to download a complete htm webpage with all subpages

I would like to download a complete offline copy of this website with all subpages: www.support.robotis.com/en/techsupport_eng.htm I have tried using: wget -m -p -k support.robotis.com/en/...
user avatar
-1 votes
3 answers
82 views

Store terminal output in HTML file

I have a CSV file that I'm counting the occurrences of column 4: Input: 2,Serveis,14,"Restaurants, bars i hotels (Inclos hostals, pensions i fondes)",Restaurants,1 2,Serveis,11,"...
user avatar
-2 votes
4 answers
101 views

How to fetch first regex result from file using bash, grep or sed?

I have a file called index.html and I grep '<td class="headerCovTableEntryLo">' index.html getting this: <td class="headerCovTableEntryLo">39.2 %</td> <td ...
user avatar
0 votes
1 answer
155 views

How to use sed to remove letters, numbers, spaces, hyphens from the same linux string

I am trying to create a script to monitor a web page and send a telegram notification whenever there is a change in that page, I am using diff to accomplish this task. The script seems to work well ...
user avatar
  • 3
0 votes
1 answer
260 views

sed replace multiple matches per line

I am trying to replace some html links such that they open in a new tab (Except links that point to the same page). Here is a dummy html page to illustrate my issue. I call it test.html. <p> ...
user avatar
0 votes
2 answers
72 views

manipulating html strings in bash

So I have three lines from a html file: /html> <table style="width:500px;text-align:left;"> <tr><td>apple</td><td>400</td><td>432</td><...
user avatar
0 votes
1 answer
25 views

Replacig text inside multiple repeating patterns in same line

I have something like this; I like reading **books** and taking **notes** I was trying to get something like this; I like reading <b>books</b> and taking <b>notes</b> Tried ...
user avatar
  • 244
-1 votes
1 answer
43 views

LXML Clarifications... Pretty, but complicated!

I have only recently met this lib and the first impact was not pleasant at all! First of all, from this site https://lxml.de/ I don't know about you, but I didn't understand anything! Too complicated ...
user avatar
1 vote
2 answers
67 views

Getting variable content of another server2 in mail inside same script which is in server1 & print value of both serversr in mail content

I have to send status of 3 servers in HTML table format using shell script. Here is the output below: --------------------------------------- | Daily Status | -------------------...
user avatar
  • 123
1 vote
0 answers
72 views

Display pdftohtml output using elinks -remote option?

The following command works great to view pdf content from the command line: pdftohtml -i -stdout file.pdf |elinks. As should be clear, what's happening is that file.pdf is being converted to html and ...
user avatar
  • 361
1 vote
1 answer
204 views

How to associate markdown files with a web browser?

Out of GUI-based software like ReText or Formiko, and using just a command-line tool like pandoc, is it possible to open markdown files (MIME type association) as an HTML file in a web browser, ...
user avatar
  • 141
0 votes
2 answers
867 views

Wget downloading github tar.gz file as html document , UTF-8 Unicode text?

I need to download this file : https://github.com/cbherer/Bherer_etal_SexualDimorphismRecombination/blob/master/Refined_genetic_map_b37.tar.gz Here is my command: wget https://github.com/cbherer/...
user avatar
1 vote
1 answer
61 views

Pandoc and Abbreviations

I'm trying to generate an ePub file with abbreviations. Here's an example: input.md: --- title: Test language: en --- # Test HTML is maintained by W3C. and abbr.md: *[HTML]: Hyper Text Markup ...
user avatar
  • 141
1 vote
4 answers
66 views

Bash Grep between two strings in html file

I used the curl command to download an html file from homeoint.org/books/boericmm/d.htm and saved it into a file. The relevant part looks like this: <p><font size="2"><a ...
user avatar
-1 votes
1 answer
49 views

Select a particular portion from a html dump using regex based on a criteria using Unix commands

I am stuck with a question where I am supposed to display only those commands with a number of votes >= 1 from a dump of page http://www.commandlinefu.com using Unix commands. I am attaching a ...
user avatar
6 votes
1 answer
12k views

Wine cannot find Wine Gecko despite installing wine-gecko 2.47.1

As per the helpful advice given by @GAD3R at Wine64 or Wine 32 for 64-bit Lubuntu 20.04? I installed Wine 5.0 (64-bit) from the Ubuntu 20.04 repository. On running my windows application I got the ...
user avatar
  • 107
-1 votes
2 answers
480 views

Extracting data from a HTML table

Objective: 1) Return a name value from an <a> and 2) assess a cell value from a number of HTML table rows, conditionally returning 0 or 1 I do curl -s http://[server-fqdn]/stats/servers?t=db | ...
user avatar
  • 467
1 vote
1 answer
64 views

How do I construct a script to insert multiple filenames in to a (html) file?

I'm pretty certain this will have been answered somewhere already but I can't figure out how to phrase my question to Google in such a way to find it! My usual approach is to find a similar script ...
user avatar
0 votes
1 answer
100 views

Recursively downloading websites with frames

I have not been able to recursively download some pages on a website that uses links within frames, and further links in those frames. It is from zhongwen.com, an online chinese etymology dictionary. ...
user avatar
0 votes
1 answer
16 views

Making Changes To A Live HTML File From OfficeLibre Writer On Same Server

I have discussed this issue briefly in ##linux freednode twice over the past few months. Once I got crucified; WHY WOULD YOU DO THIS!? and second conversation I wasn't pleased with the results of ...
user avatar
0 votes
0 answers
41 views

How to have .html files pass through the PHP preprocessor?

I would like to configure an Apache webserver 2.4.37 to hide the fact that it is serving PHP files. For this, I renamed all .php files to .html and inserted the following directive: AddType ...
user avatar
  • 25.4k
0 votes
1 answer
36 views

Sending email from website hosting within raspberry pi

Hello I want make my website able to do simple function as sending email to any email address I want. I know how to do it in webiste host within my PC and there are plenty instructions, However if i ...
user avatar
  • 19
0 votes
1 answer
33 views

Shell loop output date and number value to HTML

I have a tricky problem that requires mass generation of HTML in the following content format. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>...
user avatar
  • 341
1 vote
0 answers
89 views

File not attached while send HTML email in Bash

File is not attached while send in HTML email Bash Below is my sample script ,while executing the script the mail was sent with out an attachment. Please help. #!/bin/bash FOUND_EMAIL_TEXT="This ...
user avatar
  • 183
0 votes
0 answers
533 views

How to properly format bash commands output in HTML

I was writing bash script that will daily send email to Management about the cluster status. Content of shell sript. ARG_EMAIL_TO="johndoe@domain.com" ARG_EMAIL_FROM="root@db1.com" ...
user avatar
  • 3,834
3 votes
0 answers
263 views

How can I add custom CSS to the result of the markdown command?

New to markdown... I have a very simple markdown file, I am using the markdown command markdown something.md -o something.html Is it possible for me to inject my own css into the something.html file ...
user avatar
  • 785

1
2 3 4 5
7