|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
htree - building static HTML pages from templatesHello,
Been hacking on a little utility for a project I'm working on. htree takes a bunch of page fragments and embeds them in the HTML::Template of your choice, allowing you to easily generate a number of static pages in one fell swoop. This is greatly easing the deployment and updating of my project content. It's rough, I won't lie. It can read into subdirectories, but it can only write out to a single directory. It's lacking any meaningful tests (which to say, it's pretty well missing any). It hasn't been well checked for bugs. But it has done what I've needed it to, so far ;) You can get it here: http://cromedome.net/downloads/HTML-Template-Htree-0.1.tar.gz I'll upload to CPAN in a few days based upon feedback, etc. (I also posted this to the HTML::Template list, but reposted it here since there are plenty of H::T users in the CGI::Application community). Enjoy! Patches and tests are very, very, very welcome! Jason ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################ |
|
|
Re: htree - building static HTML pages from templatesHi Jason
> You can get it here: http://cromedome.net/downloads/HTML-Template-Htree-0.1.tar.gz I've found Pod::Webserver is superb for this type of thing, although it doesn't aim at quite the same target your module does. It ships with the script podwebserver. So, running that in the background with: shell> podwebserver & means I can (since I run Apache) point my browser at http://127.0.0.1:8020/ and have access to all POD for all modules, because the program indexes all modules found in @INC. And yes, it won't automatically see a newly-installed module's POD, but that's a minor issue. There are other solutions, too. For instance, there is the powerful but awkward-to-use Pod::POM, for which I wrote a wrapper http://savage.net.au/Perl.html#fancy_pom2_pl some time ago. These alternatives to your module are not meant negatively, but rather simply indicate people should be aware of all alternatives so as to be able to make a well-informed choice. -- Ron Savage ron@... http://savage.net.au/index.html ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################ |
|
|
Web pages from CGIIs it possible for a CGI to create/upddate two or more webpages at once?
Please offer me a hint as to how? Thanks Lou ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################ |
|
|
Re: Web pages from CGIHi Lou
On Sun, 2008-07-20 at 23:43 -0400, Lou Hernsen wrote: > Is it possible for a CGI to create/upddate two or more webpages at once? Frankly, my advice is: Forget it! It's obviously a complicated process at best, and almost certainly you don't really want to do it. Having said that, I would update the first page, and have JavaScript on that page update the other page, if such a thing even works. -- Ron Savage ron@... http://savage.net.au/index.html ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################ |
| Free Forum Powered by Nabble | Forum Help |