Saturday, March 2, 2019

How I migrated my homepage away from Google+

Previously, I was using the Google+ API to fetch my posts as JSON and render them on my homepage using a custom template. Now that Google+ is going away, I had to find another solution.

Available sources

So I investigated which sources have good APIs that you can use:

  • Facebook: Unfortunately no API to access posts of a profile. You can only access posts of a page.
  • Instagram: Public posts are available, and you can convert them to RSS using e.g. Queryfeed.
  • Twitter: Can also be exported to RSS via Queryfeed and others.
  • Blogger: Exports RSS and Atom, obviously.

Combining sources

I found RSS Mix to be a very easy way to combine multiple feeds. I'm now combining my Instagram and Blogger feed.

Rendering to HTML

On my website I now download that combined feed using feedparser and render the feed using a Jinja2 template. Et voilĂ , goodbye Google+!

This is probably better anyway, as I stopped posting to G+ a long time ago and my stream got stale. So my homepage should look a little more up to date now!

1 comment:

  1. Instead of the normal interactive modeling interface, customers write code in a script file that describes the parameters of the 3D object. Once you’ve entered your code, have the ability to|you presumably can} view the shapes you’ve created by clicking a “compile” Alarm For Car button. After you’ve chosen the settings on your model, the slicer software will generate a toolpath (instructions for the printer’s movement system) on your model. We can see this toolpath by selecting ‘Toolpath’ in the dropdown menu beneath the ‘View Mode’ button on the top proper. This is an efficient time to examine the file before printing, and ensure there are no areas that might cause problems later.

    ReplyDelete