limbo-works / Limbo.Umbraco.Fetch

Umbraco package for periodically downloading files to disk.

Home Page:https://packages.limbo.works/limbo.umbraco.fetch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Limbo Fetch

GitHub license NuGet NuGet Umbraco Marketplace

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.




Installation

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:




Configuration

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.

About

Umbraco package for periodically downloading files to disk.

https://packages.limbo.works/limbo.umbraco.fetch/

License:MIT License


Languages

Language:C# 98.2%Language:Batchfile 1.8%