mirror of
https://github.com/spaytac/linkdingsync.git
synced 2026-01-22 09:14:45 +00:00
**update** updated README.md
This commit is contained in:
parent
ea180f4aac
commit
d12f6cb8a4
24
README.md
24
README.md
@ -75,11 +75,11 @@ The configuration is optional. In the configuration (**YAML File**) rules can be
|
|||||||
Exampel:
|
Exampel:
|
||||||
```yaml
|
```yaml
|
||||||
excludedDomains:
|
excludedDomains:
|
||||||
- name: youtube
|
- name: youtube
|
||||||
pattern: 'https://[[a-zA-Z0-9]+\.]?(youtube)\.com(?:/.*)?'
|
pattern: 'https://[[a-zA-Z0-9]+\.]?(youtube)\.com(?:/.*)?'
|
||||||
- name: ebay
|
- name: ebay
|
||||||
pattern: 'https://[[a-zA-Z0-9]+\.]?(ebay)\.(com|de|fr)(?:/.*)?'
|
pattern: 'https://[[a-zA-Z0-9]+\.]?(ebay)\.(com|de|fr)(?:/.*)?'
|
||||||
- name: amazon
|
- name: amazon
|
||||||
pattern: 'https://[[a-zA-Z0-9]+\.]?(amazon)\.(com|de|fr)(?:/.*)?'
|
pattern: 'https://[[a-zA-Z0-9]+\.]?(amazon)\.(com|de|fr)(?:/.*)?'
|
||||||
```
|
```
|
||||||
With this configuration every matching bookmark from linkding will be excluded from the sync.
|
With this configuration every matching bookmark from linkding will be excluded from the sync.
|
||||||
@ -144,20 +144,24 @@ Dynamic tags can be assigned to the bookmarks on the basis of the URL using regu
|
|||||||
Example:
|
Example:
|
||||||
Here is an example using a reddit bookmark.
|
Here is an example using a reddit bookmark.
|
||||||
Url:
|
Url:
|
||||||
- ht<span>tps://ww</span>w.reddit.com/r/selfhosted/comments/yzq6qp/running_a_mostly_sbcbased_nomad_cluster_in_my/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=2&utm_content=share_button
|
```
|
||||||
|
https://www.reddit.com/r/selfhosted/comments/yzq6qp/running_a_mostly_sbcbased_nomad_cluster_in_my/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=2&utm_content=share_button
|
||||||
|
```
|
||||||
Pattern:
|
Pattern:
|
||||||
- https://(?:www\.)?(reddit)\.com(?:/r/)?([a-zA-Z0-9\-\+_]+)?(?:/.*)?
|
```regex
|
||||||
|
https://(?:www\.)?(reddit)\.com(?:/r/)?([a-zA-Z0-9\-\+_]+)?(?:/.*)?
|
||||||
|
```
|
||||||
Matches:
|
Matches:
|
||||||
- ht<span>tps://ww</span>w.<span style="color:red">reddit</span>.com/r/<span style="color:red">selfhosted</span>/comments/yzq6qp/running_a_mostly_sbcbased_nomad_cluster_in_my/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=2&utm_content=share_button
|
- https://www.$${\color{red}reddit}$$.com/r/$${\color{red}selfhosted}$$/comments/yzq6qp/running_a_mostly_sbcbased_nomad_cluster_in_my/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=2&utm_content=share_button
|
||||||
|
|
||||||
if you would change the pattern to the following.
|
if you would change the pattern to the following.
|
||||||
Pattern:
|
Pattern:
|
||||||
- https://(?:www\.)?(reddit)\.com(?:/)?(r/[a-zA-Z0-9\-\+_]+)?(?:/.*)?
|
```regex
|
||||||
|
https://(?:www\.)?(reddit)\.com(?:/)?(r/[a-zA-Z0-9\-\+_]+)?(?:/.*)?
|
||||||
|
```
|
||||||
|
|
||||||
then the following would match.
|
then the following would match.
|
||||||
- ht<span>tps://ww</span>w.<span style="color:red">reddit</span>.com/<span style="color:red">r/selfhosted</span>/comments/yzq6qp/running_a_mostly_sbcbased_nomad_cluster_in_my/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=2&utm_content=share_button
|
- https://www.$${\color{red}reddit}$$.com/$${\color{red}r/selfhosted}$$/comments/yzq6qp/running_a_mostly_sbcbased_nomad_cluster_in_my/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=2&utm_content=share_button
|
||||||
|
|
||||||
## Docker Run
|
## Docker Run
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user