The online racing simulator
Developer forum posts as RSS
(55 posts, started )
Quote from felplacerad :Gah, the SSL/TLS certificate expired almost a month ago and I forgot to renew it. All fixed now. Sorry about this.

Edit: Crontab added. We'll see in three (~) months if it worked (note to self: Thursday, December 19, 2019). Tongue

Oh no! The forbidden date!

https://www.lfs.net/news/46
It seems to be confusing Flotch with Scawen. I get a notification whenever he posts Smile
It still detects Scawen's posts as it should though.
Oh, that's weird!

I can't find an instance of that happening, though?

I did note that Scawen quoted Flotch at least 10 times (for example in post 1951527 / guid 2293 - screenshot attached).

Would it be possible for you to give an example of this happening?
Attached images
Screenshot_2019-11-09 lfsdev-rss.png
Strangely enough, I don't actually see posts from Flotch in the feed, there are only Scawen's posts so that's fine.

However, I'm using "Feedly Notifier" Firefox extension and I get a notification every time Flotch posts. I'm 100% sure about that, yesterday I got a notification right after he posted this.

I have no idea how these things work but I assume that for the extension to push the notification your website has to trigger it somehow?
Basically, my "scraper" visits the forum, searches for posts by Scawen (as well as Victor and Eric) and adds the content of the posts to a RSS feed.

I wasn't familiar with with Feedly or the Feedly Notifier extension, but after looking at them quickly I gather that it'd work something like this:
  1. The scraper visits the forum and searches for developer posts.
  2. New posts are added to the "original" RSS feed.
  3. In Feedly, you've added the RSS feed as a source, effectively creating a "copy" of the feed.
  4. In Firefox, you've installed Feedly Notifier and logged in with your Feedly account, allowing the extension to monitor Feedly's copy.
So, when a new post is added to the original RSS feed, Feedly adds it to it's own copy, and finally Feedly Notifier displays a notification in Firefox / your desktop.

Since I can't find any posts by Flotch in the original RSS feed (view-source:https://www.liveforspeed.se/lfsdev-rss) or in Feedly (see screenshot) the problem must be with the Feedly Notifier extension -- Though I did not get any notifications from Flotch when setting it up in Firefox.

Since the posts sometimes contain HTML (for example when people are quoting or including links or images) I would not be surprised that certain parsers may interpret the feed incorrectly, but since the feed does in fact validate I can't really think of something I could do differently.

That said, I'll keep the Feedly Notifier extension in Firefox for a while and keep an eye on it.

Edit: Would you too please log in to Feedly and check if any posts by Flotch are showing up there? If not, the problem is most definitely with Feedly Notifier.
Attached images
Screenshot_2019-11-09 lfsdev-rss-feedly.png
Quote from felplacerad :Would you too please log in to Feedly and check if any posts by Flotch are showing up there?

Quote from LakynVonLegendaus :..I don't actually see posts from Flotch in the feed, there are only Scawen's posts so that's fine.


Quote from felplacerad :Though I did not get any notifications from Flotch when setting it up in Firefox.

You need to wait until he posts again.
what did I do ? Big grin
I don't know! For me, everything appears to be working fine.
Attached images
Screenshot_2019-11-10 feedly-notifier.png
Well, this one didn't trigger it Big grin

Maybe it has to be a thread that Scawen created or where he posted. I dunno, give it a while it will happen Smile
So, did the following post show up in your feed? Seems fine to me. Uhmm

https://www.lfs.net/forum/post/1951727#post1951727

It appears to fit all of the discussed criteria.

Anyway. When I find the time (probably tomorrow) I'll make a little adjustment to the feed to correct a small issue I noticed with Feedly. The item title (as well as the "Visit Website" button that appears when you expand an item) leads nowhere rather than to the post. This happens because Feedly (to me, incorrectly) uses the Feed's <guid> element rather than the <link> element as the reference for the links.

