Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Paul in Boise on
Can anyone point me to a simple example of how to retrieve the title text and body HTML of a Drupal node from an external, non-Drupal site?
I am using Drupal 7.10 with Services 3. I have configured the REST server and created an endpoint. I have lost most of 2 days of work trying to get it to communicate with my external site, with zero progress.
Thanks.
Paul
Comments
If you only want to view the
If you only want to view the content would using a feed be easier?
nevets, Thank you. I
nevets, Thank you. I started looking at Feeds, but everything I see relates to pulling Atom/RSS content into Drupal, not publishing Drupal content externally. Can you post a link to documentation or examples to push my Drupal content out?
Thanks.
Paul
The views module includes the
The views module includes the ability to create a feed (there is a display type called feed).
Thank you! That is the most
Thank you! That is the most progress I have made so far. I was able to create a feed for a specific node.
Now, I have to figure out how to use authentication to connect to the feed.