We need to confirm that the new blog XML will correctly bring material into this section at the bottom of ipfs.io:

Code for that on the ipfs.io side looks to be here:
https://github.com/ipfs/website/blob/c941d25e2adfb15f77c8cd41163916ea2ed88f80/js/lib/blog-feed.js
<!-- github-sync-id:851541936 -->
I think we should generate the json file on build, but let me look a little bit more into this and get back with the best solution for this.
It's not going to work out of the box because `ipfs.io` is expecting a `index.json` file to be available from `blog.ipfs.io/index.json` which contains the 4 latest posts [formatted in a specific way](https://blog.ipfs.io/index.json). See here: https://github.com/ipfs/website/blob/master/README.md#latest-blog-posts
I think we should generate the json file on build, but let me look a little bit more into this and get back with the best solution for this.
<!-- github-comment-id:814269398 -->
@cwaring would a post build script that simply generates this json file be an ok solution? We only need this for production so I don't see why we would need to chain it to the webpack dev server as well.
@cwaring would a post build script that simply generates this json file be an ok solution? We only need this for production so I don't see why we would need to chain it to the webpack dev server as well.
<!-- github-comment-id:815060149 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
We need to confirm that the new blog XML will correctly bring material into this section at the bottom of ipfs.io:

Code for that on the ipfs.io side looks to be here:
https://github.com/ipfs/website/blob/c941d25e2adfb15f77c8cd41163916ea2ed88f80/js/lib/blog-feed.js
It's not going to work out of the box because
ipfs.iois expecting aindex.jsonfile to be available fromblog.ipfs.io/index.jsonwhich contains the 4 latest posts formatted in a specific way. See here: https://github.com/ipfs/website/blob/master/README.md#latest-blog-postsI think we should generate the json file on build, but let me look a little bit more into this and get back with the best solution for this.
Ugh. Thank you 🙏
@cwaring would a post build script that simply generates this json file be an ok solution? We only need this for production so I don't see why we would need to chain it to the webpack dev server as well.
FWIW, we can make this into whatever we want when we replatform the site - this is more of a band-aid fix.