Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking specifically for a convenient way to locally archive posts from this and other similar sites. I'd like to separate the question itself from the answers, or maybe crop the question and store it, keeping the page title. Obviously I don't need to store the menu or the various other site interface chrome.

The best way to do this would seem to be to associate an XSLT template with a match on the URL and use that template to pull the various relevant informations and format them.

My two-part question:

  • Is there a tool specifically built for this task? I.E. something that takes a URL and checks it against a map of path-matching expressions to templates, and outputs the result of applying the template to that resource?

    xmlto seems to be most of the way there, and could probably just be called from a script that does the pattern-matching, but something already integrated would be more convenient.

  • Is such a URL_pattern-to-XSLT_template map publicly available somewhere?

Question 2.5: Is it legal to do this with sites like this one that have public licenses on their content?

share|improve this question

Answer to Question 2.5:

It is legal if you do not distribute or publish it in any way. And if you do, you must refer to the original page. Most site maintain a licence based on user contributions licensed under cc-wiki with attribution required.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.