Skip to main content
Sandeep1980
Level 2
Oct 12, 2016 2:41 AM UTC
Solved

How to import feeds from Newscred

I need to import articles as feeds from Newscred. Currently they are providing a webservice with JSON response. What is the best way to implement this using Feed Importer in AEM6.1. How is this response saved in AEM using the Feed importer.

The reference for Webserivce can be found in 

https://support.newscred.com/hc/en-us/articles/207492266-Feed-API-V2-Documentation 

Any directions and reference will be helpful.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Oct 13, 2016 8:09 AM UTC

Hi 

As you said, you can get JSON response from the webservice, so i would suggest you to create your custom service which that will use Newscred webservice and then could process the response data that could be saved in JCR.

Some of the reference articles for your use :-

Link:- https://helpx.adobe.com/experience-manager/using/aem_wordpress.html

// Write a component to retrive information from 3rd party web sites.

Link:- https://helpx.adobe.com/experience-manager/using/creating-cxf-bundles-consume-web.html

// AEM Services using Apache CXF that consume web services

I hop this would help you.

~kautuk

Kautuk Sahni

3 replies

smacdonald2008
Level 10
Oct 12, 2016 2:30 PM UTC

You would need to write a custom AEM service that is able to consume this JSON feed. This is not an ootb solution. 

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Oct 13, 2016 8:09 AM UTC

Hi 

As you said, you can get JSON response from the webservice, so i would suggest you to create your custom service which that will use Newscred webservice and then could process the response data that could be saved in JCR.

Some of the reference articles for your use :-

Link:- https://helpx.adobe.com/experience-manager/using/aem_wordpress.html

// Write a component to retrive information from 3rd party web sites.

Link:- https://helpx.adobe.com/experience-manager/using/creating-cxf-bundles-consume-web.html

// AEM Services using Apache CXF that consume web services

I hop this would help you.

~kautuk

Translate
Kautuk Sahni
smacdonald2008
Level 10
Oct 31, 2016 2:49 PM UTC

See this artilce as an example of building a custom feed service: 

https://helpx.adobe.com/experience-manager/using/aem_rss.html

Translate