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

Rss feed enhance #145

Merged
merged 4 commits into from
Jul 3, 2024
Merged

Conversation

ssrtw
Copy link

@ssrtw ssrtw commented Jun 12, 2024

Fixed an issue where RSS items without provided titles, such as those from mastodon, would not show titles in the RSS list, leading to an absence of navigable links. According to the RSS specification, it is permissible to omit a title. However, this led to a situation where titles were not displayed in the RSS widget, making it impossible to access the corresponding links.

Additionally, the logic for hide-categories and hide-description has been adjusted, so that these settings only affect the display when the style is set to detailed-list.

Before:
image
After:
image

Example config:

pages:
  - name: Test
    columns:
      - size: full
        widgets:
          - type: rss
            limit: 10
            feeds:
              - url: https://mastodon.social/@Mastodon.rss
          - type: rss
            style: detailed-list
            limit: 10
            feeds:
              - url: https://mastodon.social/@Mastodon.rss
      - size: full
        widgets:
          - type: rss
            style: horizontal-cards-1
            limit: 10
            feeds:
              - url: https://mastodon.social/@Mastodon.rss
          - type: rss
            style: horizontal-cards-2
            limit: 10
            feeds:
              - url: https://mastodon.social/@Mastodon.rss

@svilenmarkov
Copy link
Member

Thanks for contributing!

@svilenmarkov svilenmarkov merged commit 9bda88e into glanceapp:release/v0.6.0 Jul 3, 2024
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 this pull request may close these issues.

None yet

2 participants