Implementing TTRSS: Searching #124

Closed
opened 2017-11-20 00:16:38 -05:00 by jking · 0 comments
Owner

The getHeadlines operation (see #83) allows for a search-string to be input to return fine-grained results. In the interests of time our original Tiny Tiny RSS implementation omits this, but it can and should be supported eventually---though possibly only after PostgreSQL and MySQL/MariaDB are supported.

The search syntax is described below:

Search Syntax

Search query consists of several keywords. If keyword starts with "-", it is considered a negative match. Several special keywords are available:

  • @{date} - match by date. For example, @yesterday or @2011-11-03. Please note that due to incomplete implementation, special date keywords like yesterday might not match all articles if user timezone is different from tt-rss internal timezone (UTC).
  • pub:{true,false} - match only published or unpublished articles
  • star:{true, false} - same, starred articles
  • unread:{true, false} - self explanatory (requires trunk as of 05.03.2015)
  • note:{true, false, sometext} - same, for articles having an attached note or matching the specified text
  • title:, author: - self explanatory

Pointless as it may be, you can combine the negative prefix with the special keywords: -star:true would essentially mean star:false.

The `getHeadlines` operation (see #83) allows for a search-string to be input to return fine-grained results. In the interests of time our original Tiny Tiny RSS implementation omits this, but it can and should be supported eventually---though possibly only after PostgreSQL and MySQL/MariaDB are supported. The search syntax is described below: Search Syntax ============= Search query consists of several keywords. If keyword starts with "-", it is considered a negative match. Several special keywords are available: * @{date} - match by date. For example, @yesterday or @2011-11-03. Please note that due to incomplete implementation, special date keywords like yesterday might not match all articles if user timezone is different from tt-rss internal timezone (UTC). * pub:{true,false} - match only published or unpublished articles * star:{true, false} - same, starred articles * unread:{true, false} - self explanatory (requires trunk as of 05.03.2015) * note:{true, false, sometext} - same, for articles having an attached note or matching the specified text * title:, author: - self explanatory Pointless as it may be, you can combine the negative prefix with the special keywords: -star:true would essentially mean star:false.
jking added this to the Omitted features milestone 2017-11-20 00:16:38 -05:00
jking added the
feature
api
labels 2017-11-20 00:16:38 -05:00
jking removed the due date 0000-12-31 2018-08-15 09:46:37 -04:00
jking modified the milestone from Omitted features to 0.7.0 2019-02-27 10:58:31 -05:00
jking closed this issue 2019-02-28 22:58:53 -05:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: MensBeam/Arsse#124
No description provided.