Files
Main/.stversions/7 People/Claudio Fritsche~20250203-093652.md

1.7 KiB

title, created_date, updated_date, aliases, tags, person, ref
title created_date updated_date aliases tags person ref
Claudio Fritsche 2023-11-14 2023-11-14
Ich
I
Me
Mir
Claudio
person
first_name last_name birthday type hobbies
Claudio Fritsche 1994-02-25 privat
berge
kite
tanzen
squash
wandern
skitour
programmieren
diy
person/claudio_fritsche

Claudio Fritsche

  • 🏷️Tags : #11-2023 #person

📝 Notes

Touchpoints

const pagesWithQuotes = await Promise.all( 
	dv 
	.pages("#person/claudio_fritsche") 
	.map(pageWithQuote => new Promise(async (resolve, reject) => {
		const content = await dv.io.load(pageWithQuote.file.path);
		resolve({ 
			link: pageWithQuote.file.link, 
			content 
		}); 
	})) 
); 

// Create an array of pages containing quotes, 
// where each page is: 
// { 
// quotes: [], // array of quotes 
// link: { path: '' } // Link 
// } 

const quotesByPage = pagesWithQuotes.map(({ 
	link, 
	content 
}) => ({ 
	link, 
	quotes: content 
		// Split into paragraphs 
		.split('- ') 
		
		// Get only paragraphs that have the #person/firstname_lastname tag
		.filter(content => content.includes('#person/claudio_fritsche')) 
		
		// Remove the "#person/firstname_lastname" tag from each quote string 
		.map(content => content.replace('#person/claudio_fritsche', '')) 
})); 
quotesByPage.forEach( 
	page => 
	page.quotes.forEach( 
		quote => dv.paragraph(`${quote} (${page.link})`) 
	) 
); 

Merken

Mag

Mag nicht

Aktuell Wichtige Themen

Familie und Freunde

Skills

Netzwerk

Geschenkideen

Sammlung

Zitate

Erinnerungen

Vergangene Themen

Mentions