Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thekenshow opened this issue May 10, 2024 · 3 comments
Open

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

thekenshow opened this issue May 10, 2024 · 3 comments

Comments

@thekenshow
Copy link

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
Copy link
Member

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
Copy link
Author

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants