<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi<br>
<br>
I am a developer and would like to have a way of sharing code snippets
or whole programs through XHTML. That way we can create a 'free source
code' search engine, or just use google for it. And of course it should
use the &lt;code&gt; tag. <br>
<br>
We could use a lot of predefined class names to relate to the piece of
code:<br>
- language<br>
- type (snippet/function/program/package)<br>
- title could describe the program<br>
<br>
Example:<br>
&lt;code class="PHP snippet" title="why eval is evil"&gt;<br>
&nbsp; $evil = eval($good);<br>
&lt;/code&gt;<br>
<br>
And while we are at it, why not use the same tags on links or meta
tags, so that we can define this in multiple levels.<br>
<br>
Hm, if the rel tag can be used on code, we might have to use that. What
do you think?<br>
<br>
Michiel<br>
</font>
</body>
</html>