2020-01-10 Planet Jupiter

OK, I’ve been using Planet Venus for the longest time. I use it to generate the the Planets on Campaign Wiki. The problem is that it is written in Python 2 and I was unable to quickly migrate it (and all its dependencies) to Python 3.

Planet Venus

Planets on Campaign Wiki

I was unable to quickly migrate it

So here I am... writing Planet Jupiter. πŸ™„

Planet Jupiter

Please report any issues you run into, or leave a comment.

report any issues you run into

Oh well, what could go wrong...

(I wonder whether we should use ♃ for Jupiter somewhere...)

​#Web ​#RSS ​#Blogs ​#Planet ​#Jupiter

Comments

(Please contact me if you want to remove your comment.)

⁂

Actually, it’s looking pretty good. I’ll see about making the switch tomorrow. Sure, it has much, much fewer functionality than *Planet Venus* but it has just the right kind of functionality I need.

I guess I should have picked a really small planet to name this project but it is what it is. I like Jupiter.

The big thing that remains to be done is caching. But it should be good enough already!

– Alex Schroeder 2020-01-10 19:58 UTC

---

The planets I run have been switched over. Let me know if there is anything wonky.

– Alex Schroeder 2020-01-11 13:55 UTC

---

Yikes, rewriting it to use XML::Feed made it *a lot slower*! 😭

– Alex Schroeder 2020-01-12 22:08 UTC

---

@PresGas noticed that the merged feed does not exist. Perhaps we can fix this using a template? `XML::Feed` also has a feature to add entries to a feed, so we could make our own.

@PresGas

Still getting a lot of *null* responses β†’ I guess I need to be slower in accessing Blogspot?

– Alex Schroeder 2020-01-13 14:31 UTC

---

Let’s hope feeds work now! I’m generating `feed.xml` in RSS 2.0 format and redirection the old `atom.xml` to it...

– Alex Schroeder 2020-01-13 19:45 UTC

---

Sadly, there is an encoding bug for Atom feeds, e.g. a feed title such as β€œSkΓΌll” gets double encoded. 😟

– Alex Schroeder 2020-01-15 12:56 UTC

---

For the moment I’m trying a rewrite without `XML::Feed` just because it seemed so much faster... The encoding problem still exists, however. Thus, it’s not introduced by `XML::Feed`.

– Alex Schroeder 2020-01-16 06:29 UTC

---

And... I think it’s done! 😁

– Alex Schroeder 2020-01-17 15:06 UTC