Basic php/html/mysql skills here
I do code for a website, they have sold a page to an advertiser that needs to show material from a daily html newsletter, I initially said it would work on the basis that anyone doing a complex html newsletter daily would be able to also produce a block of code that could act as an include
It now turns out that all the advertiser is able to provide is the html email itself.
I'm still squinting at this project from a long way off but I'd be grateful for a rough idea of how this would be tackled.
The html email has the usual 'email not displaying properly?' so there is a webpage for each newsletter, it uses relative links for the css and images
Is it as simple as my webpage reading their code from their website, and then some manipulation to make their links absolute paths and top and tail out their headers and footer so it can appear within my headers and footers? That said how would I load up actual code from someone else's web page?
Can anyone see problems ahead or suggest any handy dos and don'ts?