473,233 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 software developers and data experts.

generate pages

Tools that generate a webpage from common commands like the numerous
unix commands or dos command line must be around but where should I
look?

I'm guessing someone has created a tool that will quickly generate a
web page from the unix `ls' command. Where the user could step into a
directory and say `ls | sometool' and `sometool' would generate a nice
index page with listed elements leading to the various items.

Probably lot of other more sophisticated things.

Can someone point me where I should be looking?
Jan 5 '08 #1
6 1567
re****@newsguy.com wrote:
Tools that generate a webpage from common commands like the numerous
unix commands or dos command line must be around but where should I
look?
You should be able to google for a Perl (or PHP?) script that takes
input, runs it as a unix command and returns the output. I have seen
them. However, such a script would be a huge security risk. What is it
that you really want to accomplish? There has to be a better way to d
what you want to do.
Jan 5 '08 #2
On 5 Jan, 15:33, rea...@newsguy.com wrote:
I'm guessing someone has created a tool that will quickly generate a
web page from the unix `ls' command.
It's embedded in Apache, and most convenient place to kep it too (it
re-generates on demand more easily that way). It's also customisable,
if you read the docs.

Otherwise it's a couple of lines of Python / Perl. Hardly worth the
effort of making a "tool" that did any more. You'd spend more effort
understanding its templating language than you would writing a file-
lister.
Jan 5 '08 #3
On 1/5/2008 7:33 AM, re****@newsguy.com wrote:
Tools that generate a webpage from common commands like the numerous
unix commands or dos command line must be around but where should I
look?

I'm guessing someone has created a tool that will quickly generate a
web page from the unix `ls' command. Where the user could step into a
directory and say `ls | sometool' and `sometool' would generate a nice
index page with listed elements leading to the various items.

Probably lot of other more sophisticated things.

Can someone point me where I should be looking?
Go to my <http://www.rossde.com/get_index.html>. Is this what you want?

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.
Jan 5 '08 #4
Scott Bryce <sb****@scottbryce.comwrites:
re****@newsguy.com wrote:
>Tools that generate a webpage from common commands like the numerous
unix commands or dos command line must be around but where should I
look?

You should be able to google for a Perl (or PHP?) script that takes
input, runs it as a unix command and returns the output. I have seen
them. However, such a script would be a huge security risk. What is it
that you really want to accomplish? There has to be a better way to d
what you want to do.
Its a home lan never exposed to the internet so security is at least
quite a lot lower. I run no outward servers.

Sorry I went to sleep at the switch after posting the quesion and I
see several people have taken time to reply. I do appreciate that.

I can script enough to make something myself... I just stepped into a
directory while sorting out my lan visible pages and thought it would
be a nifty time saver to be able to just say `ls' into something and the
rest would be created.

In this case all the directories have an index.html behind them
already so just getting the directories into a list and addressed is
really all I had in mind... a few words about whats behind there with
the lead one being clicker for gravy ....

I guess I hoped I would be steered toward some nifty tools that would
be more elegant and usefull than my own scripting. I've managed
something now and sort of glad I did but my usage will be very light
after this go-around.
Jan 7 '08 #5
Lars Eighner <us****@larseighner.comwrites:
lynx -source ./

will do it for the current directory.
That a nifty trick. I hadn't thought to do that. It at least
provides an outline to put together a little nicer look.

Thanks for the other tips too.
Jan 7 '08 #6
"David E. Ross" <no****@nowhere.notwrites:
>Can someone point me where I should be looking?

Go to my <http://www.rossde.com/get_index.html>. Is this what you want?
That is nice... I was thinking of listing out a few directories that
contain index.html files already so they would be a web address.

I've got it working now... Thanks
Jan 7 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Fred | last post by:
Hi, I'm sure there are a bunch of them, but googling just returned full-fledged CMS that require a DBMS and generate dynamic pages. I'd just like a script that would 1. look in a directory...
11
by: shank | last post by:
<% Response.contenttype = "application/vnd.ms-excel" %> <% Response.AddHeader "Content-Disposition", "filename=hardware.xls" %> I'm using the above lines to generate a spreadsheet from a...
4
by: Dehaibe François | last post by:
Hi, I'm making a program which uses a scanner which is enable to can multiple pages. I want to save all the scanned images into a PDF FILE. Does exist an API which can generate PDF FILE in...
0
by: Nick | last post by:
Hi all, I'm about to embark on a new project and can't decide quite how to do it. In summary, I have a database whose data I want to use to create html pages for a website. The website will just...
2
by: zoltix | last post by:
Hello, I try to send an xml from an aspx pages which generate an xml file. And I tried with this method FileStream fs = new...
2
by: Adnan Al-Ghourabi | last post by:
Hi, We have a need to create pages on the fly for ASP.NET applications based on some string that the Url ends with. For example: http://www.domain.com/SomePath/aabbccdd. "aabbccdd" does not...
5
by: vikram | last post by:
I am developing a display web site which displays several listing and details, data is picked up from database for the lists. There is no search criteria but only pagination stuff. What i am...
5
by: pittendrigh | last post by:
There must be millions of dynamically generated html pages out there now, built by on-the-fly php code (and jsp, perl cgi, asp, etc). Programatic page generation is transparently useful. But...
4
by: ppuniversal | last post by:
Hi, I am developing an application in ASP .NET where I have to generate a Header and a Footer on my web pages. The issue is that, these headers and footers need to be dynamically placed on the page....
23
by: Geoff Cox | last post by:
Hello, Is it possible to use php to generate different menus for users who have access to files in different folders? For example, user Fred might be able to access files in folders A, B and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.