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
NameTypeDescription
feedUrlString !URL for RSS feed XML
Example
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
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
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()
}