Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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. –  Lamb 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

1 Answer 1

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

Your Answer

 
discard

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.