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

Your name:

Reply:


Posted by dorayme on 02/16/07 07:47

In article
<1171600584.942773.271530@q2g2000cwa.googlegroups.com>,
"shimmyshack" <matt.farey@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

[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

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