news
news copied to clipboard
If an article doesn't have title, there's no link to the article
Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)
- [x] I have read the CONTRIBUTING.md and followed the provided tips
Is your feature request related to a problem? Please describe. If an article doesn't have title, there's no link to the article. Technically it's there, but as the text inside <a></a> tag is empty, it's not visible and not clickable.
Describe the solution you'd like Update timestamp on the right side to make it a link to original article, or/and use a placeholder like "(no title)" when title is empty in order to make it visible and clickable.
Additional context

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I am currently working on a frontend rewrite in vue and will fix this issue there. I dont think it is worth fixing this in the current Code
@JonathanTreffler Do you have the issue ID for the reference?
Yes, #748 and #195
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Maybe relevant issue to pay attention to during rewrite:
In some cases it happens that the href of [link] does not contain full path ([comments] link works correctly):
<div class="body" news-bind-html-unsafe="item.body" ng-attr-dir="{{item.rtl && 'rtl'}}" dir="false"> submitted by
<a target="_blank" rel="noreferrer" href="https://www.reddit.com/user/MichaelCade"> /u/MichaelCade
</a> to
<a target="_blank" rel="noreferrer" href="https://www.reddit.com/r/kubernetes/"> r/kubernetes </a>
<br>
<span><a target="_blank" rel="noreferrer" href="/r/Kasten/comments/lsw4bq/building_the_home_lab_kubernetes_playground_part_2/">[link]</a></span>
<span><a target="_blank" rel="noreferrer" href="https://www.reddit.com/r/kubernetes/comments/lsw54e/building_the_home_lab_kubernetes_playground_part_2/">[comments]</a></span>
</div>
- Nextcloud 20.0.4
- PHP Version: 7.4.13
- Database Type: mysql Version: 10.5.8
In some cases it happens that the
hrefof [link] does not contain full path ([comments] link works correctly):
I suggested a solution here: https://github.com/nextcloud/news/issues/1952 & https://github.com/nextcloud/news/pull/2100
Duplicate of https://github.com/nextcloud/news/issues/2037?
This has become an issue for Mastodon feeds, since they've removed their titles: https://github.com/mastodon/mastodon/pull/18640
Yea that's very unfortunate, there has been no movement on the front-end part unfortunately.
And as the frontend works even less with the recently released Nextcloud 27. We are considering removing the frontend completely..
Is this fixed in the new frontend @Grotax ?
No idea, haven't seen such a feed yet. Without an example it's hard to tell what would happen.
I will check when I have time.
Not fully fixed, the Feeds from Mastodon for example do not provide a title at all. So the field in the DB is null. In the new frontend, there is simply nothing then. But it can handle it. There is still the icon to open the website and nothing breaks.
I guess some improvement could still be made here, to display something there and link it to the url of the item.
In the DB the field should still be null since it reflects the feed as is.
For other case idk, we need example feeds.