title: get rss feed data in angular 8 works only for few examples. what I do wrong?
body: <p>I found source code for rss data on my page in angular.
  <a href="https://stackblitz.com/edit/angular-8-rss-feed" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-8-rss-feed</a>
  But it works only for example 
  adress("<a href="https://gadgets.ndtv.com/rss/feeds" rel="nofollow noreferrer">https://gadgets.ndtv.com/rss/feeds</a>"). Please help.
  Console chrome logs</p>
  
  <blockquote>
    <p>Access to XMLHttpRequest at '<a href="https://news.yahoo.com/rss/" rel="nofollow noreferrer">https://news.yahoo.com/rss/</a>' (redirected
    from '<a href="http://news.yahoo.com/rss/" rel="nofollow noreferrer">http://news.yahoo.com/rss/</a>') from origin 'null' has been blocked
    by CORS policy: No 'Access-Control-Allow-Origin' header is present on
    the requested resource.</p>
    
    <p>core.js:6014 ERROR HttpErrorResponse {headers: HttpHeaders, status: 0,
    statusText: "Unknown Error", url: "<a href="http://news.yahoo.com/rss/" rel="nofollow noreferrer">http://news.yahoo.com/rss/</a>", ok:
    false, …} Why the code doesn't work with other rss feeds?.What change?</p>
  </blockquote>
  
  <p>app.component.ts</p>
  
  <pre><code>import { Component } from "@angular/core";
  import { HttpClient } from "@angular/common/http";
  import * as xml2js from "xml2js";
  import { NewsRss } from './news-rss';
  @Component({
    selector: "my-app",
    templateUrl: "./app.component.html",
    styleUrls: ["./app.component.css"]
  })
  export class AppComponent {
    RssData: NewsRss;
    constructor(private http: HttpClient) {}
    GetRssFeedData() {
      const requestOptions: Object = {
        observe: "body",
        responseType: "text"
      };
      this.http
        .get&lt;any&gt;("https://gadgets.ndtv.com/rss/feeds", requestOptions)
        .subscribe(data =&gt; {
          let parseString = xml2js.parseString;
          parseString(data, (err, result: NewsRss) =&gt; {
            this.RssData = result;
          });
        });
    }
  }
  
  export interface IRssData {}
  </code></pre>
  
  <p>news-rss.ts</p>
  
  <pre><code>    export interface NewsRss {
      rss: IRssObject;
    }
  
    export interface IRssObject {
      $: any;
      channel: Array&lt;IRssChannel&gt;;
    }
  
    export interface IRssChannel {
      "atom:link": Array&lt;string&gt;;
      description: Array&lt;string&gt;;
      image: Array&lt;IRssImage&gt;;
      item: Array&lt;IRssItem&gt;;
      language: Array&lt;string&gt;;
      lastBuildDate: Date;
      link: Array&lt;string&gt;;
      title: Array&lt;string&gt;;
    }
  
    export interface IRssImage {
      link: Array&lt;string&gt;;
      title: Array&lt;string&gt;;
      url: Array&lt;string&gt;;
    }
  
    export interface IRssItem {
      category: Array&lt;string&gt;;
      description: Array&lt;string&gt;;
      guid: any;
      link: Array&lt;string&gt;;
      pubDate: Date;
      title: Array&lt;string&gt;;
    }
  </code></pre>
  
  <p>Other details angular8, vscode as editor, server start with ng serve</p>