Hi, I've built a quick-and-dirty diff GUI for Babelmark (thanks, Michel!). You can get it as a bookmarklet here: http://attacklab.net/babelmark/ If either Michel or Tom is interested in hosting this, I'll be happy to do the grunt work for a real integration. It's kind of pain in the ass to hit the bookmarklet every time you get new data from the server. I've tested this in Safari 3.1, FF2/Mac, FF3/Mac, and IE7. Email me if you have any problems. -John
Am Dienstag, 25. M?rz 2008 schrieb John Fraser:> Hi, > > I've built a quick-and-dirty diff GUI for Babelmark (thanks, > Michel!). You can get it as a bookmarklet here: > > http://attacklab.net/babelmark/ > > If either Michel or Tom is interested in hosting this, I'll be happy > to do the grunt work for a real integration. It's kind of pain in the > ass to hit the bookmarklet every time you get new data from the server. > > I've tested this in Safari 3.1, FF2/Mac, FF3/Mac, and IE7. Email me > if you have any problems. > > -JohnGreat, what about grouping by output? So that one can easily see which implementations agree on the output. -- Milian Wolff http://milianw.de OpenPGP key: CD1D1393 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20080325/f18dc...>
On Mar 25, 2008, at 6:48 PM, Milian Wolff wrote:> Great, what about grouping by output? So that one can easily see which > implementations agree on the output.Good idea; I've been noticing that the implementations tend to break into the same two groups on lots of edges cases. I might do that with color coding, to keep the UI minimal -- I'll try that out tomorrow night and see how it feels. By the way, if anyone's being redirected back to http://attacklab.net/ when they try to view the page, it's because I just switched servers and it's percolating. Try again later.
On 25 Mar 2008, at 22:54, John Fraser wrote:> On Mar 25, 2008, at 6:48 PM, Milian Wolff wrote: > >> Great, what about grouping by output? So that one can easily see >> which >> implementations agree on the output. > > Good idea; I've been noticing that the implementations tend to > break into the same two groups on lots of edges cases. I might do > that with color coding, to keep the UI minimal -- I'll try that out > tomorrow night and see how it feels. > > By the way, if anyone's being redirected back to http:// > attacklab.net/ when they try to view the page, it's because I just > switched servers and it's percolating. Try again later.I've just stolen your code and plugged it into my mirror of Babelmark, looks really awesome! I've also just re-jigged servers, so ruby, Java and Pandoc have been broken on my mirror over most of the weekend. I've fixed this now. http://babelmark.bobtfish.net/?markdown=*This+**is+a+test*.&normalize=on Cheers Tom
Le 2008-03-31 ? 3:35, Tomas Doran a ?crit :> I've just stolen your code and plugged it into my mirror of > Babelmark, looks really awesome! > > I've also just re-jigged servers, so ruby, Java and Pandoc have been > broken on my mirror over most of the weekend. I've fixed this now. > > http://babelmark.bobtfish.net/?markdown=*This+**is+a+test*.&normalize=onGreat. I think it'd be a little better if the compare checkbox was off by default however. And that sentence may need revisiting: With Javascript diffing Copyright ? 20048 by John Fraser Michel Fortin michel.fortin at michelf.com http://michelf.com/
On 31 Mar 2008, at 12:03, Michel Fortin wrote:> Le 2008-03-31 ? 3:35, Tomas Doran a ?crit : > >> I've just stolen your code and plugged it into my mirror of >> Babelmark, looks really awesome! >> >> I've also just re-jigged servers, so ruby, Java and Pandoc have >> been broken on my mirror over most of the weekend. I've fixed this >> now. >> >> http://babelmark.bobtfish.net/?markdown=*This+**is+a >> +test*.&normalize=on > > Great. > > I think it'd be a little better if the compare checkbox was off by > default however. And that sentence may need revisiting: > > With Javascript diffing Copyright ? 20048 by John Fraser >Totally agree about the compare checkbox.. And hehe - you're correct, that's what I get for picking up the laptop before getting to work (or caffeine) in the morning.. I'll look at both of these later today. Cheers Tom
On Mar 31, 2008, at 9:04 AM, Tomas Doran wrote:> On 31 Mar 2008, at 12:03, Michel Fortin wrote: >> Le 2008-03-31 ? 3:35, Tomas Doran a ?crit : >>> I've just stolen your code and plugged it into my mirror of >>> Babelmark, looks really awesome! >> I think it'd be a little better if the compare checkbox was off by >> default however. > Totally agree about the compare checkbox..That's great! Thanks Tom. I agree about the checkbox (I only set it to "on" for the bookmarklet). You can change it in babelmark.js: var compare = getFormParam("compare","on"); Just change that to "off". It ought to keep track of your setting through a submit. My code uses some convoluted jQuery selectors to find elements, so it's likely to break if the HTML changes much. If that's likely, we might want to sprinkle in a couple of id's to give it more to hold on to. But that probably only makes sense if both Michael and Tom are into it, since I assume you don't want your versions to diverge too much. - John
Oops, I just realized I've been missing about half of the messages on Markdown-discuss ever since I switched servers last week. Should be fixed now. But Michel, I'm sorry I missed this: http://six.pairlist.net/pipermail/markdown-discuss/2008-March/001230.html As I told Tom, I'd like a couple of hooks in the HTML to make things more robust. And it would make sense to move a few hard-coded styles into your CSS file. I'll email you and Tom directly about this.
On Mar 25, 2008, at 6:48 PM, Milian Wolff wrote:> Am Dienstag, 25. M?rz 2008 schrieb John Fraser: >> I've built a quick-and-dirty diff GUI for Babelmark (thanks, >> Michel!). You can get it as a bookmarklet here: >> >> http://attacklab.net/babelmark/ >> > Great, what about grouping by output? So that one can easily see which > implementations agree on the output.I've updated my bookmarklet to color the left column by group. Try it out (on Michel's version of Babelmark), and if nobody tells me it sucks then I'll send along the new version to Tom and Michel. Thanks, John
Le 2008-03-25 ? 18:40, John Fraser a ?crit :> Hi, > > I've built a quick-and-dirty diff GUI for Babelmark (thanks, > Michel!). You can get it as a bookmarklet here: > > http://attacklab.net/babelmark/Wow, that's just great. Thanks John.> If either Michel or Tom is interested in hosting this, I'll be happy > to do the grunt work for a real integration. It's kind of pain in > the ass to hit the bookmarklet every time you get new data from the > server.That would certainly be great. What do you need for this? Michel Fortin michel.fortin at michelf.com http://michelf.com/