Embedded RSS feed doesn't appear in dev environment:

28 views
Skip to first unread message

Roz Townsend

unread,
Feb 16, 2024, 9:09:53 AMFeb 16
to Alaveteli Dev
We have am embedded RSS feed appearing in the live version of our Alaveteli site's landing page (handlingar.se), but the feed isn't showing up in development. I was told by Mattias Axell to ask here and attach screencaps of the dev UI and live UI. Welp, here they are. Would be happy to provide any additional information to help solve the issue.

The landing page in production with RSS feed:
Screenshot from 2024-02-16 14-15-18.png

The landing page in dev with no feed:
Screenshot from 2024-02-16 14-15-50.png

Gareth Rees

unread,
Feb 19, 2024, 5:11:13 AMFeb 19
to Alaveteli Dev
Hey Roz,

Couple of things to check:

1. Is the BLOG_FEED configuration set to the feed URL in your development environment?
2. Is the BLOG_TIMEOUT set to a reasonable amount of time? (Default is 60 seconds)

I think you need to hit `/blog` in order to fetch & cache most recent posts (we'd like to move this fetching of posts to a background job at some point, but we are where we are!).

If none of that works, are you seeing any error messages in `log/development.log`?

Best,

Gareth

Roz Townsend

unread,
May 2, 2024, 8:16:04 AMMay 2
to Alaveteli Dev
Excuse the late reply. I just checked the BLOG_FEED, and it goes to a direct download of our blog's XML file with the feed. BLOG_TIMEOUT is set to the default 60 seconds. I see no error messages in development.log.

I am able to access the page with the feed (/blog) in the nav menu.

Thanks,
Roz

Gareth Rees

unread,
May 7, 2024, 7:07:10 AMMay 7
to alavet...@googlegroups.com
No worries – asynchronous communication is totally expected!

Okay, we’ve at least established that the feed import appears to be working. Are there records in the blog_posts table?

If there are, then the next thing I’d check is to make sure that your controller and view code are attempting to render them on the homepage, and that you haven’t got any customisations that might prevent that.

--
Gareth Rees
Reply all
Reply to author
Forward
0 new messages