feat(autotag) a few more tags
This commit is contained in:
parent
7ff7d9f7c5
commit
19973276cb
@ -60,9 +60,9 @@ function auto_tag_plugin_init(ConfigManager $conf)
|
||||
'libre,free,liberté,degoogling,degoogle,degoogler,dégooglisation' => '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',
|
||||
'frustrated,frustration,am pissed' => 'rant',
|
||||
'frustrated,frustration,am pissed,I hate' => 'rant',
|
||||
'big-tech,gafam,degoogling,google,degoogle,grandes entreprises technologiques' => 'big-tech',
|
||||
'game,jeu vidéo,game dev,jeux,jeux vidéo' => 'games,geek,culture',
|
||||
'game,jeu vidéo,game dev,jeux,jeux vidéo,games,gameplay' => 'games,geek,culture',
|
||||
'gamedev,building game,développement de jeux' => 'gamedev,games,geek,culture',
|
||||
'gratuit,free' => 'free',
|
||||
'gitops,gitlab,github actions,devops,SRE,ci/cd,platform-engineering,ci pipeline,application deployment,dagger,renovatebot,dependabot,continuous integration,site reliability eng' => 'devops',
|
||||
@ -73,10 +73,11 @@ function auto_tag_plugin_init(ConfigManager $conf)
|
||||
'history,histoire,documentaire,documentary' => 'history',
|
||||
'humans,humains' => 'humans',
|
||||
'humor,humour' => 'humor',
|
||||
'idiocracy' => 'idiocracy',
|
||||
'inspiration,creativity,creative,inspiration,créativité' => 'inspiration',
|
||||
'leadership,staff engineering,gestion' => 'leadership',
|
||||
'lambic,gueuze,beer,bière,bières' => 'beer-and-brewing',
|
||||
'linux,ubuntu,debian,linux windows macos' => 'os',
|
||||
'linux,ubuntu,debian,linux windows macos,sur mac,sur windows' => 'os',
|
||||
'list,index of,awesome,installation,GitHub - ,liste' => 'list,discovery',
|
||||
'low-tech,low tech,technologie simple' => 'low-tech',
|
||||
'merdification,enshittif,AI-generated,crapification,decline in quality,déclin de qualité' => 'enshittification',
|
||||
@ -97,6 +98,7 @@ function auto_tag_plugin_init(ConfigManager $conf)
|
||||
'voting,politic,politique,vote,multiculturalism,culturalism,cultural integration,political' => 'politics',
|
||||
'python,logiciels en python' => 'python,software-development,code',
|
||||
'privatebin' => 'secrets',
|
||||
'productivity,time management' => 'productivity-and-management',
|
||||
'programming languages,langages de programmation' => 'code,computer-languages',
|
||||
'publishing,publier,publication' => 'publishing',
|
||||
'quality,qualité' => 'quality',
|
||||
@ -110,7 +112,7 @@ function auto_tag_plugin_init(ConfigManager $conf)
|
||||
'science,sciences' => 'science',
|
||||
'scripting,jq,curl,wget,script,bash,terminal,bash script,script python,python script,lua,script shell,script bash,shell script' => 'scripting',
|
||||
'search engine,moteur de recherche' => 'search-engines',
|
||||
'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,password manager' => 'privacy-and-security',
|
||||
'security,permission,sécurité,anti vol,anti-vol,secure,data privacy,privacy,private,degoogl,gdpr,data protection,online tracking,user profiling,anonymo,anonymi,surveillance,malware,spyware,decentrali,secrets,privacy matters,vpn,passkey,protéger,password manager' => '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,sms' => 'mobile',
|
||||
@ -126,7 +128,7 @@ function auto_tag_plugin_init(ConfigManager $conf)
|
||||
'markdown,text files,fichiers texte,formats,text-based,plaintext,markup language,markdown,plain text,basé sur du texte,langage balisé' => 'plaintext,formats,text-files',
|
||||
'time to update,maintainers,tech-debt,legacy code,long term software,temps pour mettre à jour' => 'maintenance,tech-debt',
|
||||
'to do,to-do,à faire' => 'todo',
|
||||
'tool,resources,a script,outil,a collection,a catalog,awesome list,links,outils,ressources,password manager' => 'tools-and-resources',
|
||||
'tool,resources,a script,outil,a collection,a catalog,awesome list,links,outils,ressources,password manager,logiciels' => 'tools-and-resources',
|
||||
'training,course,conference talk,learning,homeschool,expert,specializ,tacit knowledge,tribal knowledge,formation,cours,conférence,apprentissage' => 'education',
|
||||
'.txt,text-based,fichiers txt' => 'text-files',
|
||||
'ui,interfaces utilisateur' => 'ui',
|
||||
@ -234,7 +236,6 @@ function apply_auto_tags(array $data, ConfigManager $conf): array
|
||||
if (stripos($data['link']['url'], 'youtube.com') !== false || stripos($data['link']['url'], 'youtu.be') !== false) {
|
||||
$title = $data['link']['title'] ?? '';
|
||||
|
||||
// Ajoute le tag [Video] au début du titre s'il n'est pas déjà présent
|
||||
if (stripos($title, '[Video]') !== 0) {
|
||||
$data['link']['title'] = '[Video] ' . $title;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user