Data source type #1672
-
Hello, Cecila looks promising, but is it possible to extend it to have different sources type rather than files, i mean data source either from database or rest api? thank you.. best regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hello @aiamk, Cecil creates its pages from Markdown files from the So you can create your own generator to create new pages (or alter alrady created pages) from diffents sources like an API or a database. I hope it help. |
Beta Was this translation helpful? Give feedback.
-
i saw this page previously, but its not clear and example for single page, i am looking to read the collection from database. do i have to implement the data collection from database within the extend custom generator class and iterate it? thank you |
Beta Was this translation helpful? Give feedback.
-
Thank you very much @ArnaudLigny , i appreciate your help. Best Regards |
Beta Was this translation helpful? Give feedback.
Yes, if you needs to create a collection of pages you can do it from a custom generator.
SQLite example: