52 Commits

Author SHA1 Message Date
nytpu 6f47361edd Revert "add date for each feed entry's link, to match gemlog specs."
This reverts commit e68b88405f.

Reverting because it creates huge amounts of visual clutter and redundancy for
actual readers, as there are many entries per day (unlike a normal single
gemlog) with a header separating each day.
2026-04-30 12:04:00 -06:00
cage e68b88405f add date for each feed entry's link, to match gemlog specs.
Hi!

This is a little patch (and I  guess not well written as I never coded
in golang, before!) to make the  output of comitium matches the gemlog
specification.

This way  clients can subscribe to  the feed (if clients  supports the
standard, of course!).

Please consider merging if you find useful.

Bye!
C.
2026-04-26 08:57:22 -06:00
nytpu afa1e32f0d fix issue with pages still being shown before date 2021-05-19 08:19:12 -06:00
nytpu f9d8872260 add core.HistoryDays for variable history kept 2021-05-19 08:02:28 -06:00
nytpu 012eddbafe add custom footer 2021-05-19 07:39:15 -06:00
nytpu b977d663da fix passing value to pointer argument 2021-05-11 15:29:09 -06:00
nytpu 8800510758 translate core.go 2021-05-11 15:19:38 -06:00
nytpu d369236fad add TranslateStringLocalizer() and improve core.go documentation 2021-05-11 15:17:08 -06:00
nytpu c782bcbef8 add commit to footer 2021-05-11 13:14:54 -06:00
nytpu 39bcda2975 translate feed.gmi 2021-05-11 12:35:06 -06:00
nytpu f48337d5e7 translate subscriptions.gmi 2021-05-11 12:34:58 -06:00
nytpu c072138b26 translate genDay() and AGPL footer 2021-05-11 12:34:07 -06:00
nytpu bb3cffdb37 translate strings in core.go 2021-05-11 12:33:34 -06:00
nytpu 9bbbc4557c add TranslateString() utility function 2021-05-11 12:32:41 -06:00
nytpu 4d23da8c38 add core.Localizer 2021-05-11 11:22:17 -06:00
nytpu 6b7f50a2d9 deduplicate code and unify footer and generation time 2021-05-03 10:26:52 -06:00
nytpu e1a8aa8359 fix bug in rendering 2021-04-19 11:29:06 -06:00
nytpu 51abebb663 don't overwrite old title when updating page 2021-04-19 10:40:33 -06:00
nytpu fd2667cb9f move Version and Commit to core 2021-04-19 10:16:20 -06:00
nytpu ffe7a37c66 don't include entries older than one year 2021-04-19 09:48:08 -06:00
nytpu 41683edee4 relicense to AGPL 3.0 only 2021-03-26 11:10:04 -06:00
nytpu c3059d57d8 add time zone to feed.gmi 2021-03-23 09:28:58 -06:00
nytpu 2cd16124f8 add timeout flag to refresh 2021-03-23 08:15:36 -06:00
nytpu d3d181e8fa Show time that was generated 2021-03-22 08:20:21 -06:00
nytpu 413c63149f Use custom header when writing feed.gmi 2021-03-22 08:20:06 -06:00
nytpu 8d9892b0a1 read header.gmi and set header variable to that or to the default 2021-03-22 08:19:41 -06:00
nytpu 3081d41758 don't overwrite title when updating feed 2021-03-21 09:20:14 -06:00
nytpu 69a7ab13ff Remove usages of io.ReadFile and os.WriteFile to be compatible with 1.15 2021-03-21 07:36:04 -06:00
nytpu 379a8637a4 fix minor issue in edge case where FeedLink doesn't exist 2021-03-20 11:54:36 -06:00
nytpu 71f087b2ad fix breaking bug when parsing atom/rss feeds 2021-03-20 09:59:55 -06:00
nytpu d4ca695043 add footer to page to be agpl compliant 2021-03-19 17:16:52 -06:00
nytpu 2974c5413c remove list command and instead write "subscriptions.gmi" & "feed.gmi" 2021-03-19 08:29:44 -06:00
nytpu b4d303e24e Write subscriptions 2021-03-18 16:28:02 -06:00
nytpu c3f5f7c682 stop using ioutil 2021-03-18 16:10:37 -06:00
nytpu 77982cb60e add Export function to core.FullData 2021-03-18 15:01:25 -06:00
nytpu d0a71b360d first write to .new then move after finishing writing to prevent data corruption 2021-03-18 14:50:40 -06:00
nytpu 364e8fbc21 fix null dereference when getting old title 2021-03-18 13:34:02 -06:00
nytpu f8601b82ab Use strings for URLs internally for consistency. 2021-03-18 13:02:17 -06:00
nytpu e9ade7f33f ignore mutexes in json output/input 2021-03-18 11:41:13 -06:00
nytpu df2e3bfa02 fix nil pointer error in GofeedConvert 2021-03-18 11:37:12 -06:00
nytpu 6cf5ca01cf Changed url.URL to string so the json is less bloated 2021-03-18 11:36:57 -06:00
nytpu 853993cdd6 add method to write structs to disk 2021-03-18 11:08:23 -06:00
nytpu 0441fc9349 Implement Insert{Feed,Page} on FullData for easy insertions 2021-03-18 10:33:26 -06:00
nytpu 3b26eb9863 fix several typos throughout core 2021-03-18 10:32:10 -06:00
nytpu e1a5c68ec7 add init for global FullData 2021-03-18 10:18:54 -06:00
nytpu 593c1288bc resolve XXX question introduced by e42ebd8 2021-03-17 11:24:24 -06:00
nytpu 8426bb6494 make jsonData public 2021-03-17 09:38:41 -06:00
nytpu e42ebd8171 add XXX to core.JsonData mutex 2021-03-17 09:37:41 -06:00
nytpu 5c735b4ce0 improve documentation for PageEntries functions 2021-03-17 09:16:19 -06:00
nytpu 521b162007 implement sort.Interface for core.Feed 2021-03-17 09:16:19 -06:00