Ask DN: What side projects are you working on?

over 5 years ago from Sam Solomon, Product Designer at SalesLoft

  • Nick Wittwer, over 5 years ago

    Any chance you're going to Open Source your Pegcity News project? I've been trying to get something similar (for personal use) for a while.

    1 point
    • Geoff YuenGeoff Yuen, over 5 years ago (edited over 5 years ago )

      It's not that complicated. I use some ajax to read those feeds and display them with a small js templating library called t.js (https://github.com/jasonmoo/t.js). The ajax function calls a PHP file (using filegetcontents) to download the RSS feed to get around CORS.

      0 points
      • Nick Wittwer, over 5 years ago

        I guess what I'm confused about is the PHP file that avoids CORS and threads the downloaded JSON data (previously XML) into the HTML output. Can you tell me how you did that? I have very little experience with this sort of thing. I appreciate the help.

        0 points