Moo

lesbrarian goat gal

Online, I do a little bit of art and a little bit of web design. Offline, I'm a children's librarian!
Art credit: pfp
No kids, no racists, etc.


Feed so it's in the data export
mooeena.bearblog.dev/

ldx
@ldx

hey y’all! I know a lot of folks are setting up blogs right now, so I wanted to share something I’ve been making

zoneRSS - a Zonelets-compatible RSS feed and posting tool!

I’ve been using Zonelets for my blog for a couple of years and I love it, but it doesn’t come with RSS out of the box, so I’ve been updating my feed manually. That worked ok but over time it got a bit cumbersome, so I made these tools to help make the process of updating my feed easier - I hope someone else finds them helpful too! <3

Note: I haven’t had time to set up the example posts on the zoneRSS page yet, so check out my blog if you want to see an example of a working feed


You must log in to comment.

in reply to @ldx's post:

ah yeah it expects the feed to be formatted a certain way so if you use a pre-existing one that could definitely cause errors - I should probably note that in the manual

at a minimum you’ll need to add the <!-- ADD NEW POST HERE --> comment so the tool knows where to add new items

try adding that and let me know if that fixes things!

Yeah, it spits out one error and a deprecation message:
Uncaught RangeError: invalid date
https://adamledoux.net/blog/feed.html:453
Line 453 feed.html: postDate.innerText = "\u00BB" + (new Date(itemPubDate.textContent)).toISOString().split("T")[0];

and

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience.

Line 12 script.js: rssRequest.open("GET", rssFeedUrl, false);

I took these debugs from https://adamledoux.net/blog/feed.html

thanks for sending those details Christian!

the XMLHttpRequest error is because my site was still using an older version of feed.html where I hadn't fixed that so it shouldn't be impacting your version (I've updated mine now too, so that bug should go away if you reload my page)

the date error is more likely the real issue: I don't see it in my browser, so maybe there's a difference in how dates are parsed between our browsers - I'll need to look into what I can do to handle that more robustly

in the meantime, a quick question: when I open https://xuelder.neocities.org/Blog/feed I see 3 posts - is that the right number?

thanks for the screenshot!

I'll work on a real fix, but for now try replacing this:

postDate.innerText = "\u00BB" + (new Date(itemPubDate.textContent)).toISOString().split("T")[0];

with this:

postDate.innerText = "\u00BB" + (isNaN(Date.parse(itemPubDate.textContent)) ? "" : (new Date(itemPubDate.textContent)).toISOString().split("T")[0]);

(this won't fix the date parsing issue, but it at least should allow all the posts to load)

Having a bit of trouble getting this to work. I get as far as navigating to post=new but my blog page just says "loading posts." And when I amend script.js with the start and end patch it just breaks the JS on the site entirely. Wondering if it's something on my end as, admittedly, I'm not great with JS and have uh... changed a few things by way of adding new header buttons and such that zonelets barely likes as it is lol

I've gotten it to work just fine with any new posts I make but it's basically wiped out anything I had prior. And copy pasting posts from my old RSS feed (RuSShdown) doesn't seem to be working and I can't tell if there's some critical formatting difference I'm not noticing or not

This is great but I somehow can not get the new feed.html working.
Also I found:

  1. In the manuel is a missing " instead there is a ' at the beginning. <a href='https://adamledoux.net/zoneRSS/">zoneRSS!
  2. at line 222 in the feed.html should be a closing / - but still I got no idea why that page might not want to load
  3. Do I need to configure anything in feed.html except the + the author, and description?

Do you have any idea what I got wrong here? :D

hey Kai! thanks for finding those errors - I'll get those fixed soon :)

I just took a look at your feed (I'm assuming this is it - https://proudmorning.neocities.org/feed.xml) and it looks like most of the posts are missing a <guid> tag - did you use zoneRSS to create all of the feed entries? or were some of them made manually?

anyway, that is likely the reason the feed.html won't load - to get it working you need to add a <guid> to each RSS item.

I went ahead and made a fixed-up version of your feed - just download this file and replace your feed.xml with it: https://adamledoux.net/blog/temp/proudmorning-feed.xml

after that you should be able to use zoneRSS normally - let me know if that works!

<3 Thank you so much! You are right I just mirgrated my old rss feed (I mean copied and pastied) and worked the new entries in manuelly as it was already open :D Of course you find the right feed. Thank you also for fixing my feed but I cant download or find it on your link.

Pinned Tags