I have been using HTML-Kit as my editor. I have been using PPWizard
pre-processor to insert common blocks of HTML. I am considering
switching to includeHTML as my pre-processor. My impression of the
pros and cons is as follows:
1) PPWizard *substitutes* HTML code for special tags, so you have 2
files for each page: the "before" and "after" files. To see a display
of the final form, one must view the "after" file. To re-edit, one
must switch back to the "before" file, make a change, run it through
PPWizard again (outside of HTML-Kit), and view the new "after" file.
includeHTML substitutes code between special tags, and *retains* those
tags. So, one needs to edit only one file (creating new versions), and
that file can always be displayed in final form. Thus, re-editing is
easier with includeHTML.
2) The "after" file generated by PPWizard shows no evidence of
pre-processor tags. I am the volunteer webmaster for a small
non-profit group http://www.catsociety.org. If I get "hit by a bus,"
another volunteer who may not have the time/experience/desire to learn
the pre-processor would find it easier to pick up and run with the
files generated by PPWizard.
Do I have a correct view of how these two very cool, free,
pre-processors compare? What important points am I missing?
Thanks,
Teffy 5 2207
In article <49************ **************@ posting.google. com>, WG**********@sp ammotel.com says... 1) PPWizard *substitutes* HTML code for special tags, so you have 2 files for each page: the "before" and "after" files. To see a display of the final form, one must view the "after" file. To re-edit, one must switch back to the "before" file, make a change, run it through PPWizard again (outside of HTML-Kit), and view the new "after" file.
includeHTML substitutes code between special tags, and *retains* those tags. So, one needs to edit only one file (creating new versions), and that file can always be displayed in final form. Thus, re-editing is easier with includeHTML.
2) The "after" file generated by PPWizard shows no evidence of pre-processor tags. I am the volunteer webmaster for a small non-profit group http://www.catsociety.org. If I get "hit by a bus," another volunteer who may not have the time/experience/desire to learn the pre-processor would find it easier to pick up and run with the files generated by PPWizard.
Do I have a correct view of how these two very cool, free, pre-processors compare? What important points am I missing?
Either write some documentation for the process you go through now, or
switch to SSI.
--
Hywel I do not eat quiche http://hyweljenkins.co.uk/ http://hyweljenkins.co.uk/mfaq.php
I almost forgot:
3) I think you cannot execute logic with includeHTML. With PPWizard,
the page navigation links included are different depending on which page
is being generated. Or, maybe there is a better way to do something
similar? http://www.catsociety.org
Teffy
Teffy wrote: I have been using HTML-Kit as my editor. I have been using PPWizard pre-processor to insert common blocks of HTML. I am considering switching to includeHTML as my pre-processor. My impression of the pros and cons is as follows:
1) PPWizard *substitutes* HTML code for special tags, so you have 2 files for each page: the "before" and "after" files. To see a display of the final form, one must view the "after" file. To re-edit, one must switch back to the "before" file, make a change, run it through PPWizard again (outside of HTML-Kit), and view the new "after" file.
includeHTML substitutes code between special tags, and *retains* those tags. So, one needs to edit only one file (creating new versions), and that file can always be displayed in final form. Thus, re-editing is easier with includeHTML.
2) The "after" file generated by PPWizard shows no evidence of pre-processor tags. I am the volunteer webmaster for a small non-profit group http://www.catsociety.org. If I get "hit by a bus," another volunteer who may not have the time/experience/desire to learn the pre-processor would find it easier to pick up and run with the files generated by PPWizard.
Do I have a correct view of how these two very cool, free, pre-processors compare? What important points am I missing?
Thanks, Teffy
Teffy wrote: .........[snipped] ............... .... Do I have a correct view of how these two very cool, free, pre-processors compare? What important points am I missing?
You can actually learn enough Perl to write your own
quick-and-dirty preprocessor in no time, and you'd be
doing yourself the great favor of learning a web
programming language.
--
Cheers, m at http://www.mbstevens.com/
....via Tux and Ice: 0% GatesBloat.
In article <49************ **************@ posting.google. com>, one of infinite monkeys
at the keyboard of WG**********@sp ammotel.com (Teffy) wrote: Do I have a correct view of how these two very cool, free, pre-processors compare? What important points am I missing?
I've no idea - I haven't used them. But your account of them looks
too coherent to be nonsense, so I'll take it as accurate. I make no
comment on whether either of them generate "sane" HTML beyond the
scope of your specific question.
Any preprocessor that relies on special tags that are not defined
in HTML *must* ensure they are not served up to browsers. From your
post it's clear that PPWizard gets that right, and likely that
includeHTML screws it up.
I say "likely", because there is an ugly but legitimate hack that
gets round the problem: namely embedding preprocessor instructions in
<!-- html comments -->. This is of course best known in SSI, and if
that's what includeHTML is leaving behind you're OK.
SGML or XML offer more robust solutions to this. But you can't present
them to todays web browsers without a lot more work, and a more
sophisticated publishing framework such as mod_xmlns or XSLT.
--
Nick Kew
In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
Nick Kew wrote: In article <49************ **************@ posting.google. com>, one of infinite monkeys at the keyboard of WG**********@sp ammotel.com (Teffy) wrote:
Any preprocessor that relies on special tags that are not defined in HTML *must* ensure they are not served up to browsers. From your post it's clear that PPWizard gets that right, and likely that includeHTML screws it up.
I say "likely", because there is an ugly but legitimate hack that gets round the problem: namely embedding preprocessor instructions in <!-- html comments -->. This is of course best known in SSI, and if that's what includeHTML is leaving behind you're OK.
Comments are what it leaves behind. Thanks for your thoughts.
Teffy This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Aaron Chan |
last post by:
Hello all,
After looking around for a while, I seem not to be able to find a HTML
preprocessor for Windows with *Unicode* support... I've tried htp, ppWizard
and htmlex, all of which fit my purposes very well, except they don't
support Unicode :( Anyone have a suggestion? (free ones only, please)
Thanks,
Aaron
|
by: BobK |
last post by:
Hi Everyone,
Is there a way to add a line of code to all pages at one time?
I would like to do a monthly update to every page but don't want to have to
do each page individually.
I am using HTML Kit for updates.
Thanks a lot,
|
by: steven |
last post by:
Hi,
I have a header which consists of an image with clickable areas. Now since
this header appears on all my pages it would make sense to put it as a
background-image in my CSS. However, I can't see how I can put the image
maps in the CSS.
(I guess it can't be done because backgrounds are backgrounds and should not
have active areas?)
|
by: JBH |
last post by:
I'm having difficulty removing spacing between two rows in a table.
Below is a copy of my source code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>About Isadore Gallery</title>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="keywords" content="history of Isadore Gallery, about
|
by: mal_k100 |
last post by:
I am seeting up a help system that uses some common text. Using a frame
I can link to the common text :
<FRAMESET ROWS="100,*" >
<FRAME SRC="SpecificTextForHelpPage1.htm" scrolling=no frameborder=0
noresize >
<FRAME SRC="GenericText.htm" frameborder=0 noresize>
</FRAMESET>
This is repeated for SpecificTextForHelpPage2.htm and so on, using the
same Generictext on the lower part of the page.
| |
by: griffithsj_520 |
last post by:
I have to create a web page to give to clients that is shipped on CD.
The idea is that they would open the page and it would display in their
web browser.
What this will do is to provide a list of most recent changes to the
software we're shipping. The idea is that there would be an un-ordered
list <ul/> with a list of changes (not sure of final desired mark-up).
What we want to do is to get the developers to edit a file that simply...
|
by: mike |
last post by:
I help manage a large web site, one that has over
600 html pages... It's a reference site for ham radio
folks and as an example, one page indexes over
1.8 gb of on-line PDF documents.
The site is structured as an upside-down tree, and
(if I remember correctly) never more than 4 levels.
The site basically grew (like the creeping black blob) ...
all the pages were created in Notepad over the last
|
by: Jeff User |
last post by:
Hi all
How can I load an existing html file into a table cell for display?
Setting the TableCell.Text to an existing web file path only displays
the path of the file, but not the file itself.
System.Web.UI.WebControls.TableCell c =
(TableCell)Page.FindControl(sMainCell);
|
by: kisloid |
last post by:
Could anyone give me idea how make bloglike NavBar? I would like to add on each page 10 links with 10 previous items. Every item files may numbered as 01.html, 02.html, 03.html, etc...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |