On 3/31/2016 6:16 AM, jaydeep.r...@gmail.com wrote:
i want to make an affiliate site. i am getting data via url from file_get_content.
but it is giving me entire page. i want only specific data like
image, name,price etc.
please suggestion..
First, you must have the permission of the main site, otherwise
it is copyright violation.
Second, having downloaded the entire page, you need to write the
code that will parse it into usable chunks. I you know the
filename of the images you want you can just download them just
like you downloaded the page.
Usually writing the code to parse the page is not easy and then
you have to be prepared to rewrite it when the page changes.
-bill
i want to make an affiliate site. i am getting data via url from file_get_content.but it is giving me entire page. i want only specific data like image, name,price etc. please suggestion..
On 3/31/2016 6:16 AM, jaydeep.r...@gmail.com wrote:
i want to make an affiliate site. i am getting data via url from file_get_content.but it is giving me entire page. i want only specific data like image, name,price etc. please suggestion..
If you want an affiliate site, then your affiliates should be uploading
this information to your site.
--
==================
Remove the "x" from my email address
Jerry Stuckle
jstu...@attglobal.net
==================
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 349 |
Nodes: | 16 (0 / 16) |
Uptime: | 150:41:37 |
Calls: | 7,615 |
Calls today: | 3 |
Files: | 12,792 |
Messages: | 5,685,421 |
Posted today: | 2 |