Esteban Manchado Velázquez
Fix hardcorenarrativist.org links in the catalog
External (ie. non-app) links that were hosted in the same domain as the app were incorrectly being treated as app links, and hence serving a 404. Once the URL was loaded is was possible to reload the page and get to the actual content, but that's not really all that helpful. So, load the URL as an external resource when the resulting route for the URL is NotFoundRoute.
|1 year ago|
|app||1 year ago|
|elm-stuff||3 years ago|
|.gitignore||1 year ago|
|README.md||3 years ago|
|brunch-config.js||1 year ago|
|elm.json||1 year ago|
|package.json||1 year ago|
In short, the idea of having a simple tool to make a static, catalog-like websites. Cataloger would maintain the database with the content and export it to JSON, and another program (a client, if you will) would read that static JSON file and present the catalog.
This repo is an example of a catalog client: it reads a JSON file that describes the items in the catalog and shows it, allowing the user to browse the categories, filter by tags, see similar items to the selected one, do simple searches, etc.
This catalog is written in Elm, so you need to install it with:
npm install -g elm
Then you'll need to install the Elm packages and the regular Node packages with:
elm-package install npm install
To use this catalog, you first need to generate a catalog JSON and
images using Cataloger, and
copy all the files inside
Then, compile the Elm to the final JS with
npm run build. At that
point you will have everything you need under
public/. You can
public/index.html in a browser, or copy the whole
directory to a web server to be served statically.