Git Product home page Git Product logo

noche's People

Contributors

djspaceg avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

noche's Issues

Header and Footer should trickle down the tree if not found

If there is no HEADER.html or FOOTER.html in the current directory, the parent should be checked, followed by the grandparent, etc, to DocumentRoot; until one is found.

This would save effort on the owner's behalf since there wouldn't have to be a decision as to if Noche will support a root level file or not.

BONUS: If a file is specified in a sub-folder of root, that should be treated as the root level file for every folder. Ex:

Example Directory Structure
/
/matrix/
/matrix/HEADER.html
/matrix/neo.jpg
/matrix/morpheus.jpg
/serenity/
/serenity/mal.jpg
/serenity/kaylee.jpg
/serenity/jane.jpg
/common/HEADER.html
/common/FOOTER.html

The root level, common, and the "serenity" folders, when browsed, should get the /common/HEADER.html file, while the "matrix" folder gets the /matrix/HEADER.html. Additionally, all folders, root, common, matrix, and serenity should get the /common/FOOTER.html.

This change will require changing the "exports.HeaderFilename" and "exports.FooterFilename" to only accept filenames, while adding a new "DefaultCommonDirectory", which will be set to DocumentRoot by default, but could be set to "common", "shared", "web" or whatever the operator desires, as the location for shared operations files, like in the example above.

TBN Images are sent as application/octet-stream

Resource interpreted as Image but transferred with MIME type application/octet-stream: "http://server.domain.com:8888/folder1/folder2/thumbnail.tbn".

Must add a custom extension handler for ".tbn" to send them as "image/jpeg" instead.

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.