getgrav / grav-plugin-feed

Grav Feed Plugin
https://getgrav.org
MIT License
16 stars 11 forks source link

RSS and ATOM Links Reload Page Instead of Generating Feeds #76

Open thekenshow opened 1 month ago

thekenshow commented 1 month ago

I have a Grav 1.7.45 site with the latest Quark theme and Feeds plugin enabled. The /news page (blog.md) page renders the expected items, per:

content:
    items:
        - '@self.children'
    leading: 0
    columns: 2
    limit: 10
    order:
        by: date
        dir: desc
    show_date: false
    pagination: true
    url_taxonomy_filters: true

When I click either the RSS or Atom links, the page simply refreshes and no feed is generated. Screen shots below:

News page:

image

Atom page:

image

RSS page:

image

rhukster commented 1 month ago

This looks to be a configuration issue with your webserver. You can test this with the built-in PHP webserver by simply running:

bin/grav server

In the root of your site.

And visiting the URL provided in your browser. If this works, then it's not Grav, but the webserver. I would need to know the webserver you are using and the webserver configuration to make any guesses what the problem might be.

thekenshow commented 1 month ago

I'm using ddev with:

php_version: "7.4"
webserver_type: apache-fpm
router_http_port: "80"
router_https_port: "443"

Shutdown Docker/ddev, then ran "bin/grav server" in site root and browsed to http://127.0.0.1:8000/news. Loads as expected, same as ddev:

Screenshot 2024-05-15 at 10 03 48 AM

Clicked Atom 1.0 link, loads http://127.0.0.1:8000/news.atom but displays same news page, no feed downloaded:

Screenshot 2024-05-15 at 10 04 58 AM

Clicked RSS link, loads http://127.0.0.1:8000/news.rss but displays same news page, no feed downloaded:

Screenshot 2024-05-15 at 10 06 18 AM

thekenshow commented 1 month ago

Also, here is the Clockwork log when I load http://127.0.0.1:8000/news.rss. Let me know if you want to see

Screenshot 2024-05-15 at 10 35 34 AM

And the expanded feed plugin config from that Clockwork log:

Screenshot 2024-05-15 at 10 37 12 AM

Let me know if you need any other details.