Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 migrating a ~500-page site to another CMS. The old site uses Textile markup for content in the editor and outputs pure HTML, the new site uses HTML throughout, so it's not possible to copy the articles from the old editor to the new one; copying the old HTML from source code and pasting it into the new editor however works wonderfully. I would like to automatically copy the HTML from the old site (contained in a vic with a unique class) into the clipboard automatically. Is there a bookmarklet or a userscript that could accomplish this goal?

share|improve this question
    
have a look at [Httrack](www.httrack.com), you can also use Firebug to easily select element and copy them. – Ankit Mishra Sep 6 '12 at 17:59
    
@Lamb httrack seems a bit overkill. How many clicks does Firebug need to go from a page to an element's content in my clipboard? – kotekzot Sep 6 '12 at 19:42
up vote 0 down vote accepted

Just after posting the question I've discovered you can do this in a couple of clicks in Chrome: right-click and Inspect element, then right-click the element in the DOM tree and Copy as HTML. Still, it'd be nice to see something faster, and this method unfortunately picks up the target element's tag.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .