[microformats-discuss] microformat-find (greasemonkey): introduction
David Janes -- BlogMatrix
davidjanes at blogmatrix.com
Sat Aug 13 05:47:12 PDT 2005
If you've been reading your posts for the last couple of days, you'll
see that I've been trying to introduce a microformat for identifying
weblog posts (and really any microcontent elements within a webpage).
Since the usefulness of such a microformat is determined by it's utility
the the poster and readers, I've been working on a greasemonkey script
and library to identify microformat elements within a webpage. Just
demonstrating what can be done with 'xentry' wasn't sufficient, so I
also added code for processing 'hcard' and 'xfolk' in useful ways.
You'll have to forgive a few things. It's my first greasemonkey script
and my first real attempt to muck around with a DOM, so the script may
be a little more verbose than needed and the terminology to refer to
certain elements isn't as crisp as it could be. Furthermore, this
shouldn't be a monolithic app; it should be a series of scripts that
identify a common library.
Work to be done (any help would be appreciated):
- break the script into multiple subscripts
- the menu popup is too sensitive to the markup from the underlying blog
- more formats: 'hcalendar' and 'hreview' seem like naturals
- put in a more standard place
- get buy-in on xentry!
The source code can be found here:
http://www.blogmatrix.com/include/microformat-find.user.js
Click on the icons to get a popup menu.
Your feedback is appreciated.
Regards, etc...
David Janes
http://www.blogmatrix.com
More information about the microformats-discuss
mailing list