[Sussex] PHP and XML

Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk
Tue Oct 21 16:39:27 UTC 2003


On Tue, 2003-10-21 at 17:32, Mark Harrison wrote:
> Matthew,
> 
> In case it helps, here's a PHP file that works (for me at least.) I tend to
> write "native" XHTML into the body of the file, and only start executing PHP
> for the dynamic bits...
> 
> You should note that this is from the development server - the live site is
> going to have better written prose :-)

I think I prefer this stuff... :p

>   <td width="800" bgcolor=white valign="top">Welcome to
> StartInvesting.co.uk. If you are considering investing in the UK property
> market, this site is for you. Of course it's going to make us rich as well,
> but that's the price of freedom, kiddo.</td>

>   <td bgcolor=gray width="15%">And now, a word from our sponsors<p><b>Buy
> Our Stuff, Dammit</b></td>
>   <td width="5%"> </td>
Kinda catchy if you ask me! :D

For the site over all, I've done exactly this, used php _only_ where it
is needed and hand-coded the rest in xHtml Strict, using CSS for the
layout.  This is for a RSS Syndication feed that will generate from a
database the feed content, altough I guess I could stop tryin to
generate the entire page... 

Cheers for the idea... :D

Matt
--
+----------------------------------+
|Matthew Macdonald-Wallace         |
|The Truth Will Set you Free       |
|http://www.truthisfreedom.org.uk/ |
+----------------------------------+
BOFH Excuse #337: the butane lighter causes the pincushioning





More information about the Sussex mailing list