Skip to content

Refactor entry-to-GReader API format#4490

Merged
Alkarex merged 4 commits intoFreshRSS:edgefrom
Alkarex:refactor-entry-to-greader
Aug 8, 2022
Merged

Refactor entry-to-GReader API format#4490
Alkarex merged 4 commits intoFreshRSS:edgefrom
Alkarex:refactor-entry-to-greader

Conversation

@Alkarex
Copy link
Copy Markdown
Member

@Alkarex Alkarex commented Aug 5, 2022

Some code was duplicated and not completely uniform.
Cleaning of related variables and functions (e.g. better types for entries and categories as objects vs. as IDs).
Use-case: I need to call the same GReader-compatible serialization from an extension

Some code was copied in two locations and not completely uniform.
Cleaning of related variables and functions (e.g. better types for entries and categories as objects vs. as IDs).
Usecase: I need to call the same GReader-compatible serialization from an extension
@Alkarex Alkarex added this to the 1.20.0 milestone Aug 5, 2022
Alkarex added 3 commits August 7, 2022 23:59
`summary` and `content` seems to be used interchangeably in the Google Reader API. We have been using `summary` for our client API and  `content` in our export/import, so stick to that.
@Alkarex Alkarex added the API 🤝 API for other clients label Aug 8, 2022
@Alkarex Alkarex merged commit 82ac1d1 into FreshRSS:edge Aug 8, 2022
@Alkarex Alkarex deleted the refactor-entry-to-greader branch August 8, 2022 10:04
@Alkarex Alkarex mentioned this pull request Sep 3, 2023
$entry->_feed($feed);

if (isset($this->entryIdsTagNames['e_' . $entry->id()])) {
$entry->_tags($this->entryIdsTagNames['e_' . $entry->id()]);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wrongly mixed tags and labels. Regression fixed in #5626

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API 🤝 API for other clients

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant