Reputation: 4386
Looking into possibly doing an integration with a blog that is powered by Sitecore. Is there anyway to use data from our site (RoR) to create a post on an external Sitecore blog? I guess something analogous to the Wordpress XML-RPC api or the Tumblr Restful API.
Thanks!
Upvotes: 0
Views: 200
Reputation: 16990
You should look into using the Sitecore Item Web API module, it's officially support by Sitecore and will give you CRUD access to Sitecore items.
You can restrict access to operations using standard Sitecore Security and passing in the user credentials when building the request. Additionally, like all things Sitecore, you can extend the API with pipeline processors to add anything else you require.
Upvotes: 1
Reputation: 4082
You could use the Visual Sitecore Service to create new items from your RoR website. The Visual Sitecore Service is a webservice that is standard installed in Sitecore which enables you to read/write/create to and from Sitecore.
See this link for more information about the Visual Sitecore Service webservice.
You could also create your own webservice in Sitecore, that is what I mostly prefer to gain full control of the functionalities of the webservice.
Another option could be to read the data (periodically or realtime) from a JSON (or other) service from your RoR website and save it in Sitecore or XML format in file or custom database table. Whatever you prefer and fits your requirements.
Upvotes: 1