chriskrycho
chriskrycho

Spent a few minutes this morning tweaking feed generation on my website—again:

  • capping at 25 items, for the sake of tools which have reasonable size limits (like Micro.blog's unofficial 1MB cap)
  • fixing—permanently—the ordering problem I’ve had off and on
|
Embed
In reply to
pimoore
pimoore

@chriskrycho Can you clarify more about the Micro.blog cap?

// @manton

|
Embed
manton
manton

@pimoore @chriskrycho Last month I was troubleshooting problems with very large XML feeds and made a change in Micro.blog to not process those feeds. It was meant to be temporary but it has stuck for now and impacted some feeds. I recommend keeping external feeds to < 100k for performance. (Micro.blog’s hosted feeds are always pretty small.)

|
Embed
pimoore
pimoore

@manton @chriskrycho Ah ok, I remember reading something about this in the discourse but hadn’t made the link in my mind with this.

|
Embed
chriskrycho
chriskrycho

@pimoore @manton yeah, honestly, I mostly just wish feed readers supported pagination. That would solve the problem nicely: I’ve always wanted to provide full feeds for folks to be able to trawl the whole history… but it blows up quite a bit with the amount of stuff on my site. More important for podcasts than for “normal” websites in any case!

|
Embed
pimoore
pimoore

@chriskrycho On a side note, your blog theme is stunning. How are you liking Eleventy, and what made you switch to it for your site?

|
Embed
chriskrycho
chriskrycho

@pimoore Thanks! Spent a lot of time working on it! Also it’s MIT-licensed so folks are encouraged to use it/remix it/etc.!

Eleventy is… fine. I liked the pluggability and ease of reflecting the file system into and was ready to be off of Pelican, which wasn’t easy to get to do exactly what I wanted. But 11ty is also kind of slow, and I honestly don’t love Node any more than Python at this point… just a good-enough option from which I’ll no doubt move on eventually. It’s not bad, it’s just not great.

|
Embed
pimoore
pimoore

@chriskrycho I remember reading a couple of places that it was kind of slow, not as much as Jekyll though. Seemed a lot of Eleventy’s appeal came from its foundation in JavaScript. From my research into numerous static site generators, it seems they all have a common Achilles heel, namely poorly implemented — or lack of — incremental regeneration. The exception being Hugo which is so fast that its lack of IR is kind of negated.

Had seen about your open sourcing the theme on GitHub, that’s very generous! I might have to play around with adapting it and you can undoubtedly expect credit back if I do. 😊

|
Embed
chriskrycho
chriskrycho

@pimoore Meant to reply a week ago – do let me know if you end up riffing on that theme at all! The first time I saw someone do that (with the theme for v4.chriskrycho.com) I had a moment of He stole my theme! 😠 followed immediately by He stole my theme! 😁 It was kind of hilarious, but now I’m prepared. 😅

|
Embed
pimoore
pimoore

@chriskrycho For sure Chris, it’s on my todo list but I just haven’t had time to dip my toes in the water yet.

|
Embed