Helping with RSS issue

AI-generated summary

In the Marketplace category, Arta_S sought assistance for an RSS validation error on their Persian Forum, where the language tag incorrectly used an underscore (fa_IR) instead of a hyphen (fa-IR). Although cpradio initially suggested the issue lay within Discourse itself, they proceeded to investigate the codebase. cpradio identified the problem in two specific files and subsequently submitted a pull request to fix the language tag format PR Submitted. When Arta_S inquired about modifying files locally via SFTP, cpradio explained that containerized environments prevent direct file edits and that the solution requires waiting for the PR to merge and the container to rebuild. The discussion concluded with cpradio confirming that the PR was merged by Zogstrip and advising Arta_S to monitor the admin upgrade page to pull in the fix.

Hey guys,

Need someone to help me with RSS with our Persian Forum.
The language tag for RSS is fa_IR which is wrong and RSS Validator does not validate.
See here: Feed Validator Results: https://forums.7host.ir/latest.rss

The code for language must be fa-IR
note: Dash (-) instead of Underline (_)

Here is my previous topic that couldn’t find solution and can be useful to track the actual problem:

Budget $20 USD (Can pay via Paypal or pay at your gateway)

Thank you

1 « J'aime »

Hey @Arta_S,

I replied to your existing topic, as it really seems this is an issue within Discourse.

I went into quite a bit of detail, but unfortunately, I’m not 100% sure what the correct solution is here.

Will watch to see how this progresses.

Thanks mate I appreciate the effort you are under taken.

Looks like it is in two possible files

And

PR Submitted
https://github.com/discourse/discourse/pull/4653

3 « J'aime »

Shouldn’t this be at /var/discourse/app ?
I am looking through sftp and can’t seem find the folder app inside discourse folder.

You won’t. As you would have to enter the container to see the files using ./launcher enter app, but all that would be for nothing. As you’d have to rebuild the container to use the alterations, and that will undo any alterations. You simply need to wait for my PR to get merged into master, and once that happens it will be roughly 30 minutes and it should appear in tests-passed.

The Build just completed for the PR, all tests continue to pass, so it shouldn’t be long for it to get merged. I’m off to run a sound event for the rest of the night (so I won’t be available anymore today).

4 « J'aime »

Superb! Thanks man
I will wait for the update then.

Zogstrip merged it. Keep an eye on /admin/upgrade to pull it in.

5 « J'aime »

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.