LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 07-09-2014, 02:10 PM   #1
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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...
 
Old 07-09-2014, 02:20 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i would cat them all together and then delete/re-add the headers where necessary.
 
Old 07-09-2014, 02:48 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Original Poster
Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Thats a good idea. I'm surprised, in my searching, that I haven't found something that does this cleanly and automagically.
 
Old 07-11-2014, 09:35 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Original Poster
Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommendations for quickly building a flashy web site? eliteparakeet Programming 16 04-25-2012 09:48 PM
Web server sees the pages, but not the folder that has all the images for the pages nortonz Linux - Server 9 05-17-2010 03:04 PM
MS Publisher html pages for new web pages do not open in firefox, any suggestions?? Bwebman Linux - Newbie 3 06-13-2009 10:35 AM
LXer: Quickly navigating Web pages with Firefox extensions LXer Syndicated Linux News 0 03-24-2008 07:11 AM
ADSL Router Web configuration pages appears instead of Personal Web Server Pages procyon Linux - Networking 4 12-20-2004 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration