rss
No long description provided.
Installation
dagger install github.com/tuannvm/blogenetes/rss@2dd149c7db91c999d3300a4be2ed2712c22e3c88
Entrypoint
Return Type
Rss
Example
dagger -m github.com/tuannvm/blogenetes/rss@2dd149c7db91c999d3300a4be2ed2712c22e3c88 call \
func (m *MyModule) Example() *dagger.Rss {
return dag.
Rss()
}
@function
def example() -> dagger.Rss:
return (
dag.rss()
)
@func()
example(): Rss {
return dag
.rss()
}
Types
Rss 🔗
fetch() 🔗
Fetch fetches and parses an RSS/Atom feed from the given URL and returns it as JSON
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
url | String ! | - | No description provided |
Example
dagger -m github.com/tuannvm/blogenetes/rss@2dd149c7db91c999d3300a4be2ed2712c22e3c88 call \
fetch --url string
func (m *MyModule) Example(ctx context.Context, url string) string {
return dag.
Rss().
Fetch(ctx, url)
}
@function
async def example(url: str) -> str:
return await (
dag.rss()
.fetch(url)
)
@func()
async example(url: string): Promise<string> {
return dag
.rss()
.fetch(url)
}