You are here: Re: A multilingual site in html? « HTML « IT news, forums, messages
Re: A multilingual site in html?

Posted by Adrienne Boswell on 04/13/07 05:39

Gazing into my crystal ball I observed Ikke <ikke@hier.be> writing in
news:Xns99117F9F12F7ikkehierbe@195.130.132.70:

> I know that PHP/JSP/ASP is probably a better way to go, but I just
> wanted to know if it was possible to do this in pure html.

No

>
> Also, it takes me a lot less time to create the html pages than to
> create a dynamic site ;)
>

Actually, once you get the skeleton done, it's a lot faster to write
dynamic sites than static sites.

For example, this is what of one of my pages looks like for the church
site I maintain:
<% option explicit %>
<!--#include file="linkrel.asp"-->
<!--#include file="getdoc_inc.asp"-->
<!--#include file="meta_inc.asp"-->
</head>
<body>
<!--#include file="nav_inc.asp"-->
<div id="content">
<!--#include file="h1_inc.asp"-->
<!--#include file="ref_inc.asp"-->
<% if issearching then %>
<%=Highlight(content,needle)%>
<%else%>
<%=content%>
<%end if%>
</div>
<!--#include file="rhs_inc.asp"-->
<!--#include file="copyright_inc.asp"-->
<!--#include file="editdoc_inc.asp"-->
</body>
</html>

And this is all I do to generate a new document:
if not systemerror then
'create the document on the server
Set fso = CreateObject("Scripting.FileSystemObject")
Set fileObject = fso.GetFile(Server.MapPath("newdoc_template.asp"))
fileObject.Copy Server.MapPath(pageurl),false
Set fileObject = Nothing
Set fso = Nothing
end if




--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация