« Report from Bellevue: meaningful advances on Do Not Track | Main | Discovery for Multimodal Interaction with Multi-Device Systems »

Chrome extension for creating html 'book' from wikimedia pages

I am involved on behalf of W3C with some European research projects where we are using a wiki to collaboratively work on reports for project deliverables. To assist with preparation of the final form of the report, I have created a cross platform Chrome browser extension that adds a context menu item to create and download an HTML file with the combined content from the current page and all of the wiki pages it links to. You can then export to PDF via print to PDF if your browser supports it, or with tools like PrinceXML. The extension and information on how to use it is available on the wikibook page.

Filed by Dave Raggett on July 22, 2012 11:22 AM in HTML, Tools
| | Comments (2) | TrackBacks (0)

Comments

Brandon Johnson # 2012-09-01

This is a very cool idea and I love the concept of being able to 'export' wiki pages. However, what about all the 2nd and third layer links? A lot of good information is found after drilling down multiple times, and it might be hard to export more than one layer of links. Very cool!

Dave Raggett Author Profile Page # 2012-09-01

I thought of that. The extension will follow links in the pages it loads and keeps a list of previously visited pages to avoid looping. Links are only followed if they are to the same wiki, and you can prevent following a link by enclosing it in a span with class="no-follow". This should be used when a page in your collection links to another part of the wiki that you don't want to include. It should also be used when making forward links to a later part of the collection, as otherwise your assembled html page may have the content in an unexpected order.

Leave a comment

Note: this blog is intended to foster polite on-topic discussions. Comments failing these requirements and spam will not get published. Please, enter your real name and email address. Every individual comment is reviewed by the W3C staff. This may take some time, thank you for your patience.

You can use the following HTML markup (a href, b, i, br/, p, strong, em, ul, ol, li, blockquote, pre) and/or Markdown syntax.

Your comment


About you

This blog is written by W3C staff and working group participants,
 and maintained by Coralie Mercier.
Authorized parties may log in to create a new entry.
Powered by Movable Type, magpierss and a lot of Web Technology