Code Monkey home page Code Monkey logo

umbracocontentfiles's Introduction

Umbraco Content Files for v7.3+

Provides syncing text based content to physical files.

This package will create a new document type named 'Content File' if one doesn't already exist. You will need to update permissions for the parent document types you would like to create content files within e.g. home.

Only tested in 7.3+ so it currently has a dependency for that version or above.

Build status

Installation

Umbraco content files is available for installation from nuget only at the moment:

Source
NuGet NuGet release

Install via nuget

Install-Package UmbracoContentFiles

Usages

To allow content editors to save content as physical files on the file system, which can then be accessed directly e.g. mysite.com/robots.txt

alt text

The extension of the file will match that used in the content name, for example; .txt, .html, .csv etc. Extensionless files are also supported since version 0.2.3 with the addition of a template.

Load Balancing

To use in a load balanced environment where a CMS instance is separated from FE instances you will currently need to setup some kind of custom file replication. In future versions better support for load balanced environments with this kind of setup will be better supported out of the box.

umbracocontentfiles's People

Contributors

barfoo avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

umbracocontentfiles's Issues

Link to document - Use only one url

At the moment using GetUrl in the UrlProvider will result in a "this document is published but its url would collide with content", hence why currently the GetOtherUrl's method is used.

Load Balanced environment

Since this package writes to disk, will this work in a load balanced environment where the CMS is separated from the front end instances? Each instance would have its own file system, so when the text file is written, this would only be done in the CMS instance.

Improve creating doc type and template

The current method of creating a doc type and template on startup doesn't feel like the best solution. Unfortunately the docs for package actions are no longer available and it has been noted that these do not work with Umbraco cloud. Is startup really the best place for this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.