Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

WIP (Request for comments) Relay one post's content; fallback to description #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eldipa
Copy link
Contributor

@eldipa eldipa commented Jun 28, 2020

Problem:

post.description sometime returns only a summary.

Proposed solution:

In order to get the full description we read post.content[0].value and we fallback to post.description if the
former does not exist.

Request for comments:

I couldn't figure out why the posts of some feeds only give me a summary when I call post.description. It happen with RSS and Atom feeds.

Using post.content[0].value is a hack:

  • I arbitrary pick the first of content: could we select one based on the type?
  • Could we use other thing instead of post.content?

The change will not be backward compatible so probably we should add a flag in the command line or something similar and enable this feature/workaround/hack optionally.

This PR is obviously a work in progress.

`post.description` returns only a summary. In order to get the full
description we read post content fallbacking to description if the
former does not exist.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant