Easy HTML --> XML Program?

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply
Guest

Easy HTML --> XML Program?

Post by Guest »

Hello,

Is there a program out there that will allow me to convert the HTML template I'm using right now to a XML template?

Currently, I use this template...

Full

Code: Select all

<!-- Ant Movie Catalog Template - Created By WeBsEcReTa - http://websecreta.cjb.net - websecreta@yahoo.com -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Total Series : $$TOTALMOVIES</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<STYLE><!--
A {text-decoration: none;}
A:hover {text-decoration: underline;}
TD {font: 7pt Verdana, Arial, Helvetica, sans-serif;}
--></STYLE>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" align="center">
  <tr>
    <td><p align="right"><strong>Last Update</strong>: $$DATE<br><br><br><br>
      <table border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#000000">
        <tr bgcolor="#CCCCCC">
          <td><div align="center"><strong>Vietnamese</strong></div></td>
          <td><div align="center"><strong>English</strong></div></td>
          <td><div align="center"><strong>DATE ADD</strong></div></td>
        </tr>
        $$ITEM_BEGIN
        <tr bgcolor="#FFFFFF">
          <td><a href="$$ITEM_FILEINDIV">$$ITEM_ORIGINALTITLE</a></td>
          <td>$$ITEM_TRANSLATEDTITLE</td>
          <td>$$ITEM_DATEADD</td>
        </tr>
        $$ITEM_END
      </table><br><br>
      <p align="center"><a href="http://www.antp.be/software/moviecatalog">
       <img src="http://members.rogers.com/phln/dbhtml/ant.banner.png" alt= "[Get Ant Movie Catalog!]"></a>
      </td>
  </tr>
</table>
</body>
</html>
Indi

Code: Select all

<!-- Ant Movie Catalog Template - Created By WeBsEcReTa - http://websecreta.cjb.net - websecreta@yahoo.com -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$$ITEM_FORMATTEDTITLE2</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<STYLE><!--
A {text-decoration: none;}
A:hover {text-decoration: underline;}
TD {font: 8pt Verdana, Arial, Helvetica, sans-serif;}
--></STYLE>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="16%" bgcolor="#000000"><div align="center"><strong><font color="#FFFFFF">INFO</font></strong></div></td>
    <td width="84%"> </td>
  </tr>
</table>
<table width="80%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#000000">
  <tr>
    <td colspan="3" bgcolor="#CCCCCC"><div align="center"><strong>$$ITEM_FORMATTEDTITLE1</strong></div></td>
  </tr>
  <tr>
    <td rowspan="5" bgcolor="#FFFFFF"><div align="center"><img alt=$$ITEM_PICTURE</div></td>
  <tr bgcolor="#FFFFFF">
    <td colspan="3"> <div align="justify">
        $$ITEM_DESCRIPTION </div></td>
  </tr>
</table>
<br>
<table width="75%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#000000">
  </tr>
</table>
<div align="center"><br>
  [ <a href="javascript:history.back();">Back</a> ]</div>
</body>
</html>
I'm liking it so far... The only thing that is missing is a search feature... But I guess that can be add later when I figure it out... The only problem with this... Is that I noticed my database is wasting space by creating a sepperate html for each entries... I try out a XML template from Twink.. And it would seem that it is easier.. Just a single xml file... And the cover pics... Instead of having multiple htmls running around.... Speaking of Twink.. One thing that nag me about that template.. Is that when I put my covers in the /pics folder.. It doesn't work... Also.. Firefox won't display the result properly... So had to ditch it...

Anyway if anyone know of a program that can convert my template into xml format.. I would appreciate it if you point me the way.... Thanks
Post Reply