Skilled SEO writing is one of the best ways in which a website can generate the most traffic and rank among the top ten ranking sites as far as search engines are concerned. It essential to adhere to the age-old proverb that states: knowledge is power. Sadly most websites are poorly written and end up being useless to most readers. There are key secrets one needs to learn so as to have awesome SEO content which include:
I’ve this PHP script function that use to extract image tag attributes. This comes very useful when you want to extract image data from some html content for processing or migration. if you know how to modify the regular expression, then the same function can be use to extract any other html attributes! Just few line of codes and hope it benefits everyone here 🙂
To extract img tag attribute using PHP, follow the steps below
Just migrated an old site to WordPress. This old website contain more than 1200 images and if i migrate manually it will take a long time. So i wrote two script, first to extract all the images and it’s description from the old website to a file. And second script is a WordPress plugin script to upload the image to it’s page and set the image caption (useful for gallery and lightbox description) according to the old website description automatically.