After a few attempts browsing the web, I don't figure out how to download HTML from a given url, and create node content from it.
What I would achieve is quite simple :
- Have a link-like field in my content type
- The source code of this page is downloaded either in the
Bodyof the content, either in a MHT-like file
- Viewing the node displays it either in the
bodyeither` in an IFrame.
The content creation would happen mostly from a dedicated script creating a new content through Drush, filling only the
Title and the link field.
The main goal of this is to save short-lived webpages in a drupal website, and ideally being able to index them.
I'm open to any ideas : module, coding, whatever. Don't hesitate to give me advice !