Dagger
Search

nostalgia

This module parses RSS Feeds to help you be more nostalgic.

Installation

dagger install github.com/levlaz/daggerverse/nostalgia@v0.1.1

Entrypoint

Return Type
Nostalgia !
Arguments
NameTypeDefault ValueDescription
feedUrlString !-URL for RSS feed XML
Example
dagger -m github.com/levlaz/daggerverse/nostalgia@d8212054e3c53d40c3fd070752a0c26f060d8002 call \
 --feed-url string
func (m *myModule) example(feedUrl string) *Nostalgia  {
	return dag.
			Nostalgia(feedUrl)
}
@function
def example(feed_url: str) -> dag.Nostalgia:
	return (
		dag.nostalgia(feed_url)
	)
@func()
example(feedUrl: string): Nostalgia {
	return dag
		.nostalgia(feedUrl)
}

Types

Nostalgia 🔗

Nostalgia functions

today() 🔗

Pretty print posts from today over the years

Return Type
String !
Example
dagger -m github.com/levlaz/daggerverse/nostalgia@d8212054e3c53d40c3fd070752a0c26f060d8002 call \
 --feed-url string today
func (m *myModule) example(ctx context.Context, feedUrl string) string  {
	return dag.
			Nostalgia(feedUrl).
			Today(ctx)
}
@function
async def example(feed_url: str) -> str:
	return await (
		dag.nostalgia(feed_url)
		.today()
	)
@func()
async example(feedUrl: string): Promise<string> {
	return dag
		.nostalgia(feedUrl)
		.today()
}

stats() 🔗

Pretty Print basic statistics about this feed

Return Type
String !
Example
dagger -m github.com/levlaz/daggerverse/nostalgia@d8212054e3c53d40c3fd070752a0c26f060d8002 call \
 --feed-url string stats
func (m *myModule) example(ctx context.Context, feedUrl string) string  {
	return dag.
			Nostalgia(feedUrl).
			Stats(ctx)
}
@function
async def example(feed_url: str) -> str:
	return await (
		dag.nostalgia(feed_url)
		.stats()
	)
@func()
async example(feedUrl: string): Promise<string> {
	return dag
		.nostalgia(feedUrl)
		.stats()
}