Extract relevant contents from blog page using php

IN PROGRESS
Bids
11
Avg Bid (USD)
$62
Project Budget (USD)
$30 - $50

Project Description:
Hi,

I need one function written in PHP which should do following:

- Remove all link buttons from blog html page source which appear on the left, right, top and bottom of the page
- Remove everything which exist on the left, right, top and bottom of the page. Only keep main (center) contents of the page. It can include text, pictures, videos. Remove any link or menu buttons if it exist in the center of the page

I already stored html source in a table. You need to fetch html from table and make it clean from all irrelevant(footer and header links, menu links, side bar links etc) stuff. There are different kinds of blogs, your provided solution should work for all kinds of blogs. If you want to use any tool which extract only relevant contents from a web page that's also fine but then it should work on our linux hosted server.

Thanks
Sajjad

Skills required:
PHP
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 248
in 5 days
$ 50
in 2 days
$ 50
in 3 days
$ 50
in 3 days
$ 35
in 2 days
Hire alethes
$ 40
in 1 days
$ 40
in 3 days
$ 40
in 3 days
$ 40
in 2 days
$ 50
in 2 days