Jump to content

Importing Content


fender967

Recommended Posts

I am not too experienced with php but I was hoping someone could tell me if this is possible.. I would like to be able to import content from other websites to link to them in my blog.  I have a wordpress plugin that imports the feed's text headlines, but what I am really after is being able to also import any images associated with them.  Can anyone tell me if it is possible to do this or if it is possible to import content from certain parts of another website in any other way? 

 

I am looking to build a resource site which is updated on its own and links to a variety of different websites' blog posts.

 

Any help would be greatly appreciated, thanks

Link to comment
https://forums.phpfreaks.com/topic/132382-importing-content/
Share on other sites

It's certainly possible to to get the source code for other website using file_get_contents or cURL, for example. You could then use regular expressions to extract the relevant information.

 

However, other websites might not like you hotlinking to their images or using their content without permission.

Link to comment
https://forums.phpfreaks.com/topic/132382-importing-content/#findComment-688287
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.