apps in arns.lt
Created: 2024-08-27 Copyright: CC-BY-SA 4.0 Language: en
Capsule can contain only simple articals with links and media links, but I think there is more what to do :)
I already added functionality if category with `index.md` exists then index content should be displaied as intro in category view. This is prototype of what I need - group pages. This is example of app and now I decided to add some specification.
As I use zord-tree[1] to build my capsule, I have meta fields for each file. Here I'll add **app** custom field to identify app. Value should be something like `name|option1|option2`.
List of apps
Group
Collection of pages. All should be in one directory. Should have intro page `index.md` - that will be displaied in category as intro with list of group pages (with queue). Direct call should give same page as custom category view. Group page should contain `<- index` to go to the TOC on top before content.
for index.md: * id: y * app: group|y|0 for other_group_page.md: * id: xy * app: group|y|3
Gallery
Collection of images. All should be in one directory. Should have intro page `index.md` - here will land all links to images. Image name before compilations should become image name in list. Queue ordering by filename. If later added images - should go to the end or sort and replace old list.
Gallery
|
+-- index.md
+-- "1. image1.jpg"
+-- "2. image2.jpg"
should add to `index.md` at the end
=> /__a/klfjdlasjfasofu798asf7.jpg 1. image1 => /__a/klfj5f78ds6f8f7df6s8fd.jpg 2. image2
for index.md: * id: y * app: gallery
Book
Can create book in pdf from group of pages. Same as `group` app, but adds export to latex (?) and generate of pdf with addind as link. Additionally features ex. for image size, latex template.
for index.md: * id: y * app: book|y|0|style1.tex for other_book_page.md: * id: xy * app: book|y|3
Additional features:
- image size: `=> /__a/klfj5f78ds6f8f7df6s8fd.jpg image description|200px
`
- `style1.tex` - style should be in `__a` directory
Generation should be done during build or with separate trigger
Single image or other type
Create page of one recource, mostly image but can be pdf or other recourse. It should work as redirect
for xxx.md: * id: y * app: link => __a/dsfdsfdsfds.img
Log
Simple logging category. It should generate index page with sorted by date list of pages.
Log
|
+-- index.md
+-- "log_1.md"
+-- "log_2.md"
for index.md: * id: y * app: for other log_x.md: * id: xy * description: Log x * app: log * created: 2024-08-27
This should generate list of pages ordered by date and added link with created date:
=> r/xy 2024-08-27. Log 1 => r/xy2 2024-08-29. Log 2
Page counter: 5A