From feb256db3c0cfba0a57be4912befead40569178b Mon Sep 17 00:00:00 2001 From: SansGuidon Date: Sat, 18 Jan 2025 06:42:46 +0000 Subject: [PATCH] feat(autotag) refine rules --- auto_tag_plugin/auto_tag_plugin.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/auto_tag_plugin/auto_tag_plugin.php b/auto_tag_plugin/auto_tag_plugin.php index e0b3f78..9b145ad 100644 --- a/auto_tag_plugin/auto_tag_plugin.php +++ b/auto_tag_plugin/auto_tag_plugin.php @@ -17,10 +17,8 @@ function auto_tag_plugin_init(ConfigManager $conf) 'archive,archiving,archives,archivage' => 'archiving,archives', 'art,arts' => 'culture', 'ask hn,news.ycombinator.com/item,reddit.com/r/' => 'debate', - 'audio,audiofiles,fichiers audio' => 'audio', 'autism,autisme,autist,autiste' => 'autism', 'automation,automate,automatisation,automatic,scripting,terminal,bash script,script python,python script,lua,script shell,script bash,shell script' => 'scripting,automation', - 'beauty,beau,beauté,imperfection,imperfections' => 'beauty,imperfection', 'belgian,belgium,belge,belgique' => 'belgium', 'board game,board games,boardgame,jeu de société,jeux de société' => 'board-games,geek', 'bookmarks,favoris,signets' => 'bookmarks-management', @@ -60,7 +58,7 @@ function auto_tag_plugin_init(ConfigManager $conf) 'espresso,coffee,café' => 'coffee', 'ethic,ethique,ethics' => 'ethics', 'explor,going deep,exploration' => 'discovery', - 'fediverse,unsafe,liberté,fédivers' => 'privacy-and-security,freedom,social-media', + 'fediverse,unsafe,liberté,fédiverse' => 'privacy-and-security,freedom,social-media', 'libre,free,liberté' => 'freedom', 'logiciel libre,free software,logiciel gratuit,free to use' => 'free-software', 'from home,remote work,work remote,travail à distance,télétravail' => 'remote-work', @@ -95,9 +93,9 @@ function auto_tag_plugin_init(ConfigManager $conf) 'open-source,open source,code source libre' => 'open-source,free', 'optimize,optimization,speed up,an efficient,optimiser,optimisation' => 'optimization', 'philosoph,philosophie' => 'philosophy', - 'photography,photos,photographie' => 'photography,photos', + 'photography,photos,photographie' => 'photos', 'podcast,podcasts' => 'podcast', - 'ego,narciss,narcissisme' => 'psychology,ego', + 'ego,narcissism,narcissist,narcissisme' => 'psychology', 'psycholog,psychologie' => 'psychology', 'voting,politic,politique,vote' => 'politics', 'python,logiciels en python' => 'python,software-development,code', @@ -107,7 +105,7 @@ function auto_tag_plugin_init(ConfigManager $conf) 'quality,qualité' => 'quality', 'recommandations,recommendation,conseils' => 'recommandations,recommendations', 'recycling,sustainable,green web,climate,recyclage,web écologique,climat,car bloat,environmenta,environmentally,plasic waste' => 'ecology', - 'religion,chretiens,bible,coran,islam,musulmans,croyants,athée,la foi,église' => 'religion', + 'religion,chretiens,bible,coran,islam,musulmans,croyants,athée,la foi,église' => 'philosophy', 'reviews,critique,avis' => 'reviews', 'rss,rss feed,miniflux,web reader,lecteur web' => 'content-aggregation,content-curation', 'ruby,rails app,applications ruby' => 'ruby,software-development,code', @@ -117,13 +115,13 @@ function auto_tag_plugin_init(ConfigManager $conf) 'security,permission,sécurité,secure,privacy,private,degoogl,gdpr,data protection,online tracking,user profiling,anonymo,anonymi,surveillance,malware,spyware,decentrali,secrets,privacy matters,vpn,passkey,protéger' => 'privacy-and-security', 'simplicity,minimal,declutter,stopped using,simple,simplification,simplifier,reduction in,no longer needed,minimalisme,simplicité,réduction' => 'minimalism', 'small web,indie web,indieweb,petit web' => 'small-web', - 'smartphone,android,mobile,phone,téléphone,portables' => 'mobile', + 'smartphone,android,mobile,phone,téléphone,sms' => 'mobile', 'snippet,extrait de code' => 'code', 'static site,static-site,site statique' => 'static-site,static-web', 'teamwork,collaborat,équipe,cooperat,coordinat,travail équipe' => 'collaboration', 'technology,technologie' => 'technology', 'template,modèle' => 'template', - 'terminal,tools-and-resources' => 'terminal,tools-and-resources', + 'terminal,tools-and-resources,terminaltrove' => 'terminal,tools-and-resources', 'test,tester' => 'testing', 'text-based,plaintext,markup language,markdown,plain text,basé sur du texte,langage balisé' => 'plaintext,minimalism,formats,text-files', 'time to update,maintainers,tech-debt,legacy code,long term software,temps pour mettre à jour' => 'maintenance,tech-debt',