I have two sites.one is Drupal site (example1.com). It has a lot of comments. I want to embed all these comments and comment form to other site (example2.com)[non-Drupal site].
Is it possible?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
I think the best solution is to expose the comments as a REST resource on example1.com. You can achieve this with the services module (you will probably have to create a custom resource).
Then on example2.com execute a GET request on the REST resource and display the comments.
Edit: If you want to fetch the comments per node you will have to add a query param to the resource containing the node ID for which you want to fetch the comments.