8. EMCCI Bookmarklet
● a service to gather content data and metadatas
trough a wizard and turn them into an XWiki
document while browsing the web without having to
have the XWiki site open
● gather selected content on the page the user is
browsing
● clean the selected content of HTML tags
9.
10.
11.
12.
13.
14. The Bookmarklet App
● Integrations:
Wiki pages
Content oriented Applications (Blog)
● AWM type applications
● Integration with other applications (Search, Activity
stream)
15. Implementation details
● A bookmarklet skin
$isInEmbedMode variable
embed.vm mode
● html to xwiki syntax conversion service
● Dependencies:
JQuery
Rangy js library
Porthole
16. Difficulties
● Cross-site frame communications (porthole)
● Cross-browser html selection (rangy js)
● Required extensive skin modifications (an embed
mode)
● Using setQueryLinks messing up generated urls in
pages
20. Future
● Distribution with Extension manager
● Additional data extraction from outside web
- basic html <head/> metadata
- specific html <body/> content (html5 content tags
<article />)
- The Open Graph protocol
og:title, og:type, og:image, og:url