X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FConfig%2Findex.html.twig;h=8743dc1dd0b207f15508376b0a734f60e0afb8d9;hb=7019c7cf6c6af39c0f458769e20c3f9306477943;hp=8f121a2b756c594bee8e0da6b21af560fac22e03;hpb=4529d0f4b6b20cbbd1ccb5339a753aff7d35552b;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index 8f121a2b..8743dc1d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig @@ -15,8 +15,9 @@
+ {% trans %}
+ They are rules used by Wallabag to automatically tag new entries.
+ Each time a new entry is added, all the tagging rules will be used to add
+ the tags you configured, thus saving you the trouble to manually classify
+ your entries.
+ {% endtrans %}
+
+ {% trans %}
+ Let assume you want to tag new entries as « short reading » when the reading time is inferior to 3 minutes.
+ In that case, you should put « readingTime <= 3 » in the Rule field and « short reading » in the Tags
+ field.
+ Several tags can added simultaneously by separating them by a comma: « short reading, must read »
+ Complex rules can be written by using predefined operators: if « readingTime >= 5 AND domainName = "github.com" » then tag as « long reading, github »
+ {% endtrans %}
+
+ {% trans %}The following variables and operators can be used to create tagging rules:{% endtrans %} + +
{% trans %}Variable{% endtrans %} | +{% trans %}Meaning{% endtrans %} | +{% trans %}Operator{% endtrans %} | +{% trans %}Meaning{% endtrans %} | +
---|---|---|---|
title | +{% trans %}Title of the entry{% endtrans %} | +<= | +{% trans %}Less thanâ¦{% endtrans %} | +
url | +{% trans %}URL of the entry{% endtrans %} | +< | +{% trans %}Strictly less thanâ¦{% endtrans %} | +
isArchived | +{% trans %}Whether the entry is archived or not{% endtrans %} | +=> | +{% trans %}Greater thanâ¦{% endtrans %} | +
isStared | +{% trans %}Whether the entry is starred or not{% endtrans %} | +> | +{% trans %}Strictly greater thanâ¦{% endtrans %} | +
content | +{% trans %}The entry's content{% endtrans %} | += | +{% trans %}Equal toâ¦{% endtrans %} | +
language | +{% trans %}The entry's language{% endtrans %} | +!= | +{% trans %}Not equal toâ¦{% endtrans %} | +
mimetype | +{% trans %}The entry's mime-type{% endtrans %} | +OR | +{% trans %}One rule or another{% endtrans %} | +
readingTime | +{% trans %}The estimated entry's reading time, in minutes{% endtrans %} | +AND | +{% trans %}One rule and another{% endtrans %} | +
domainName | +{% trans %}The domain name of the entry{% endtrans %} | +matches | +
+ {% trans %}
+ Tests that a subject is matches a search (case-insensitive). + Example: title matches "football"
+ {% endtrans %}
+ |
+