From 4c942d61226d75465013df22a7d1fd0c2571555c Mon Sep 17 00:00:00 2001 From: Aytac Kirmizi Date: Thu, 2 Feb 2023 16:35:43 +0100 Subject: [PATCH] **update** updated examples **update** updated readme --- examples/linkding/config.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/linkding/config.yml b/examples/linkding/config.yml index 5e6e30a..1650e79 100644 --- a/examples/linkding/config.yml +++ b/examples/linkding/config.yml @@ -1,39 +1,39 @@ urlTagMapping: - - name: microsoft_azure + - name: microsoft url: https://github.com/azure - - name: microsoft_azuread + - name: microsoft url: https://github.com/AzureAD - - name: microsoft_dotnet + - name: microsoft url: https://github.com/dotnet-architecture taggingRule: - name: reddit - pattern: https://(?:www\.)?(reddit)\.com(?:/r/)?([ a-zA-Z0-9\-\+_ ]+)?(?:/.*)? + pattern: https://(?:www\.)?(reddit)\.com(?:/r/)?([a-zA-Z0-9\-\+_]+)?(?:/.*)? replace: $1,$2 - name: microsoft - pattern: https://([ a-zA-Z0-9 ]+)?[ \. ]?(microsoft)\.com(?:/.*)? + pattern: https://([a-zA-Z0-9]+)?[\.]?(microsoft)\.com(?:/.*)? replace: $1,$2 - name: microsoft_docs - pattern: 'https://(?:docs)\.(?:microsoft)\.com[ / ]?(?: [ a-zA-Z0-9\-\+_ ]+)(?:/)?([ a-zA-Z0-9\-\+_ ]+)?(?:/)?([ a-zA-Z0-9\-\+_ ]+)?(?:/.*)?' + pattern: 'https://(?:docs)\.(?:microsoft)\.com[/]?(?: [a-zA-Z0-9\-\+_]+)(?:/)?([a-zA-Z0-9\-\+_]+)?(?:/)?([a-zA-Z0-9\-\+_]+)?(?:/.*)?' replace: $1,$2 - name: youtube - pattern: https://[ [ a-zA-Z0-9 ]+\. ]?(youtube)\.com(?:/.*)? + pattern: https://[[a-zA-Z0-9]+\.]?(youtube)\.com(?:/.*)? replace: $1 - name: ebay - pattern: https://[ [ a-zA-Z0-9 ]+\. ]?(ebay)\.(com|de|fr)(?:/.*)? + pattern: https://[[a-zA-Z0-9]+\.]?(ebay)\.(com|de|fr)(?:/.*)? replace: $1 - name: amazon - pattern: https://[ [ a-zA-Z0-9 ]+\. ]?(amazon)\.(com|de|fr)(?:/.*)? + pattern: https://[[a-zA-Z0-9]+\.]?(amazon)\.(com|de|fr)(?:/.*)? replace: $1 - name: docker - pattern: https://([ a-zA-Z0-9 ]+)?[ \. ]?(docker)\.com(?:/.*)? + pattern: https://([a-zA-Z0-9]+)?[\.]?(docker)\.com(?:/.*)? replace: $1,$2 - name: xbox - pattern: https://[ [ a-zA-Z0-9 ]+\. ]?(xbox)\.com(?:/.*)? + pattern: https://[[a-zA-Z0-9]+\.]?(xbox)\.com(?:/.*)? replace: $1 - name: github - pattern: https://([ a-zA-Z0-9 ]+)?[ \. ]?(github)\.com[ / ]?([ a-zA-Z0-9\-\+_ ]+)(?:/)?([ a-zA-Z0-9\-\+_ ]+)?(?:/.*)? + pattern: https://([a-zA-Z0-9]+)?[\.]?(github)\.com[/]?([a-zA-Z0-9\-\+_]+)(?:/)?([a-zA-Z0-9\-\+_]+)?(?:/.*)? replace: $1,$2,$3,$4 - name: github.io - pattern: https://([ a-zA-Z0-9 ]+)\.(github)\.io[ / ]?([ a-zA-Z0-9\-\+_ ]+)(?:/)?([ a-zA-Z0-9\-\+_ ]+)?(?:/.*)? + pattern: https://([a-zA-Z0-9]+)\.(github)\.io[/]?([a-zA-Z0-9\-\+_]+)(?:/)?([a-zA-Z0-9\-\+_]+)?(?:/.*)? replace: $1,$2,$3 \ No newline at end of file