RE: variables and .HTML

Subject: RE: variables and .HTML
From: "John Locke" <mail -at- freelock -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Tue, 19 Jun 2001 10:25:52 -0700

Aside from PERL and NetObjects Fusion, just about any Server-side middleware
will easily do the trick. It just depends what your web server is, and what
you have installed.

If you use Microsoft servers, you can probably use Active Server Pages
(ASP), or server includes (.shtml files).

If you use Apache servers, install PHP.

Then, all you need to do is put the name in a file, and include the file.
For example, on a Microsoft server, you could put the following in your web
page:

<title>Managing the <!--#include
virtual="/includes/servername.txt"--></title>

and put the name of your product in a servername.txt file and post it to the
/include directory. You would then need to save the page with a .asp or
.shtml file to indicate to the server that it needs to do some
pre-processing on this file.

Better, move all of your header information to include files. If you use
ASP, every single page on your site could load the same basic header
information. You could set an ASP variable in a header file loaded by every
web page on the site, and then wherever you want to use the product name,
return the ASP variable. For example, in your header file, you could set a
ProductName variable. Then, in your file, it might look like:
<p> For the <%= ProductName %>, insert...</p>

Solutions for PERL, PHP, and any of a dozen other technologies are very
similar. Pick your poison...

HTML itself won't do it.

--John Locke
http://www.freelock.com


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

*** Deva(tm) Tools for Dreamweaver and Deva(tm) Search ***
Build Contents, Indexes, and Search for Web Sites and Help Systems
Available now at http://www.devahelp.com or info -at- devahelp -dot- com

Sponsored by Cub Lea, specialist in low-cost outsourced development
and documentation. Overload and time-sensitive jobs at exceptional
rates. Unique free gifts for all visitors to http://www.cublea.com

---
You are currently subscribed to techwr-l as: archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.


References:
variables and .HTML: From: Wrdfinesse

Previous by Author: RE: Portfolio For a New Tech Writer?
Next by Author: RE: TOOL needed
Previous by Thread: variables and .HTML
Next by Thread: RE: variables and .HTML


What this post helpful? Share it with friends and colleagues:


Sponsored Ads