nostalgia
This module parses RSS Feeds to help you be more nostalgic.Installation
dagger install github.com/levlaz/daggerverse/nostalgia@v0.2.0
Entrypoint
Return Type
Nostalgia !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
feedUrl | String ! | - | URL for RSS feed XML |
Example
dagger -m github.com/levlaz/daggerverse/nostalgia@085b069c85e8fa7d84a109eefcb1e754faf1eefa 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 !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
checkDate | String ! | "" | day to check posts for MM-DD |
Example
dagger -m github.com/levlaz/daggerverse/nostalgia@085b069c85e8fa7d84a109eefcb1e754faf1eefa call \
--feed-url string today --check-date string
func (m *myModule) example(ctx context.Context, feedUrl string, checkDate string) string {
return dag.
Nostalgia(feedUrl).
Today(ctx, checkDate)
}
@function
async def example(feed_url: str, check_date: str) -> str:
return await (
dag.nostalgia(feed_url)
.today(check_date)
)
@func()
async example(feedUrl: string, checkDate: string): Promise<string> {
return dag
.nostalgia(feedUrl)
.today(checkDate)
}
stats() 🔗
Pretty Print basic statistics about this feed
Return Type
String !
Example
dagger -m github.com/levlaz/daggerverse/nostalgia@085b069c85e8fa7d84a109eefcb1e754faf1eefa 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()
}