I suspect that this change will cause a large number of duplicate items.
For the third time - the feed is fine. My problem is that sometimes the notifications are being triggered by wrong posts.

This time it wasn't Flotch though. So at least a change Big grin
Attached images
2019-11-12 17_57_06.jpg
Quote from LakynVonLegendaus :For the third time - the feed is fine. My problem is that sometimes the notifications are being triggered by wrong posts.

This time it wasn't Flotch though. So at least a change Big grin

But that is in fact a notification about a post that Scawen made earlier - in which he quotes someone. That's the intended behavior.

https://www.lfs.net/forum/post/1951725#post1951725

The timing of driftchris posting at the same time Feedly / Feedly Notifier updated is just a coincidence (I can't really make sense of Feedly's update interval).

8.29.198.25 - - [12/Nov/2019:08:38:37 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 35698 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 3 subscribers; like FeedFetcher-Google)"
8.29.198.26 - - [12/Nov/2019:08:49:17 +0100] "GET /lfsdev-rss HTTP/1.1" 301 3785 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 2 subscribers; like FeedFetcher-Google)"
8.29.198.26 - - [12/Nov/2019:08:49:18 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 35698 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 2 subscribers; like FeedFetcher-Google)"
8.29.198.25 - - [12/Nov/2019:11:39:25 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36249 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 3 subscribers; like FeedFetcher-Google)"
8.29.198.27 - - [12/Nov/2019:11:50:14 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36249 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 2 subscribers; like FeedFetcher-Google)"
8.29.198.27 - - [12/Nov/2019:14:40:25 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36518 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 3 subscribers; like FeedFetcher-Google)"
8.29.198.26 - - [12/Nov/2019:14:51:00 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36975 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 2 subscribers; like FeedFetcher-Google)"
8.29.198.27 - - [12/Nov/2019:17:41:20 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36975 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 3 subscribers; like FeedFetcher-Google)"
8.29.198.26 - - [12/Nov/2019:17:52:13 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36975 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 2 subscribers; like FeedFetcher-Google)"

Yes, that is a post by Scawen and that post was created at 14:47. And the notification was triggered by a post by driftchris at 17:42.
Quote from LakynVonLegendaus :Yes, that is a post by Scawen and that post was created at 14:47. And the notification was triggered by a post by driftchris at 17:42.

Again, that's just a coincidence. Neither my feed or Feedly knows when someone posts, so notifications can not be triggered by such an event - The information simply isn't there (unless Feedly has created their own scraper for lfsforum.net and - for some reason - concatenates it with my feed. But that would be some next-level insanity Ya right)

That said, once I get around making the fix I mentioned earlier, I'll add an <ttl> element indicating that aggregators such as Feedly should update more regularly.
No, I promise that's not a coincidence because that's like 5th time this happened (that I noticed) and the times always match. Shame I didn't screenshot those, I will from now on Big grin
Heh,

Right now we have a "pending" post by Scawen posted at 18:47. Oops, actually two (another one at 18:51). They have already been added to my feed, but they're not showing up in Feedly yet (the time is 19:01). It'll be interesting to see when they're added to Feedly (I'll see it in the access logs) and when the notification appears.

Note that pressing the refresh button in Feedly won't actually make it refresh the feed. It's just a GUI thing.

Edit: I went ahead and added the <ttl> element. Hopefully it'll make Feedly refresh more regularly.
Aaand there we go:

