Even though phase 1 of ^Edit (getting it debugged and fully implemented) is far from over, I couldn’t wait to branch out phase 2: a Firefox extension. I’M A MAAADMAN!
Eventually, I’d like to see ^Edit do for the content on the web, what GreaseMonkey does for the structure. You can consider it a refinement of the Wikialong extension, but we’re not talking about a sidebar; we’re talking about changing the content inline! Wooohooohooo *evil Jabba laugh*
I’ve set the extension to enable ^editing of any html paragraph (<P>) on a page.
Now don’t get too excited just yet, I’ve commented out saving your changes for now. The server-side code and database isn’t stable enough for you crazy maniacs to start smacking my server…yet. But, it’s a very small change to the javascript to do so. I just have to convert the XMLHTTPRequests to use the Firefox-only, cross-domain GM_xmlhttpRequest.
Now install this puppy and head over to CNN to have some fun ^editing their stories
Shift Edit Firefox Extension v0.1.8
NOTE: The Shift Edit demos on this site will NOT work after you install this extension (same code overlapping
) so make sure to disable/uninstall this extension when you’re done having your fun.
Hi. Is there any chance of getting an example of the wiki.php page that saves edited content to db an retrieves it??
Oi! My keyboard went crazy on the previous post!
Hey Jaco, sure thing. I’m just one point release away from releasing the source for that. I just need to add some security enhancements so spammers don’t have a field-day
Essentially though, wiki.php just sends/retrieves the HTML into a database, keyed to the HTML element id.
Thanks for your interest!
All of this is really exiting!!
it would already be nice to add this to an existing CMS… meaning: you display on your page: compatible ^Edit, and people with extension/favelet can edit your pages!!!
=> decentralized (when provided by the server) editing in a sense…
cool, a generic layer would be nice for that, so anyone can use the saving/retrieving API with their particular implementation on the server-side.