473,386 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Converting thousands of pages to XML

What's the best and fastest way to approach converting a large HTML
site to XML? Thanks.
Jul 20 '05 #1
5 1382
lq****@univ.llu.edu wrote:
What's the best and fastest way to approach converting a large HTML
site to XML?


That rather depends on what dialect of XML you wish to convert the HTML to,
what form the HTML is at present, and what your skills are.

I would probably do something involving Perl, File::Find, HTML::Parser or
HTML::TreeBuilder, and one of the many XML modules for Perl.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Jul 20 '05 #2
On 18 Apr 2004 08:55:43 -0700, lq****@univ.llu.edu wrote:
What's the best and fastest way to approach converting a large HTML
site to XML? Thanks.


HTML Tidy is a good start (assuming your target is XHTML)

Then go to c.i.w.a.h and ask "Why ?"

--
Smert' spamionam
Jul 20 '05 #3
Andy Dingley <di*****@codesmiths.com> wrote in message news:<pr********************************@4ax.com>. ..
On 18 Apr 2004 08:55:43 -0700, lq****@univ.llu.edu wrote:
What's the best and fastest way to approach converting a large HTML
site to XML? Thanks.


HTML Tidy is a good start (assuming your target is XHTML)

Then go to c.i.w.a.h and ask "Why ?"


Hello,

Thank you for your suggestion regarding converting to XHTML. I am new
to using these groups, however, and just looked up c.i.w.a.h! Very
interesting—and I don't think I'll ask.

Regards

LQ
Jul 20 '05 #4
On 19 Apr 2004 19:27:59 -0700, lq****@univ.llu.edu wrote:
Thank you for your suggestion regarding converting to XHTML. I am new
to using these groups, however, and just looked up c.i.w.a.h! Very
interesting—and I don't think I'll ask.


8-)

c.i.w.a.h is one of the most unfriendly groups I know of, and
certainly the most useless and downright hostile that I still bother
to read. "Converting to XHTML" is a regular topic in there and
searching will show up some interesting discussion of its benefits, or
lack of them. However many people in there have egos bigger than
their knowledge and will spout the same old party line with more
volume than understanding.

HTML Tidy is open sourced, AFAIR, and if you have a huge number of
files to convert, you can tie the source into your favourite choice of
scripting language.

--
Smert' spamionam
Jul 20 '05 #5
Andy Dingley <di*****@codesmiths.com> wrote in message news:<fv********************************@4ax.com>. ..
On 19 Apr 2004 19:27:59 -0700, lq****@univ.llu.edu wrote:
Thank you for your suggestion regarding converting to XHTML. I am new
to using these groups, however, and just looked up c.i.w.a.h! Very
interesting?and I don't think I'll ask.


8-)

c.i.w.a.h is one of the most unfriendly groups I know of, and
certainly the most useless and downright hostile that I still bother
to read. "Converting to XHTML" is a regular topic in there and
searching will show up some interesting discussion of its benefits, or
lack of them. However many people in there have egos bigger than
their knowledge and will spout the same old party line with more
volume than understanding.

HTML Tidy is open sourced, AFAIR, and if you have a huge number of
files to convert, you can tie the source into your favourite choice of
scripting language.


I guess it couldn't hurt to see what they have to say! Thanks again
for the info. HTML Tidy may come in handy.
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Al Moritz | last post by:
Hi all, I was always told that the conversion of Word files to HTML as done by Word itself sucks - you get a lot of unnecessary code that can influence the design on web browsers other than...
2
by: Mariusz Sakowski | last post by:
I'm writing class which will be able to store large numbers (my ambition is to make it able to operand on thousands of bits) and perform various operations on it (similiar to those available with...
2
by: Dave | last post by:
I am converting an ASP Classic web site to an ASP.NET application and have some real basic formatting or design questions. (The classic ASP site has both code (forms) and content pages.) 1.When...
2
by: Dave | last post by:
Hi, Im considering converting a legacy application from asp to aspx (vb) - just for the purpose of learning (Im new at .net, but experienced at vbscript) What I need to get my head around, is...
7
by: MeganTSU | last post by:
Hey yall! I am trying to get this program finished for class.... It says that you are suppposed to write a program that will display a check formatted out put (the output looks like a check). I got...
59
by: Rico | last post by:
Hello, I have an application that I'm converting to Access 2003 and SQL Server 2005 Express. The application uses extensive use of DAO and the SEEK method on indexes. I'm having an issue when...
1
by: pebelund | last post by:
Hi I got an .aspx that got the following code (example) <td width="120"> <% = row %> </td> row takes a value from a SQL db, that is a string of numbers. On the webbsite I want this to show...
25
by: Blasting Cap | last post by:
I keep getting errors that pop up when I am trying to convert an application from dotnet framework 1.1 to framework 2.0. The old project was saved in sourcesafe from Visual Studio 2003, and I have...
6
by: ll | last post by:
Hi, I'm currently working with a 'classic ASP' intranet site which uses a SQL server and am looking for possible ways to market it as an application for certain medical fields. Where would be a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.