cryogen

http://cryogenweb.org/ - static sites by @U0DJK1VH6 & Co.
Andrei Stan 2020-12-28T18:44:02.300500Z

hi, i want to add an optional element to my RSS channel :category (:tags config):

(defn make-channel [config posts]
  (apply
   (partial rss/channel-xml
            false
            {:title         (:site-title config)
             :link          (:site-url config)
             :description   (:description config)
             :lastBuildDate (Date.)
             :category (:tags config)})
   (posts-to-items (:site-url config) posts)))
Now i`m stuck because i do not figured out how to pass this customised function to compile-assets from cryogen-core.compiler

Andrei Stan 2020-12-29T14:32:20.312700Z

ok, thanks

Jakub Holý 2020-12-28T19:59:34.300600Z

I don't know that part of the code but it is well possible such customization isn't currently possible.

Jakub Holý 2020-12-28T20:04:55.307300Z

@dorab @carmen I'm thinking about some guidelines for accepting / rejecting feature and pull requests, such as: * Is it necessary? I.e. is there an OK-ish way to do it already? (E.g. using the existing customization hooks.) * Is it simple? The more complex the higher the long-term maintenance cost for us 😢 * Is it popular? Have multiple/many people requested it? *... Thoughts? Additions? 🙏

Jakub Holý 2020-12-29T13:32:29.312500Z

awesome, thanks! Perhaps we should add these to one of the files you have recently added?

carmen 2020-12-29T21:04:01.312900Z

Agree with all the mentioned points. I feel like cryogen has been sort of "feature complete" for a while now, in that many things can be achieved through hooks or even with-redefs.

💯 1
carmen 2020-12-29T21:06:01.313100Z

Sometimes interesting/useful features are requested but maybe not many people would actually use it. In this case a new "how to do x" article on the website should work nicely

carmen 2020-12-29T21:06:20.313300Z

(for example, the page on using lunr search)

dorab 2020-12-30T01:51:04.313600Z

Added to the end of CONTRIBUTING.md.

❤️ 1
Eugen 2020-12-28T20:21:36.312Z

thank you @holyjak for bringing this up. I would like to take this opportunity to ask what is the vision for Cryogen ? What are the features and functionality desired for the project ? There are established static website generators to compare/inspire/borrow functionality from . What are the people/purpses the project serves ? What are the things the project does not want to take on ? It's best if they are expclicit. Is there a project roadmap? If there is a high barrier of entry for changes / new features / PR's then maybe forking the project should be encouraged ... ?!?

❤️ 1
dorab 2020-12-28T23:44:51.312200Z

Good list. Thanks. Some possible additions to consider: • Does it enable future enhancements? Ideally in an orthogonal (i.e., decomplected) manner to other current and future features. I am generally concerned about adding features that don't fit in with the existing conceptual and implementation architecture. • What are alternatives to this particular solution? Have they been considered? Pros / cons? • What future features are prohibited (or made very difficult) by this enhancement? • Is the enhancement backwards compatible? • How does the enhancement fit in with existing tests? Are new tests needed?

❤️ 1