Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: RSS not working
I’ve looked through Admin settings. Everything seems in order.
I’ve looked through .htaccess, blocking out elements trying to see if I can whittle it down to one thing, but nothing changes there.
If I click my feed link, I think I’m supposed to see an xml text file open, but what actually happens is I get a download of the feed file with a random file name and an .rss extension. When I open it, it looks like a regular xml feed file.
All I can think of is this is a web host problem, but I don’t even know what to ask them. They are not very client-needs oriented, in any case. They strike me as the arrogant sysadmin type that don’t know as much as they act. They tried to tell me to use a ‘more well known’ email address (e.g. gmail) when I first joined, because they had never heard of Protonmail before. That was their security check, I guess. And their servers are not green. I want away from these fools.
But this problem seems to have just happened out of the blue. It might have been this way for a while. I don’t know. But it was not always this way with the host.
I notice the same problem with fullpoint.wion.com, too.
If anyone can suggest how I might phrase my question to the host, I’m listening. Other than that I’m out of ideas. I might have to stop supporting RSS, I guess.
Offline
Re: RSS not working
bici wrote #333288:
On another note…what a wonderful quirky site you have dear Mr. Wion .
A throwback to a better web!
Thanks, bic. I’m just aiming for simple, light, privacy-respecting, and quality—whether it’s a throwback, pass forward, or lateral toss.
By this time next year I hope to be hosting and powering it myself from a Blackberry Pi and solar panel. I’m sick of these web host middlemen. I’d like to fold in a small wind turbine later, to help with up-time in the winter season. Part of this means getting the wifman on board with my experiments, though. ;}
Offline
Re: RSS not working
You’ll better check first with your host (telling that feeds are not served correctly and give the URL I gave above)
Otherwise, this may help: github.com/h5bp/server-configs-apache/blob/main/dist/.htaccess#L131 but the server-jockeys on the forum can hopefully chime in. It is semi above my pay grade here.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: RSS not working
I think you might be on to something there.
Investigating …
Offline
Re: RSS not working
Well, I was indeed missing these lines in my .htaccess in the mod_mime.c
module…
AddType application/atom+xml atom
AddType application/rss+xml rss
AddType application/xml xml
Adding them has not changed anything, though.
Maybe that is the problem at the host’s end.
But just curious, even though it is less efficient to use .htaccess for that, wouldn’t it override anything set in the Apache httpd.conf file?
Last edited by Destry (2022-05-16 09:52:10)
Offline
Re: RSS not working
Fugly link works, fwiw:
wion.com/index.php?rss=1&section=notes
…which leads me to wonder if it’s a .htaccess rewrite issue.
Offline
Re: RSS not working
Anything look off here? I am not really qualified to see it well.
# ----------------------------------------------------------------------
# D] REWRITES
# ----------------------------------------------------------------------
# D.1] Textpattern CMS
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
#Options +FollowSymLinks
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
# D.2] Forcing `No WWW`
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</IfModule>
# D.3] Forcing `https://`
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
# D.4] Block Access to Hidden Files/Directories
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} "!(^|/)\.well-known/([^./]+./?)+$" [NC]
RewriteCond %{SCRIPT_FILENAME} -d [OR]
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</IfModule>
Offline
Re: RSS not working
Destry wrote #333305:
But just curious, even though it is less efficient to use .htaccess for that, wouldn’t it override anything set in the Apache httpd.conf file?
Yes, that’s one of the intended use cases. The web server sets its configs at a low level, and per-site or per-directory adds or changes directives.
Offline
Re: RSS not working
gaekwad wrote #333313:
Fugly link works
Not for me. I get the RSS XML file downloaded as index.php in Firefox. Might just be my browser settings though.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Online
Re: RSS not working
on my desktop https://wion.com/rss/?section=notes opens up Apple News app. But no love for your feed.
So your RSS seems to trigger a news reader and i don’t get a file download.
…. texted postive
Offline
Re: RSS not working
Destry wrote #333302:
Thanks, bic. I’m just aiming for simple, light, privacy-respecting, and quality—whether it’s a throwback, pass forward, or lateral toss.
I see it as a continuum of some very great simple— less is more —website that i have had the pleasure of visiting over the years starting off with textile.com
By this time next year I hope to be hosting and powering it myself from a Blackberry Pi and solar panel. I’m sick of these web host middlemen. I’d like to fold in a small wind turbine later, to help with up-time in the winter season. Part of this means getting the wifman on board with my experiments, though. ;}
let me put in a shameless plug for opalstack.com . you owe it to yourself to give them a test drive. if only for their personal support.
PS managing your own server ? Give that a second thought. Spend more time on your wood working or writing. You will be a much happier camper À bientôt
…. texted postive
Offline
Re: RSS not working
Wild guess. Would it be ♬ appearing on /notes/dark-mode?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline