hi Kevin,
on the server side (firefile.php), it's possible to specify a valid path to
a "csstidy" installation (which actually is just uploading 3 files to a
folder): http://csstidy.sourceforge.net/. It's pretty easy: Specify a
relative path (accessing firefile.php configuration interface by your web
browser) to the CSSTidy directory (no installation required, just upload).
CSSTidy formats the css string from firefox (something like
div#test{color:blue;width:200px;}a.mylink:link{font-weight:bold;color:#FFCCCC})
to a unified format (which can be changes: read CSSTidy documentation):
div#test {
color:blue;
width:200px;
}
a.mylink:link {
font-weight:bold;
color:#FFCCCC
}
Benefits:
- unified css
- no formatting needed (firebug css input works pretty well IMO)
- Priorities are maintained (the order of style rules won't change by
saving)
Contra:
- Loss of Documentation (/* COMMENT */)
- Unexpected behaviour (i don't know of any, but i can't garantee: make
backups!!!)
For now, i have not yet received any kind of write errors to css files (once
in 100, it's not saving anything). I successfully sent changes to large css
files like ext-all.css (from ExtJS Javascript Library) without troubles.
I'm happy to help if you have any questions or need support,
Tobias
2009/12/10 Kevin Decker <[email protected]>
> Tobias,
>
> How are you doing the formatting for this functionality? This has been
> the biggest sticking point for Firediff, which I might have a simple
> solution for, but nothing to handle all of the cases.
>
> On Dec 10, 2:15 am, Tobias Strebitzer <[email protected]>
> wrote:
> > hi, i wrote a firebug extension that does that:
> https://addons.mozilla.org/de/firefox/addon/52365
> >
> > It's still in sandbox, but should work.
> >
> > Regards, tobias
> >
> > 2009/12/9 Star-Network <[email protected]>
> >
> >
> >
> > > I see the conversations about the function to save / export the css
> > > changes to local file / ftp server
> > > Is there any time estimation for this feature?
> > > can I help with JS development to promote this feature ?
> >
> > > Best Regards,
> > > Star-Network.
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Firebug" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<firebug%[email protected]>
> <firebug%[email protected]<firebug%[email protected]>>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/firebug?hl=en.
>
--
--
Tobias Strebitzer
Software Engineering
ad: holzweg e-commerce solutions
Sillgasse 12/2.Stock/Top 201
A-6020 Innsbruck
em: [email protected]
hp: www.holzweg.com
-----------------------------------------------------------
Medienportal, Community & Logo made by holzweg
www.stol.it
-----------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.