This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2004 > Pre-CSS cleanup





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pre-CSS cleanup
bindlestiff7

2004-03-07, 7:28 am

Hi All,
I've taken on the job of converting a site to use CSS for all text handling
and am faced with an initial cleaning task to remove all the old text
formatting. Is there a routine available to remove these items from the code
or do I have to do it the hard way?

Thanks


bindlestiff7

2004-03-07, 7:28 am

Thanks Carl. There goes my Sunday!
CarlGrint

2004-03-07, 7:28 am

You could try using the Find and Replace option, but besides that, I am afraid
it is the hard way. :o(

[q][i]Originally posted by: [b][b]bindlestiff7[/b][/b][/i]
Hi All,
I've taken on the job of converting a site to use CSS for all text handling
and am faced with an initial cleaning task to remove all the old text
formatting. Is there a routine available to remove these items from the code
or do I have to do it the hard way?

Thanks[/q]



Barry Pearson

2004-03-07, 7:29 am

bindlestiff7 wrote:
> Hi All,
> I've taken on the job of converting a site to use CSS for all text
> handling and am faced with an initial cleaning task to remove all the
> old text formatting. Is there a routine available to remove these
> items from the code or do I have to do it the hard way?


Have a look at "Find & Replace". Try "Search for: Specific tag" (drop-down
menu).

You have all sorts of things there: you can search for <font> and "strip
<font>", etc. I've used this for something similar. Back-up first. Test your
replace on a test document, then when you are satisfied, if you keep DW
loaded, it will remember the last find & replace and you can be more
adventurous.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/




bindlestiff7

2004-03-07, 7:29 am

I've picked up the Tag-Stripper from Massimo's site so thanks everybody - I'll go off and play with it for a while.
raizel

2004-03-07, 1:28 pm

In article <c2eu79$jng$1@forums.macromedia.com>,
"Barry Pearson" <webmaster@childsupportanalysis.co.uk> wrote:

> Have a look at "Find & Replace". Try "Search for: Specific tag" (drop-down
> menu).
>
> You have all sorts of things there: you can search for <font> and "strip
> <font>", etc. I've used this for something similar. Back-up first. Test your
> replace on a test document, then when you are satisfied, if you keep DW
> loaded, it will remember the last find & replace and you can be more
> adventurous.


I've done this stuff and found I was more confident performing the F/R
per subdirectory. If all at root level, you still may want per page.
Enter the criteria for find on specific tag then save it (there's a
floppy disk icon or something similar in newer versions) then recall per
page. May add bit of time but SAFER for the heart :)

you'll probably find the same attributes used per tag, ie: <FONT blah
blah> so shouldn't be too bad.

I validated my page via W3C after stripping to see if I missed any
(because <FONT> is deprecated, it'll flag as error)

--
raizel
remove the STARS from your eyes to reply
jojo

2004-03-07, 2:28 pm

Hi

You should try Massimo's tag stripper, you get multiple options on the
docs you want to strip the tags you want to remove from, clean and
simple, does a great job.


--
Cheers jojo
Team Macromedia Member Volunteer for Dreamweaver MX
----------------------------------------------------
Extending Knowledge, Daily.
http://www.communityMX.com/
----------------------------------------------------
bindlestiff7

2004-03-07, 5:28 pm

Thanks Jojo, I've been playing with the Tag Stripper since someone else on the
Forum mentioned it earlier today. It has already done a job that would have
taken me best part of a day to complete.

Thanks All

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews