473,382 Members | 1,726 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,382 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 1985
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.