Title: Content from newsapi.org
Last modified: February 10, 2018

---

# Content from newsapi.org

 *  Resolved [Geetar](https://wordpress.org/support/users/geetar/)
 * (@geetar)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-from-newsapi-org/)
 * Hello,
 * I’m pretty new with JSON and I can’t get this plugin to work with newsapi.org.
 * I’m unsure if it’s the right way but I’ve added the following URL to a post:
 * [jsoncontentimporter url=https://newsapi.org/v2/top-headlines?country=us&category
   =business&apiKey=API_KEY[/jsoncontentimporter] (where _API\_KEY_ my API key)
 * But unfortunately it doesn’t work. I don’t know if it is the theme or I’m doing
   it wrong.
 * What is the correct way to implement this feed?
 * Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-from-newsapi-org/#post-9964679)
 * Hi,
 * see
    [http://wptest.kux.de/newsapi-org/](http://wptest.kux.de/newsapi-org/) done
   with
 *     ```
       [jsoncontentimporter url=https://newsapi.org/v2/top-headlines?country=us&category=business&apiKey=KEY DEAKdebugmode=10]
       totalResults: {totalResults}
       {subloop-array:articles:-1}
       <img src={urlToImage} width=100 align=left><b>{articles.title}</b><br>{description} <a href={url} target=_blank>more</a><br clear=all>
       {/subloop-array:articles}
       [/jsoncontentimporter] 
       ```
   
 * If you want to format the time & date you need the pro-version.
 * Bernhard
    -  This reply was modified 8 years, 6 months ago by [berkux](https://wordpress.org/support/users/berkux/).
 *  Thread Starter [Geetar](https://wordpress.org/support/users/geetar/)
 * (@geetar)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/content-from-newsapi-org/#post-9964752)
 * Hi berkux,
 * Thanks for your help!
 * I’ll try it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Content from newsapi.org’ is closed to new replies.

 * ![](https://ps.w.org/json-content-importer/assets/icon-256x256.png?rev=3464653)
 * [Get Use APIs - JSON Content Importer](https://wordpress.org/plugins/json-content-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-content-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-content-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/json-content-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-content-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-content-importer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Geetar](https://wordpress.org/support/users/geetar/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/content-from-newsapi-org/#post-9964752)
 * Status: resolved