Firebug Live Editing

70 views
Skip to first unread message

Matt Minten

unread,
Aug 7, 2009, 11:53:10 AM8/7/09
to Firebug
I see that I can edit HTML using Firebug and see what the changes look
like.

Is there any way to make these changes actually occur on my hosting
server?

I would obviously have to make an FTP connection with password &
username but this would be very helpful rather than having to go into
my HTML editing program and having to find and make the same changes
again.

ColinFine

unread,
Aug 18, 2009, 7:42:29 AM8/18/09
to Firebug
I believe I have seen talk about a possible extension to let you save
your changes in a local file; but IMO there is absolutely no chance of
a facility to get them onto your server, because the browser has
absolutely no knowledge about where the HTML came from on your server.
It might have been an HTML file, something generated by DHTML, the
result of a CGI program, or even created on the client by
Javascript ...

miopa

unread,
Sep 15, 2009, 9:43:36 PM9/15/09
to Firebug
You're right about the HTML, but CSS files are mostly static. Firebug
knows exactly from which file and which line every statement comes, so
given an FTP connection and a webroot folder path it should have no
problems updating these. FireBug with this feature will be a CSS
designers dream tool.

Kevin Decker

unread,
Sep 17, 2009, 10:45:24 AM9/17/09
to Firebug
There are a couple of issues here:
1) Firefox does not absolutely know that it is pulling from a static
file. All that it knows is that it is reading the response from the
server and the server can map any URL to any response. One of my own
projects uses a servlet to generate CSS for the purposes of
aggregation and cache control.

2) The information that we have available to Firebug is not enough to
properly regenerate the complete CSS file. We have to make assumptions
about things like formatting and we have absolutely no information
about comments that existed in the original source. Depending on the
goal of the author this might be sufficient, if they are just looking
for something that is machine readable. If they are looking for
something that is more human readable, they may have to make some
additional changes to this source to tweak it.

Firediff will hopefully have the export to local file system
capability built into the 1.0 release, which should hopefully occur
sometime around the release of Firebug 1.5. http://www.incaseofstairs.com/
should have an announcement posted when this release is made
available.
Reply all
Reply to author
Forward
0 new messages