JSON Feed support

You can use Pinecast's JSON Feeds by replacing feed  with jsonfeed  in your RSS feed URL. For example:

https://pinecast.com/feed/abts
would become
https://pinecast.com/jsonfeed/abts 

Pinecast's JSON Feeds have CORS enabled, so you can request a copy from your own website:

const xhr = new XMLHttpRequest();
xhr.open('get', 'https://pinecast.com/jsonfeed/abts', true);
xhr.send();

xhr.onload = () => {
  let resp;
  try {
    resp = JSON.parse(xhr.responseText);
  } catch (e) {
    failure();
  }
  success(resp);
};
xhr.onerror = () => failure();

Still need help? Contact Us Contact Us