livemarks icon indicating copy to clipboard operation
livemarks copied to clipboard

CalyxOS Feed staying empty

Open haarp opened this issue 8 months ago • 2 comments

Add-on version Add-on version: 3.8

Describe the bug The feed on CalyxOS's website (https://calyxos.org/feed.xml) previews fine, but the live folder stays empty.

To Reproduce Steps to reproduce the behavior:

  1. Visit link above with Firefox
  2. See feed in browser
  3. Add Livemark
  4. Watch livemark stay empty

Expected behavior Livemark should populate

Extra context This looks similar to #469. Is a non-standard format to blame here aswell?

Thanks!

haarp avatar Apr 17 '25 20:04 haarp

The problem is that the <link> uses a relative URL instead of an absolute URL.

<link href="/news/2025/04/17/april-security-update2/" rel="alternate" type="text/html" title="April 2025 Security update - take two"/>

evilpie avatar Apr 18 '25 21:04 evilpie

I had a quick look at RFC4287 regarding relative links.

Any element defined by this specification MAY have an xml:base attribute [W3C.REC-xmlbase-20010627]. When xml:base is used in an Atom Document, it serves the function described in section 5.1.1 of [RFC3986], establishing the base URI (or IRI) for resolving any relative references found within the effective scope of the xml:base attribute.

No mention on how to resolve URIs without xml:base tho. The feed in question offers xml:base, but only inside the <content> tag. I really can't tell if this is a standard-conforming feed.

edit: Opened an issue on the CalyxOS side. https://gitlab.com/CalyxOS/calyxos/-/issues/3184

haarp avatar Apr 20 '25 15:04 haarp