Posted by Oli Filth on 06/07/05 01:05
Luigi Donatello Asero said the following on 06/06/2005 22:28:
> "Oli Filth" <catch@olifilth.co.uk> skrev i meddelandet
> news:3RYoe.1927$ls3.713@newsfe1-win.ntli.net...
>
>>e.g.:
>>
>>menu.html
>>=========
>>
>><DIV id="menu">
>><H2>Menu</H2>
>><UL>
>><LI><A href="page.php">Home</A></LI>
>><LI><A href="shoes.php">Shoes</A></LI>
>><LI><A href="stuff.php">Stuff</A></LI>
>></UL>
>></DIV>
>>
>>
>>home.php
>>========
>>
>><!DOCTYPE ...>
>><HTML>
>><HEAD>...</HEAD>
>><BODY>
>><?php include "menu.html"; ?>
>>
>><H1>Welcome to my site!</H1>
>>....
>>....
>></BODY>
>></HTML>
>>
>>Use the same <?php include "menu.html"; ?> line in every page.
>>Obviously, you'd need to work out how to get it to cope with different
>>language versions.
>>
>>That's how I design all of my sites. It works. It saves me huge amounts
>>of time. It's easy to maintain. It ensures all pages are consistent and
>>up to date. It keeps page infrastructure separate from page content. You
>>have no reason not to at least try this!
>
>
>>There - that is direct, practical, sensible advice that answers your
>>original question. ;)
>
> Yes, it is.
> But I am afraid that it is not robots´ friendly.
That's nonsense! Who told you that?
--
Oli
[Back to original message]
|