Skip to content
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

Itunes image overrides title and link from image #314

Open
H4kor opened this issue Jun 23, 2022 · 0 comments · May be fixed by #315
Open

Itunes image overrides title and link from image #314

H4kor opened this issue Jun 23, 2022 · 0 comments · May be fixed by #315

Comments

@H4kor
Copy link

H4kor commented Jun 23, 2022

When a feed has an image and an itunes:image, the title and link are removed.

Example:

<rss>
    <channel>
        <image>
            <url>https://example.com/image.png</url>
            <title>Image Test</title>
            <link>https://example.com</link>
        </image>
        <itunes:image href="https://example.com/image.png"/>
    </channel>
</rss>

Result:

{
    'feed': {
        'image': {
            'href': 'https: //example.com/image.png'
        },
    }
}

Expected:

{
    'feed': {
        'image': {
            'href': 'https: //example.com/image.png',
            'title: 'Image Test',
            'links': [{'href': 'https://example.com'}]
        },
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant