Mondo Meta 2.0 Help June 11, 2007 4:29 PM   Subscribe

A call to MetaFilter readers (unregistered, too) to help put the finishing touches on the Mondo Meta version 2.0 MetaFilter tool.
posted by mdevore to MetaFilter-Related at 4:29 PM (12 comments total) 2 users marked this as a favorite

A mere 1.5 years after Mondo Meta was announced here, version 2.0 is basically complete. Since the help from MeFites for Mondo Image last January was so successful in ironing out nasty user issues, I'm asking for your help again to test this version of Mondo Meta prior to final release, as a stand-alone Firefox extension or a Greasemonkey script. Version 2.0 can only be downloaded at its home page as I won't be updating the userscripts site, other tools, or updating announcements until this version makes its users happy.

By request, Mondo Meta adds support for custom styles (CSS) to either individual posts or the entire MetaFilter site based on trigger words or patterns in the post/comment/reply. You will need some minimal knowledge of styles to use this feature. Specifically, post DIV's are assigned an attribute of mmStyledPost, internally updated to a unique ID per post, which allows users to do things like specify a style of DIV[mmStyledPost] { color: black; font: 18pt bold italic Times } to get one really ugly post. If the DIV[mmStylePost] is dropped, then the style is universally applied to all posts (i.e. one text/pattern trigger match, but all posts updated). Of course, you can qualify within the style, for example, DIV[mmStylePost] SPAN.smallcopy { font-size: 20px } to pump up a post's footer size. Same rules as CSS because, well, because it really is an applied style.

The second new feature is support for tagging; multiple tags can be applied to individual posts based on the same text/pattern criteria. For example, if you have specified matthowie|jessamyn|cortex in a footer with the tag 'Administrator' for one rule, and specified bicyl in post content with the tag 'Bicycling Related' for another rule, then if matthowie posts a comment about his latest bicycling trip, the tags 'Administrator' and 'Bicycling Related' will show up in the footer of that comment. All Mondo Meta tags have span class mmTagText, so custom styles can applied directly.

Of course, Mondo Meta still supports highlighting (now mostly serves as an easier-to-use subset of the new style feature) and deleting posts (aka kill-filing) based on the content or user, with minor enhancements, bugfixes, and performance improvements.

At approximately 3K lines with occasionally tricky logic, Mondo Meta is getting too large for me to test by myself with any degree of confidence. Screenshot examples provided. Thanks for your help.
posted by mdevore at 4:29 PM on June 11, 2007

Step 5 seems key.

*goes nuts*
posted by cortex (staff) at 4:35 PM on June 11, 2007

Oops, tags have span class mmTagClass, not mmTagText. Typo #1, plenty to come.
posted by mdevore at 4:43 PM on June 11, 2007

Cortex, both you and I (and many other MeFites) reached Step 5 a LONG time ago.
posted by wendell at 4:57 PM on June 11, 2007

This is looking pretty neat. Is there any way to hide the "Mondo Meta Options" pulldown?
posted by goodnewsfortheinsane at 6:07 PM on June 11, 2007

Is there any way to hide the "Mondo Meta Options" pulldown?

Nahh, that's what you call a grandfathered-in feature. Actually, I could map it to a click on the side to bring up a selection, as is currently done with Mondo Image invocation, but there's more stuff going on as far as logic flows, so I'd have to think about how to do it and what's involved.

And then somebody would probably gripe that they miss the dropdown box. Might even be me, I kinda like it there.

Perhaps an about:config setting that modifies the invocation process.
posted by mdevore at 6:14 PM on June 11, 2007

First you must fobtain the book of the dead, find the vibrating square, light the candelabra, and ring the bell of invocation...
posted by blasdelf at 9:03 PM on June 11, 2007

^G works for the bell, right?
posted by mdevore at 9:06 PM on June 11, 2007

Don't think [^G] does anything, to ring the bell you [a]pply it.
posted by blasdelf at 9:36 PM on June 11, 2007

Is blasdelf not getting it, or getting it and playing at not getting it?

*ears begin smoking*

posted by cortex (staff) at 9:40 PM on June 11, 2007

OK, for those who hate the Mondo Meta options dropdown box, I've added an undocumented feature in a version 2.01 upload, available as script or XPI extension. (Incidentally, the Greasemonkey script compiler misbehaves when a script is too large, like Mondo Meta now is, so I have to update the XPI by hand and boy am I thrilled about it.)

Anyway, load the script/extension once in MetaFilter as normal. Then, in about:config editor, filter for prefence name dropdownPeekABoo. Change its string value from 'false' to 'true'. Reload MetaFilter page, the dropdown box should be gone. To get the dropdown back, and toggle it off and on, swish your mouse back and forth across the browser twice, getting to within 50 pixels of each left/right edge -- you can overshoot the browser window boundaries while swishing and it's probably easiest that way. Given the vagaries of mouse tracking and position reporting, it might take a few more swishes than two, five was the most I've needed on a slow machine with a fast mouse. If you want to modify the internal parameters for the swish, in about:config change moveMouseAreaWidth to desired number of pixels from edge and moveMouseAreaSeconds to number of seconds allowed tracking swishes before reset to zero.

If you don't want this feature and have version 2.0, don't worry about downloading 2.01. The only other difference is some internal copyright gunk and cleanup. Theoretically I didn't screw up anything operational. Other that that, things are look pretty good relative to the total download count, so official release might happen by Friday.
posted by mdevore at 7:12 PM on June 12, 2007

Mondo Meta 2.0 is released, announced, and available on userscripts site for those who want it (v2.01, actually). Related questions, comments, complaints, insults, I'm the guy.

Thanks muchly for the public and private feedback.
posted by mdevore at 8:10 PM on June 15, 2007

« Older My Post Wishlist   |   Offensive noise. Newer »

You are not logged in, either login or create an account to post comments