Stylesheet not loaded on website - needs https - is stylesheet" href="http:// #18

Closed
opened 2025-05-13 02:55:20 +02:00 by ajlewis2 · 4 comments

I get this error on with the css not loading. It says:
Mixed Content: The page at 'https://anitalewis.org/' was loaded over HTTPS, but requested an insecure stylesheet ' "http://anitalewis.org/css/style.css'. This request has been blocked; the content must be served over HTTPS.

Can I configure for this change.

Similarly - can change my feed to feed.xml rather than rss.xml to correspond to the feed people already follow. I can probably just put a link in so that both are available. The stylesheet is my main concern. Thanks!

I get this error on with the css not loading. It says: Mixed Content: The page at 'https://anitalewis.org/' was loaded over HTTPS, but requested an insecure stylesheet ' "http://anitalewis.org/css/style.css'. This request has been blocked; the content must be served over HTTPS. Can I configure for this change. Similarly - can change my feed to feed.xml rather than rss.xml to correspond to the feed people already follow. I can probably just put a link in so that both are available. The stylesheet is my main concern. Thanks!
Author

Sorry. The light went on in my head just a bit too late. I entered the http instead of https myself in the local config.

Should I ask about the use of feed.xml instead of rss.xml separately?

Sorry. The light went on in my head just a bit too late. I entered the http instead of https myself in the local config. Should I ask about the use of feed.xml instead of rss.xml separately?
Owner

@ajlewis2 wrote in #18 (comment):

Sorry. The light went on in my head just a bit too late. I entered the http instead of https myself in the local config.

Should I ask about the use of feed.xml instead of rss.xml separately?

Hi, I'll make the rss name configurable, so people can easily migrate from other solutions.
I'll let you know as soon as it'll be implemented. Thanks!

@ajlewis2 wrote in https://brew.bsd.cafe/stefano/BSSG/issues/18#issuecomment-227: > Sorry. The light went on in my head just a bit too late. I entered the http instead of https myself in the local config. > > Should I ask about the use of feed.xml instead of rss.xml separately? Hi, I'll make the rss name configurable, so people can easily migrate from other solutions. I'll let you know as soon as it'll be implemented. Thanks!
stefano reopened this issue 2025-05-13 08:03:43 +02:00
Owner

Ok, fixed and pushed to repo.

Could you please test it? I've also modified the header template as it will reflect the produced output.

Just add the:
RSS_FILENAME="feed.xml"
in your config.sh.local file and perform a build --clean-output - it will produce the rss as feed.xml (or any filename you want).

Please, let me know about your experience with it.

Ok, fixed and pushed to repo. Could you please test it? I've also modified the header template as it will reflect the produced output. Just add the: `RSS_FILENAME="feed.xml"` in your config.sh.local file and perform a build --clean-output - it will produce the rss as feed.xml (or any filename you want). Please, let me know about your experience with it.
Author

Fantastic! I had minor confusion when checking using the localhost. It was changed and then it was back to the old. And yet it was changed in the actual files. I forgot that the URL is being used for the RSS feed and that leads to my website. I had not yet uploaded the changes. Uploaded the new and reloaded my browser and all looks perfect. Happily I also learned how to upgrade the BSSG code, so I have your new code which I wanted to do soon. Thanks!!

Fantastic! I had minor confusion when checking using the localhost. It was changed and then it was back to the old. And yet it was changed in the actual files. I forgot that the URL is being used for the RSS feed and that leads to my website. I had not yet uploaded the changes. Uploaded the new and reloaded my browser and all looks perfect. Happily I also learned how to upgrade the BSSG code, so I have your new code which I wanted to do soon. Thanks!!
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stefano/BSSG#18
No description provided.