
"At work, I've been digging into our platform and trying to learn as much as possible. One of the cooler features of Webflow is the CMS. You define a collection (type of content) which has a name and a set of fields. Each field has properties that define it. As an example, here's my Cat collection: Make note of the custom fields there. Along with and slug, and some metadata fields, they make up a definition of "Cat" that I can use within my site."
"I was able to get it working - mostly - and here's the result. For my first version, I built a simple form that asked for two things - the name of the content your JSON was describing, and a JSON packet that described the shape of the content. I also pre-loaded some content so I'd have less to type: <p> Enter a basic JSON object that will be used as a sample."
Chrome's on-device AI can parse a generic template language and produce random strings that match specified data types. Webflow CMS defines collections with named fields and properties that represent content types; the Cat collection includes custom fields like Breed and name. The system aims to recreate CMS-style sample data generation by taking a content name and a basic JSON shape and returning sensible random values for each field. A simple form accepts the content name and a JSON packet and includes preloaded samples to minimize typing. The implementation mostly succeeds at producing contextually appropriate sample values.
Read at Raymondcamden
Unable to calculate read time
Collection
[
|
...
]