Limbo.Umbraco.Fetch
is a package for Umbraco for downloaded external files to disk to be used in your Umbraco installation.
For instance, as shown in Configuration, the package can be used to download the RSS feed of my blog to disk, which can then be used to display my recent blog posts on the website.
Install for Umbraco 13 via NuGet.
.NET CLI:
dotnet add package Limbo.Umbraco.Fetch --version 13.0.0
NuGet Package Manager:
Install-Package Limbo.Umbraco.Fetch -Version 13.0.0
For other versions of Umbraco, see the following branches:
To configure the package, add a Limbo:Fetch
section to your appsettings.json
like in the example below:
{
"Limbo": {
"Fetch": {
"Feeds": [
{
"Alias": "MyBlog",
"Url": "http://www.bjerner.dk/blog/rss",
"Path": "~/umbraco/Data/TEMP/Fetch/BjernerRss.xml",
"Interval": 30
}
]
}
}
}
If the interval is specified as a number, it is treated as the amount of minutes between each time the file will be downloaded. Alternatively, the interval may be specified using the ISO 8601 duration format - eg. PT1H30M
for one and a half hours.