|
Posted by David Sevilla on August 9, 2008, 6:52 am
Please log in for more thread options
Hi,
My website has 20+ pages, most of them having a main menu on top and
then secondary menus that depend on the page. I have been looking for
a free HTML editor (text is more than enough) with a feature similar
to Dreamweaver's library items, that is, including the contents of one
file into another so that changes in the first will reflect in the
second. I have seen SciTE cited somewhere as a possibility, but from
what I see in their site it's not obvious at all how to use it as a
text editor. Another one I have found is Arachnophilia, but after
installing this one I can't find anything that will allow for these
updates I may need. Any suggestions on these or other programs?
Thanks in advance,
David
|
|
Posted by Chris F.A. Johnson on August 9, 2008, 5:02 pm
Please log in for more thread options
On 2008-08-09, David Sevilla wrote:
> Hi,
>
> My website has 20+ pages, most of them having a main menu on top and
> then secondary menus that depend on the page. I have been looking for
> a free HTML editor (text is more than enough) with a feature similar
> to Dreamweaver's library items, that is, including the contents of one
> file into another so that changes in the first will reflect in the
> second. I have seen SciTE cited somewhere as a possibility, but from
> what I see in their site it's not obvious at all how to use it as a
> text editor. Another one I have found is Arachnophilia, but after
> installing this one I can't find anything that will allow for these
> updates I may need. Any suggestions on these or other programs?
I'd use server-side includes, rather than duplicate the code in
multiple places.
--
Chris F.A. Johnson <http://cfaj.freeshell.org> ===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
|
|
Posted by David Sevilla on August 9, 2008, 6:33 pm
Please log in for more thread options
> On 2008-08-09, David Sevilla wrote:
>
> > Hi,
>
> > My website has 20+ pages, most of them having a main menu on top and
> > then secondary menus that depend on the page. I have been looking for
> > a free HTML editor (text is more than enough) with a feature similar
> > to Dreamweaver's library items, that is, including the contents of one
> > file into another so that changes in the first will reflect in the
> > second. I have seen SciTE cited somewhere as a possibility, but from
> > what I see in their site it's not obvious at all how to use it as a
> > text editor. Another one I have found is Arachnophilia, but after
> > installing this one I can't find anything that will allow for these
> > updates I may need. Any suggestions on these or other programs?
>
> I'd use server-side includes, rather than duplicate the code in
> multiple places.
I considered this, but I don't think this would work in the free
webhost where I have my site. I'll make sure, though. Still, I welcome
suggestions about software that can do what I want... for one thing, I
will create other sites in the future and I cannot be sure I will have
SSI available.
Thanks,
David
|
|
Posted by Bergamot on August 10, 2008, 12:55 pm
Please log in for more thread options
David Sevilla wrote:
>> On 2008-08-09, David Sevilla wrote:
>>
>> > I have been looking for
>> > a free HTML editor (text is more than enough) with a feature similar
>> > to Dreamweaver's library items, that is, including the contents of one
>> > file into another
>>
>> I'd use server-side includes
>
> I considered this, but I don't think this would work in the free
> webhost where I have my site.
Look into preprocessors. They allow you to use "include" files in your
source HTML files. You then run the sources through the preprocessor and
it generates new HTML files that you can upload to the server. I find a
preprocessor very handy for maintaining small sites.
The one I've been using for several years now is GTML, which is nothing
more than a big perl script. If you're moving to linux, perl should be
no problem. There are other preprocessors, of course.
--
Berg
|
|
Posted by Randal L. Schwartz on August 11, 2008, 10:21 am
Please log in for more thread options
Bergamot> Look into preprocessors. They allow you to use "include" files in
Bergamot> your source HTML files. You then run the sources through the
Bergamot> preprocessor and it generates new HTML files that you can upload to
Bergamot> the server. I find a preprocessor very handy for maintaining small
Bergamot> sites.
Bergamot> The one I've been using for several years now is GTML, which is
Bergamot> nothing more than a big perl script. If you're moving to linux, perl
Bergamot> should be no problem. There are other preprocessors, of course.
And Perl's Template Toolkit has a nice "turn this tree of files into a
template output result", with make-like features so it updates only the parts
that have changed. The output tree could be pushed to any static site.
print "Just another Perl hacker,"; # the original
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
|
| Similar Threads | Posted | | The favico feature and the free short URL | November 28, 2004, 3:09 pm |
| A great free html editor... | February 23, 2005, 5:01 am |
| Nvu: c-BEST FREE GRAPHIC HTML EDITOR & TUTORIAL | July 16, 2005, 2:20 pm |
| free HTML editor/divs and not tables for layout? | January 13, 2008, 10:00 am |
| free editor like frontpage? | February 16, 2006, 3:51 pm |
| CssEditor: Free Css editor Released | October 19, 2008, 7:33 pm |
| Extracting Semantic Structure of HTML Document- Feature based | January 30, 2005, 7:43 pm |
| Server Side Include (SSI) Include Help | December 12, 2006, 12:18 am |
| HTML editor vs. WYSIWYG editor, CSS | May 10, 2006, 1:41 am |
| HTML include? | April 8, 2007, 6:15 am |
|