mirror of
https://github.com/spaytac/linkdingsync.git
synced 2026-01-21 16:54:45 +00:00
**update** updated README.md
This commit is contained in:
parent
ea180f4aac
commit
d12f6cb8a4
34
README.md
34
README.md
@ -1,5 +1,5 @@
|
|||||||
# Linkding Sync
|
# Linkding Sync
|
||||||
LinkdingSync is a collection of tools that make life with [Linkding](https://github.com/sissbruecker/linkding) easier.
|
LinkdingSync is a collection of tools that make life with [Linkding](https://github.com/sissbruecker/linkding) easier.
|
||||||
|
|
||||||
One of the workers is for syncing to [Wallabag](https://wallabag.org/en).
|
One of the workers is for syncing to [Wallabag](https://wallabag.org/en).
|
||||||
|
|
||||||
@ -75,12 +75,12 @@ 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.
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ urlTagMapping:
|
|||||||
url: https://github.com/AzureAD
|
url: https://github.com/AzureAD
|
||||||
- name: microsoft_dotnet
|
- name: microsoft_dotnet
|
||||||
url: https://github.com/dotnet-architecture
|
url: https://github.com/dotnet-architecture
|
||||||
|
|
||||||
taggingRule:
|
taggingRule:
|
||||||
- name: reddit
|
- name: reddit
|
||||||
pattern: https://(?:www\.)?(reddit)\.com(?:/r/)?([a-zA-Z0-9\-\+_]+)?(?:/.*)?
|
pattern: https://(?:www\.)?(reddit)\.com(?:/r/)?([a-zA-Z0-9\-\+_]+)?(?:/.*)?
|
||||||
@ -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