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.

So here I am... writing Planet Jupiter. 🙄

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

Oh well, what could go wrong...

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



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.

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

Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Just say HELLO