Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-09-2014, 02:10 PM
|
#1
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
|
Quickly aggregate 4 different web pages into one?
I have 4 'monit' web pages that I would like to turn into one single page.
Is there a utility, chrome plugin or command to do so? Suggestions?
Even if i have to run a cron job to grab the sites then generate the html into another directory...
|
|
|
07-09-2014, 02:20 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
i would cat them all together and then delete/re-add the headers where necessary.
|
|
|
07-09-2014, 02:48 PM
|
#3
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
Original Poster
|
Thats a good idea. I'm surprised, in my searching, that I haven't found something that does this cleanly and automagically.
|
|
|
07-11-2014, 09:35 AM
|
#4
|
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278
Original Poster
|
Ended up using some HTML and CSS to do it. Thanks to my friend WM for writing it.
Code:
<html>
<head>
<title>Speed dial</title>
<style type="text/css">
.divtile
{
width: 25%;
height: 50%;
clear: none;
float: right;
}
.tile
{
width: 200%;
height: 200%;
transform: scale(0.5, 0.5);
transform-origin: top left;
-webkit-transform: scale(0.5, 0.5);
-webkit-transform-origin: top left;
}
</style>
</head>
<body>
<div class="divtile"><iframe class="tile" src="http://google.com"></iframe></div>
<div class="divtile"><iframe class="tile" src="http://google.com"></iframe></div>
<div class="divtile"><iframe class="tile" src="http://google.com"></iframe></div>
<div class="divtile"><iframe class="tile" src="http://google.com"></iframe></div>
<div style="clear: both;"></div>
<div class="divtile"><iframe class="tile" src="http://google.com"></iframe></div>
<div class="divtile"><iframe class="tile" src="http://google.com"></iframe></div>
<div class="divtile"><iframe class="tile" src="http://google.com"></iframe></div>
<div class="divtile"><iframe class="tile" src="http://google.com"></iframe></div>
</body>
</html>
|
|
|
All times are GMT -5. The time now is 08:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|