Reply to Re: cleaning up classes and ids in large site

Your name:

Reply:


Posted by Joe (GKF) on 02/19/07 00:07

In article <doraymeRidThis-53ECF3.08295017022007@news-
vip.optusnet.com.au>, doraymeRidThis@optusnet.com.au says...
> In article
> <1171621920.759700.57610@a75g2000cwd.googlegroups.com>,
> "shimmyshack" <matt.farey@gmail.com> wrote:
>
> > On 16 Feb, 07:47, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> > > In article
> > > <1171600584.942773.271...@q2g2000cwa.googlegroups.com>,
> > >
> > > "shimmyshack" <matt.fa...@gmail.com> wrote:
> > > > On 16 Feb, 03:12, mbstevens <NOXwebmast...@xmbstevensx.com> wrote:
> > > > > On Thu, 15 Feb 2007 19:02:00 -0800, windandwaves wrote:
> > > > > > a. find all the IDs and classes used on the site.
> > > > > > b. check if these classes and IDs are listed in the css
> > > > > > c. find any classes and IDs listed in the css that are no longer used
> > > > > > on the site
> > >
> > > > > I know of nothing ready-made, but it should be reasonably easy to
> > > > > program in either Perl or Python.
> > >
> > > > if i were you I would write a small reg exp that goes and grabs
> > > > classes from the css files, put them inside a javascript object/array
> > > > and download the behaviour.js library and include the object and class
> > > > in a script on each page.
> > >
> > > Would you now! I gave a perfectly simple way to do the job and
> > > yet you still would do this.
> > >
> > > --
> > > dorayme
> >

Cake metaphor! Bewdy!
> ...
> > ... it is a bit different to real life where you make the cake
> > with eggs, here we make the mixing bowl and throw it, a hen and some
> > grain at the client. If they have a compliant user-agent their cake
> > will taste nicer.
>

????
....

> said... php, dynamic, css, database, client this and that, shake
> it all up and bake it for 2 hours at 250 C... <g>
>
Most of my websites only need 40 minutes at 180 C

> I was not really offended, just miffed at the general silence or
> off key replies whenever I propose S & R techniques. I am
> beginning to think that a lot of people simply do not know the
> capabilities of good S & R engines that come with good text
> editors.
>
I use S&R a lot. It's easy. It works.


>
> But for what the OP seemed to want, not even GREP needed to be
> used.
>


--
Please visit -
Water saving tips: http://graspages.cjb.cc/bigdry/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация