-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix a failure in the URL of News Feeds if the Feed-Provider sends Spaces in the Link to the Feed #9033
Conversation
…the Link to https://www.datev.de/web/de/rss/nachrichten-steuern-und-recht.rss and call it Datev 2. Create a Menu Item of the type Single News Feed and select the Feed Datev. 3. Open this Menu Item in the Frontend and see, that die Links to the Feeds are not correct. The reason is this: DATEV add a Space to the URI and because of this in Joomla the address is displayed not correct. Apply my patch and see that die Links to the Feed now correct.
Please remove the nbproject file |
I have tested this item ✅ successfully on 50634cc This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9033. |
I was able to reproduce the issue (due to a leading "space" added to uri from JFeedFactory...) But i wonder if the code could not be cleaned in the same time ? Why not something like this :
Note: tabs not repecting J code standards in this file... Maybe a clean of the code could be welcomed in the same time ;-) |
fixed the same failure in mod_feed.
This PR has received new commits. CC: @richard67 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9033. |
I have tested this item ✅ successfully on bfb2c2d This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9033. |
@richard67 |
I will try to test it on Sunday ;-)
;-) |
one question i have. Shouldn't that "trim" be made in the feed parser library so that it applies to all feeds read by joomla no matter what is the usage context? IIRC it would be done in: |
I have tested this item ✅ successfully on bfb2c2d This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9033. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9033. |
Hi, I'm new to GitHub and I found it as I have the mentioned problem with the Datev RSS Feed. I have already installed the feed, but I do not find your "patch" to solve the link problem. Sorry for my neebie unknowing ;o) Is it a file which I can download? Thank you very much in advance, Sabrina |
Hello @s-sential please read https://docs.joomla.org/Testing_Joomla!_patches to find out how to work with issues. Additionally, the patch will be soon in the normal joomla code (which you can download on the joomla website). |
…ces in the Link to the Feed joomla#9033
Merged with commit 0048ca9 Thanks everybody. |
@grhcj Thank you very much for your support. I have successfully installed the Patch-Tester in Joomla but unfortunately I cannot find the patch in the offered list (in Joomla Backend). Is the patch still availbale there? Thank you very much in advance and sorry again for my newbie questions |
Patch tester will not show this as it had already been merged
|
@s-sential |
I see this message: This pull request is closed, but the astridx:Newsfeed branch has unmerged commits. But I do not see witch commit is unmerged? |
Hello, |
@ grhcj |
https://www.datev.de/web/de/rss/nachrichten-steuern-und-recht.rss and call it Datev
The reason is this: DATEV adds a Space to the URI and because of this in Joomla the address is displayed not correct.
Apply my patch and see that die Links to the Feed are correct now.
Update (2016-02-04):
4. Drop my patch and go to Extensions|Modules and create a new Module of the type Feed Display with the Link to
https://www.datev.de/web/de/rss/nachrichten-steuern-und-recht.rss and call it Test. Apply it to position debug and show it on all pages.