8.29.198.27 - - [12/Nov/2019:20:42:17 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 37229 "-" "Feedly/1.0 (+http://www.feedly.com/fetcher.html; 3 subscribers; like FeedFetcher-Google)"

Feedly just refreshed (after being idle for about 3 hours), and like clockwork the notification(s) appeared in Feedly Notifier. The posts that eclipsed and gu3st created meanwhile did not trigger any notifications.

Also, now that Feedly has refreshed it might have read the ttl setting that I had added since the last visit. if Feedly does in fact adhere to that setting the somewhat arbitrary reresh intervals should be fixed too. We'll see.

Edit: Nope. Looks like Feedly will update whenever it feels like it:

Quote from Feedly :How often will Fetcher retrieve my feeds?

Fetcher shouldn't retrieve feeds from most sites more than once every hour on average. Some frequently updated sites may be refreshed more often. Note, however, that due to network delays, it's possible that Fetcher may briefly appear to retrieve your feeds more frequently.

I don't understand any of this man but don't bother with it too much. It's not even a big deal I just initially thought that the feed itself is bugged and clearly it's just a delayed notification. I can live with that. I'm probably the only one using a notifier anyway Big grin
Again the times match.

But don't bother with it lol
Attached images
2019-11-12 23_51_24.jpg
Quote from LakynVonLegendaus :Again the times match.

But don't bother with it lol

Yeah, no. I won't. I stand by my previous conclusion. Smile

Also, I just noticed another Feedly "quirk" It doesn't display post times correctly. Rather than displaying when a post was published (as described in the <pubDate> element), it displays the time the was received (eg: when Feedly refreshed my feed).

Perhaps you've noticed that both entries in your notification appears to have been posted "8 minutes ago" when, in fact, they were posted an hour apart. Perhaps that may add to the confusion.

Edit: For my own piece of mind I'll post each visit by Feedly's "fetcher" bot throughout the day:

8.29.198.25 - - [12/Nov/2019:08:38:37 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 35698 "
8.29.198.26 - - [12/Nov/2019:08:49:18 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 35698 "
8.29.198.25 - - [12/Nov/2019:11:39:25 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36249 "
8.29.198.27 - - [12/Nov/2019:11:50:14 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36249 "
8.29.198.27 - - [12/Nov/2019:14:40:25 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36518 "
8.29.198.26 - - [12/Nov/2019:14:51:00 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36975 "
8.29.198.27 - - [12/Nov/2019:17:41:20 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36975 "
8.29.198.26 - - [12/Nov/2019:17:52:13 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 36975 "
8.29.198.27 - - [12/Nov/2019:20:42:17 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 37229 "
8.29.198.25 - - [12/Nov/2019:20:52:58 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 37229 "
8.29.198.35 - - [12/Nov/2019:21:48:02 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 37382 "
8.29.198.36 - - [12/Nov/2019:21:48:12 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 37382 "
8.29.198.33 - - [12/Nov/2019:21:48:13 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 37382 "
8.29.198.25 - - [12/Nov/2019:23:43:20 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 37759 "
8.29.198.27 - - [12/Nov/2019:23:53:48 +0100] "GET /lfsdev-rss/ HTTP/1.1" 200 37759 "

"8 minutes ago" is the time when the notification(s) was triggered. Not when the post was made.

I though highlighting the times in the screenshot was enough Smile

23:51 - 8 minutes = 23:43 This is the time when the notification was triggered. The exact same time UnknownMaster posted.
Yup. I got that.

It's an active thread with up to 50 posts a day. Sometimes someone will post at the same time Feedly decides to refresh my feed. There's nothing I can do about that.

Thanks for the interest, though. I'm glad people find the feed useful. Smile
Alright, no problemo. Thanks for keeping the feed up and all Thumbs up
Quote from felplacerad :
Anyway. When I find the time (probably tomorrow) I'll make a little adjustment to the feed to correct a small issue I noticed with Feedly. The item title (as well as the "Visit Website" button that appears when you expand an item) leads nowhere rather than to the post. This happens because Feedly (to me, incorrectly) uses the Feed's <guid> element rather than the <link> element as the reference for the links.

I suspect that this change will cause a large number of duplicate items.

It's been done. And as I suspected it did trigger a bunch of "new" items to appear. But not to be worried, it was just a one-off thing to fix the broken links.

Developer forum posts as RSS
(55 posts, started )
FGED GREDG RDFGDR GSFDG