Skip to content

No distinction between entries and feeds in the CLI output #11

@chocolateboy

Description

@chocolateboy

It would be nice if there was a way to directly distinguish between feed records and entry records in the output of the CLI command. Currently, they are both emitted as objects with largely overlapping fields. In practice, the feed record always appears to be emitted last, so this can be used to distinguish them, but that's hacky and defeats the purpose of the streaming API. It would be nice if there was a direct way e.g. a type field:

{
    "id": "http://liftoff.msfc.nasa.gov/2003/05/30.html#item572",
    "summary": "Sky watchers in partial eclipse of the Sun on Saturday, May 31st.",
    "type": "entry"
}
{
    "language": "en-us",
    "link": "http://liftoff.msfc.nasa.gov/",
    "summary": "Liftoff to Space Exploration.",
    "title": "Liftoff News",
    "type": "feed"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions