greasemonkey: Difference between revisions
Jump to navigation
Jump to search
(added David Janes awesome demo suggestions) |
(→Demo) |
||
Line 12: | Line 12: | ||
= Demo = | = Demo = | ||
== | == Setup == | ||
* install microfomat-find: http://www.blogmatrix.com/include/microformat-find.user.js | * install microfomat-find: http://www.blogmatrix.com/include/microformat-find.user.js | ||
[will ultimately be depreciating much of the code of this in favour of Mark Pilgrim's scripts for extracting the data] | [will ultimately be depreciating much of the code of this in favour of Mark Pilgrim's scripts for extracting the data] | ||
== | == Prebuilt hCard == | ||
* go to Neil Dunn's vCard: http://www.ndunn.com/2005/10/7/hCard | * go to Neil Dunn's vCard: http://www.ndunn.com/2005/10/7/hCard | ||
* look for the [hCard] icon and click on it | * look for the [hCard] icon and click on it | ||
Line 23: | Line 23: | ||
** note the magic of the data: URI here ... | ** note the magic of the data: URI here ... | ||
== | == Dynamic hCard == | ||
* go to http://we05.com/presenters.cfm | * go to http://we05.com/presenters.cfm | ||
* select any presenter | * select any presenter | ||
Line 29: | Line 29: | ||
* click on "Show as Text" | * click on "Show as Text" | ||
== | == hCard Mapping == | ||
* go to: http://www.blogmatrix.com/company_main/ | * go to: http://www.blogmatrix.com/company_main/ | ||
* look for the [hCard] icon and click on it | * look for the [hCard] icon and click on it | ||
Line 35: | Line 35: | ||
* go "ooo and ahh" ... | * go "ooo and ahh" ... | ||
== | == xFolk demo == | ||
* go to: http://thecommunityengine.com/home/archives/2005/10/xfolk_vegomatic.html | * go to: http://thecommunityengine.com/home/archives/2005/10/xfolk_vegomatic.html | ||
* look for the [xFolk] icon and click on it | * look for the [xFolk] icon and click on it |
Revision as of 17:16, 18 October 2005
About GreaseMonkey
Greasemonkey is a powerful tool for customizing Firefox. This page collects ways to use that with microformats.
Getting Started
Get Greasemonkey
- Download FireFox (required)
- Download Greasemonkey
Developing with Greasemonkey
- Dive Into Greasemonkey -- start here
Demo
Setup
- install microfomat-find: http://www.blogmatrix.com/include/microformat-find.user.js
[will ultimately be depreciating much of the code of this in favour of Mark Pilgrim's scripts for extracting the data]
Prebuilt hCard
- go to Neil Dunn's vCard: http://www.ndunn.com/2005/10/7/hCard
- look for the [hCard] icon and click on it
- click on "Add to Address Book"
- note the magic of the data: URI here ...
Dynamic hCard
- go to http://we05.com/presenters.cfm
- select any presenter
- look for the [hCard] icon and click on it
- click on "Show as Text"
hCard Mapping
- go to: http://www.blogmatrix.com/company_main/
- look for the [hCard] icon and click on it
- click on "Show on Google Maps"
- go "ooo and ahh" ...
xFolk demo
- go to: http://thecommunityengine.com/home/archives/2005/10/xfolk_vegomatic.html
- look for the [xFolk] icon and click on it
- look up tags on other services
Resources
Posts and Articles
- Bud Gibson on Follow-up to Greasemonkey & Microformats
- Alf Eaton on Extracting microcontent (XSLT, GRDDL, RDF)
- http://microformats.org/discuss/mail/microformats-discuss/2005-October/001112.html
- Phil Windley on Greasemonkey and Microformats
- 90% Grud on Greasemonkey and Microformats
- David Janes on "microformat find": Introduction, xFolk, hCard, hCalendar
Scripts
Some sample scripts:
- hCard
- http://diveintomark.org/projects/greasemonkey/hcard/
- http://www.blogmatrix.com/include/microformat-find.user.js
- hCalendar
- http://www.blogmatrix.com/include/microformat-find.user.js
- xFolk
- http://thecommunityengine.com/resources/xfolk-veg-o-matic.user.js
- http://www.blogmatrix.com/include/microformat-find.user.js
- RelLicense
- http://diveintomark.org/projects/greasemonkey/rellicense/
- XFN (Magic Line)
- http://diveintomark.org/projects/greasemonkey/magicline.user.js
- GRDDL/RDF
- http://alf.hubmed.org/microcontentextractor.user.js