From 82ac1d1e676f93b1567eba608c00c6edaf401a9e Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 8 Aug 2022 12:04:02 +0200 Subject: Refactor entry-to-GReader API format (#4490) * Refactor entry to GReader API format 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 * Fixed some edge cases * Keep summary instead of content `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. --- app/Models/View.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/Models/View.php') diff --git a/app/Models/View.php b/app/Models/View.php index 0169f130a..ab1780405 100644 --- a/app/Models/View.php +++ b/app/Models/View.php @@ -72,8 +72,6 @@ class FreshRSS_View extends Minz_View { // Export / Import public $content; - public $entriesRaw; - public $entriesId; public $entryIdsTagNames; public $list_title; public $queryId; -- cgit v1.2.3