Posted by Kai Schlamp on 09/23/07 14:32
> Why do you want to convert it into nonsense? <th><td> is not only
> invalid in every version of HTML but also makes no sense whatever.
>
> Try learning HTML first.
Of course I meant <tr><td>, but that's not the point.
My problem is, that I have to integrate the same website into
different content management systems.
But those CMS's internally use completely different structures
(sometimes hardcoded) to present the data.
For example Joomla uses
<table class="contentpaneopen">
<tbody>
<tr>
<td class="contentheading" width="100%">
<a class="contentpagetitle" href="xxx">Content Title</a>
</td>
</tr>
</tbody>
</table>
for a single article title,
whereas drupal uses
<h2 class="node-title">
<a title="Content title" href="xxx">Content Title</a>
</h2>
So instead of rewrite every page for every specific CMS, I want to
manage it the way I stated in my first post. This way I can simply
switch to another option file, where my tags are different defined.
What do you mean by reinventing XML? Should I use something like XSLT
(not really familiar with it)? Please point me in the right direction.
Kai
[Back to original message]
|