Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Feedbin appears to grab incorrect <title> element #559

Open
frippz opened this issue Jan 3, 2017 · 1 comment
Open

Feedbin appears to grab incorrect <title> element #559

frippz opened this issue Jan 3, 2017 · 1 comment

Comments

@frippz
Copy link

frippz commented Jan 3, 2017

Subscribed to the following feed: http://www.hemnet.se/mitt_hemnet/sparade_sokningar/11466596.xml (sample code in Gist: https://gist.github.com/frippz/d5c37dba581d9e7946454f364a2a02db). Noticed that Feedbin appears to grab the first <title> present in the XML (that happens to be a child of the <image> node), not the proper node that is a direct descendant of <channel>.

I've verified that the feed is valid XML. Should the order of the nodes make any difference?

@frippz frippz changed the title Feedbin appears to grab incorrect <title> element Feedbin appears to grab incorrect <title> element Jan 3, 2017
@Mange
Copy link

Mange commented Jan 3, 2017

From the <image> section of RSS2 standard:

<image> sub-element of <channel>

<image> is an optional sub-element of <channel>, which contains three required and three optional sub-elements.

[...]

<title> describes the image, it's used in the ALT attribute of the HTML <img> tag when the channel is rendered in HTML.

So the image.title tag should just be the alt-text of the image.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants