473,408 Members | 1,951 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,408 software developers and data experts.

migration from html to xhtml/css

Hi
i have a site with a huge number of pages which uses pure html with
font tag etc.
i plan to migrate the whole thing into xhtml/css and i am looking for
some automated tool for this

i used tidy, but tidy makes inline css for everypage and i want a
single external css file.

Also im looking if there is any good content management solution for
this

Anyone who has done similar migration might be of help

thanks
Jul 20 '05 #1
4 1988
pr***********@yahoo.com (Amit) wrote:
i have a site with a huge number of pages which uses pure html with
font tag etc.
Well, try to create new pages better.
i plan to migrate the whole thing into xhtml/css
Why? Isn't it more productive to create something new, or to update the
content of the pages. Sometimes updates are so thorough that you can
just as well redo the design too, but rewriting pages just to be modern
is rather futile. Actually, it's worse than futile if you really intend
to use XHTML, since properly served XHTML does not work on any existing
version of IE.

If you expect this to be possible using automated tools, I'm afraid you
can't have very good reasons. The use of font tags etc. means that you
have not separated structure from presentation.
If you seriously expect programs to be able to do that for you,
then you still don't know what it's about.
and i am looking for some automated tool for this


Well, then neither of the groups that you posted to wasn't the right
one; that's the case in crossposting more often than not. So _if_ you
still want to know about tools, try the .tools group, and this time
please specify which authoring environment you use.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Jul 20 '05 #2

"Jukka K. Korpela" <jk******@cs.tut.fi> schrieb im Newsbeitrag
news:Xn*****************************@193.229.0.31. ..
pr***********@yahoo.com (Amit) wrote:
i have a site with a huge number of pages which uses pure html with
font tag etc.
Well, try to create new pages better.
i plan to migrate the whole thing into xhtml/css


Why? Isn't it more productive to create something new, or to update the
content of the pages. Sometimes updates are so thorough that you can
just as well redo the design too, but rewriting pages just to be modern
is rather futile. Actually, it's worse than futile if you really intend
to use XHTML, since properly served XHTML does not work on any existing
version of IE.


Source? Arguements? Im interessted!
If you expect this to be possible using automated tools, I'm afraid you
can't have very good reasons. The use of font tags etc. means that you
have not separated structure from presentation.
If you seriously expect programs to be able to do that for you,
then you still don't know what it's about.
and i am looking for some automated tool for this


Well, then neither of the groups that you posted to wasn't the right
one; that's the case in crossposting more often than not. So _if_ you
still want to know about tools, try the .tools group, and this time
please specify which authoring environment you use.

--
Yucca, http://www.cs.tut.fi/~jkorpela/

Rene
Jul 20 '05 #3
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote:
Actually, it's worse than futile if you really intend to use XHTML,
since properly served XHTML does not work on any existing version of IE.

Rene Schöneich <re**@meinvorname.s.tldfuerde> wrote: Source? Arguements? Im interessted!


Read Appendix C of the XHTML 1.0 spec, and then read some of the commentary
(e.g., http://www.hixie.ch/advocacy/xhtml ).
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"It's easier to stay out than to get out." - Mark Twain
Jul 20 '05 #4
On 8 Feb 2004 12:57:07 -0800, pr***********@yahoo.com (Amit) wrote:
i have a site with a huge number of pages which uses pure html with
font tag etc.
i plan to migrate the whole thing into xhtml/css and i am looking for
some automated tool for this

i used tidy, but tidy makes inline css for everypage and i want a
single external css file.

It is most unlikely that this can be done automatically. Your external
CSS file will in any case have to be created manually: for example no
tool can create meaningful class names for you. And no tool can
determine whether two very similar <font> elements differ for a reason
or not.

You can then speed up the conversion of individual files with a good
macro-editor, but it remains a basically manual process. Concentrate on
doing new pages correctly, and tidy up old pages when they need to be
updated anyway.

Based on my experience with converting a few tag-soup pages, it's often
easier not to convert them as such (by which I mean writing a macro
which tries to convert a particular font definition to a particular
class), but to start by simply stripping out all the <font> junk
completely, and then add the classes back in manually.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #5

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

Similar topics

4
by: Amit | last post by:
Hi i have a site with a huge number of pages which uses pure html with font tag etc. i plan to migrate the whole thing into xhtml/css and i am looking for some automated tool for this i used...
32
by: Werner Partner | last post by:
I put this question already, but erhaps it "came under the wheels" because it was hidden in another thread. Nevertheless it's important for me to understand the problem and solve it. Old html...
6
by: Andre | last post by:
Hi, We had an existing application in ASP.NET 1.1. After migration I tried to utilize MasterPages. The test showed that format for most of labels is treated differently e.g. TextBox'es are much...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.