This is most likely very easy to answer for php people but I have not much of a clue, if any, about php. Basically the situation is this: I have a website in html and now want to build a second, related, one. Certain portions of the text will be identical on both sites and are quite often updated. Now, how can I make changes in the text on the first site which then automatically shows up on the second one as well? I know, I can create templates and then use include for both sites, but as the first one is already existing I would rather like to extract partions of the text there with php.
As I have full control over both sites is there a way to mark certain paragraphs in the first site, like
<!-- start --> text text text text <!-- end -->
and then capture everything bewteen <!-- start --> and <!-- end --> and include on the second site?