title: Automated website migration techniques
body: <p>I'm currently migrating the content from a very old website to a new website. The new website has a new structure, so I'm only looking to copy over the main content - mainly the headings, paragraphs, and images. The new website uses Wordpress. Currently I'm going to each page, copying the content, creating a new page in Wordpress, and pasting the content, and then publishing it.</p>
  
  <p>It occurred to me that there might be a better way of doing it than brute force. I thought maybe I could script a bot to go to each page on the old site, copy the content I want, reformat it how I need it to be if necessary, and return it to me.</p>
  
  <p>I don't know if this is possible. I was even thinking of taking it a step further, and having the bot then log into the new site's Wordpress dashboard, automatically create a page if needed, and input the content where appropriate.</p>
  
  <p>My back-end skills are pretty basic, but my inclination is to say that this is possible. My question is, is it possible, and if so, can you point me in the right direction as to what I need to learn to do it? I'd be using PHP, which I'm most familiar with.</p>