mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-30 10:07:11 +00:00
localize help dialogs
This commit is contained in:
19
help/1.php
19
help/1.php
@@ -1,26 +1,23 @@
|
||||
<h1>Labels and SQL Expressions</h1>
|
||||
<h1><?php echo __("Labels and SQL Expressions") ?></h1>
|
||||
|
||||
<p>Labels are generated by using SQL expressions. The «SQL expression» is added to WHERE clause of view feed query. You can match on ttrss_entries table fields and even use subselect to query additional information. This functionality is considered to be advanced and requires some understanding of SQL.</p>
|
||||
<p><?php echo __("Label content is generated using SQL expressions. The «SQL expression» is added to WHERE clause of view feed query. You can match on ttrss_entries table fields and even use subselect to query additional information. This functionality is considered to be advanced and requires some understanding of SQL.") ?></p>
|
||||
|
||||
<h2>Examples</h2>
|
||||
<h2><?php echo __("Examples") ?></h2>
|
||||
|
||||
<p>Match all unread articles:</p>
|
||||
<p><?php echo __("Match all unread articles:") ?></p>
|
||||
|
||||
<code>unread = true</code>
|
||||
|
||||
<p>Matches all articles which mention Linux in the title:</p>
|
||||
<p><?php echo __("Matches all articles which mention Linux in the title:") ?></p>
|
||||
|
||||
<code>ttrss_entries.title like '%Linux%'</code>
|
||||
|
||||
<p>Matches all articles for the last week (PostgreSQL):</p>
|
||||
<p><?php echo __("Matches all articles for the last week (PostgreSQL):") ?></p>
|
||||
|
||||
<code>updated > NOW() - INTERVAL '7 days'</code>
|
||||
|
||||
<p>Matches all articles with scores between 100 and 500:</p>
|
||||
<p><?php echo __("Matches all articles with scores between 100 and 500:") ?></p>
|
||||
|
||||
<code>score > 100 and score < 500</code>
|
||||
|
||||
<p>See the database schema <a target="_blank" href="http://tt-rss.org/trac/browser/schema/ttrss_schema_pgsql.sql">here</a> or included in the distribution package for gruesome details. The relevant tables are <b>ttrss_entries</b> and <b>ttrss_user_entries</b>.</p>
|
||||
|
||||
<p class="insensitive">Feel free to post more clever examples of labels on Tiny
|
||||
Tiny RSS <a target="_blank" href="http://tt-rss.org/forum">forums</a>.</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user