Click to See Complete Forum and Search --> : pad file conversion


pcs800
02-05-2004, 11:54 AM
Is there a way to take a pad file and convert it to an html document in the format i want. Like convert it to display it's info into the proper place in a web template?

Khalid Ali
02-05-2004, 08:56 PM
Originally posted by pcs800
pad file conversion

you have to understand that some of us are not as well versed as you are..:-)
can u elaborate whats a pad file?

pcs800
02-05-2004, 09:02 PM
PAD = Portable Application Description
It is a document with the .xml extension.
Software authors use it to send a standardized description of their product to shareware sites like snapfile or zdnet.
Here is an example of a PAD file for one of my software products
www.bargainmonkey.com/software/xpipcfg.xml

Somehow, these shareware sites get this document parsed and get it's info put into an html page in a chosen template format.

Khalid Ali
02-06-2004, 12:22 AM
well u have few choices,either read the xml file on the server side(which is a recomended approach) and create html out of it.
The how part is out of the scope here because you need to know how DOM or SAX parsers work for reading or writing XML data which is not possible in this one thread.

On the client side(javascript and browsers) you may find reaources at this location help full (http://www.webapplikations.com/pages/html_js/xml_js.html?menu_id=Web_sub)

pcs800
02-06-2004, 09:32 AM
ok, thanks.
But it seems like somebody would have come up with software to do this already.
It seems like if I entered a few standard variables into a web template and the software looked at the pad file for these variables, it should be simple enough. But I can't seem to find anything anywhere.

Khalid Ali
02-06-2004, 02:58 PM
you know its simple enough,but interestingly enough you don't know
how to do it.???

Read DOM API's at
w3c.org

and then implement those methods in any standard complinat programming language(java being one)