Commit Graph

41 Commits

Author SHA1 Message Date
f830437dfb Merge pull request 'correctly update title for current index page' () from EmaMaker/rivet:master into master
Reviewed-on: http://git.alemauri.eu/alema/rivet/pulls/3
2023-05-29 11:36:09 +02:00
emamaker
a03113d112 correctly update title for current index page 2023-05-19 23:56:22 +02:00
2a8437d7a7 Merge pull request 'Pages list for index files in subdirectories' () from EmaMaker/rivet:master into master
Reviewed-on: http://git.alemauri.eu/alema/rivet/pulls/2
2023-05-18 11:05:32 +02:00
6b49f03e02 Merge pull request 'fix typo in comment' () from EmaMaker/rivet:typo into master
Reviewed-on: http://git.alemauri.eu/alema/rivet/pulls/1
2023-05-18 00:30:12 +02:00
emamaker
52b4b836f2 "Pages in this section" -> "Pages in *file title*" 2023-05-17 23:53:18 +02:00
emamaker
4536162c42 "Pages in this section" instead of "Pages" in subdirectories index file list 2023-05-17 23:52:55 +02:00
emamaker
5538ba5c59 "Pages" list also for index.html files in subdirectories 2023-05-17 23:52:16 +02:00
emamaker
387202b935 fix typo in comment
Prepate->Prepare
2023-05-08 13:30:24 +02:00
85bed955cc add missing newline in -h 2022-10-04 12:12:53 +02:00
2420bc6d6d fixed _header.html being replaced by _footer.html 2021-11-23 19:59:43 +01:00
8f1508e200 removed find -regex and merged pattern into awk command
basically this means that rivet works on alpine (busybox)
2021-11-18 00:20:05 +01:00
073c779f93 removed the use of sed -i which is not portable 2021-11-18 00:07:09 +01:00
c49758a5c5 do not prepend full url to linklist
that breaks links when browsing locally and when https is not availeble or
vice-versa
2021-07-08 18:27:58 +02:00
a5e0be8a3f use mktemp(1) for temporary files 2021-06-18 13:26:05 +02:00
2d7d0e7f22 fix not deleting _meatadata.html 2021-06-12 14:24:47 +02:00
280d0946db version 0.3
fixes:
	- fixed the mess of options and general inconsistencies between program
	  man page and help message
	- fixed some cases where rivet should fail but didn't and specified
	  return values for all exit conditions
	- fixed the header system, before the header would have been added
	  inside of <head></head> which is incorrect, browsers would fix it
	  on the fly but still it is not correct.
	  Now _header.html contents are put inside <header></header> at the
	  beginning of <body>
	- fixed <footer> outside of <body>
	- some fixes in the man page

additions:
	- added the requirement for _metadata.html, this file contains tags
	  and html metadata that is put inside <head>
	- the main article is now enclosed inside <article></article> tags for
	  better styling
2021-06-12 13:08:51 +02:00
5ac9e2ae5f fixed date
Before the date was taken on the destination files, since they are generated
in the right order, lists based on last modified date were right but with
the wrong date.

Now rivet creates another list during the creation of the main object list just
for storing dates of the source files. There is a 1:1 correspondance between
the files in the objlist and the dates in the objdate lists so they can be
retrived with the same counter.

Another change is that now shortened dates are displayed in the index link
list.
2021-06-11 16:01:05 +02:00
ac778f6537 option to include everything in atom feed
Fixed missing newlines in help message and made it so that setting the -m flag
to 0 incudes all files in the atom feed. Also madde this behaviur the default
2021-06-08 12:29:02 +02:00
21ca01e83d updated copyright
updated copyright to 2021
2021-03-27 23:07:05 +01:00
c84cdbc5e4 added id to feed elements 2021-03-21 14:32:00 +01:00
4c6f06b6b7 version 0.2
changes:
	- rivet now generates an atom feed with the last 3 (configurable)
		modified articles
	- rivet now generates links in the index list to html files in srcdir
	- Articles with unkown title will have their filename as the title
	- minor code refractor
2021-03-21 14:22:20 +01:00
81fd16023d link list is now in date order (hopefully) 2020-11-23 23:44:24 +01:00
fe464d2aed more todos 2020-11-23 23:44:10 +01:00
ba65e5b0d9 added todo 2020-11-23 21:38:25 +01:00
3e153082c1 tweaks to documentation 2020-09-11 12:14:29 +02:00
6b5c973a64 added license to source file 2020-09-10 16:46:30 +02:00
81e2bf7b6b removere references to rivet being a compiler 2020-09-10 16:42:05 +02:00
8e48ec1f92 make rivet.sh non executable 2020-09-10 16:40:08 +02:00
4558654a48 clean destination directory before build 2020-09-10 16:38:47 +02:00
e0367536ea more bugfixes 2020-09-10 16:35:06 +02:00
b7a25b796a corrected usage information 2020-09-10 16:23:58 +02:00
78c99f9cc8 correct version in makefile 2020-09-10 16:22:01 +02:00
b428fe5616 more options and bug fixes 2020-09-10 16:21:38 +02:00
d05f3d3dff added man page 2020-09-10 16:21:23 +02:00
635c2d8521 added makefile for easy install 2020-09-10 01:09:34 +02:00
297b3f0c9f better readme, fixed example 2020-09-10 01:01:12 +02:00
c12d89a757 add src/** to ignore 2020-09-10 00:58:58 +02:00
f943abbaeb fixed grep echoing and footer file not showing 2020-09-10 00:58:12 +02:00
46a09ad7e7 working version
have to fix the footer
2020-09-10 00:49:23 +02:00
e109425557 slightly better readme 2020-09-10 00:49:01 +02:00
796b66c3e0 first commit 2020-09-09 00:37:08 +02:00