https://bugs.kde.org/show_bug.cgi?id=522902

            Bug ID: 522902
           Summary: Cannot find link alternate feed source from HTML when
                    link tag is closed XML-style
    Classification: Applications
           Product: akregator
      Version First 6.6.2
       Reported In:
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Akregator cannot see a <link rel="alternate" ..> tag in an HTML source provided
to the "Add feed" dialog if the link tag is closed. That is, neither of the
following are seen:

<link rel="alternate" href="http://example.com"; type="application/atom+xml"/>
<link rel="alternate" href="http://example.com";
type="application/atom+xml"></link>

Whereas this form IS seen:

<link rel="alternate" href="http://example.com"; type="application/atom+xml">

Note the lack of a trailing / in the latter (working) version.

This problem occurs whether the HTML file is served as text/html or
application/xhtml+xml which means that a web serving XHTML cannot provide an
RSS feed location (because the trailing /> is mandatory for XHTML). While the
/> is not *necessary* in HTML, it is allowed.


STEPS TO REPRODUCE
1. Add Feed…
2. Provide a URL serving an HTML page with one of the bad link forms shown
above.

OBSERVED RESULT
Error dialog  "Feed not found from…"

EXPECTED RESULT
New feed properties dialog (i.e. no error dialog).

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 6.27.0
Qt Version: 6.10.3

ADDITIONAL INFORMATION
Using the latest org.kde.akregator flatpak on x86_64 Linux.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to