Hi I am building a news website. I am trying to automate it.
- News url (metabox)
- Title
- Content area
- Image (featured image option on
wordpress)
When paste the site url I would like the other metabox to pull the data from the source http://www.bbc.co.uk/news/technology-34527439
I want title and description to pulled form bbc website
- News url: http://www.bbc.co.uk/news/technology-34527439
- Title: Should be fetched from
<title>
- Content area: should be from
<meta name="description">
- Image: Should be first image on the content
I see you can use php cURL any more pointers to wordpress would be much appreciated php.net/manual/en/curl.examples-basic.php
Thanks