• Hello game master! Welcome to our growing community. Please take a moment to Register (top right button, see how: Slides).

    If you use Campaign Logger, you can use the same login details - we've linked the app to this forum for secure and easy single sign-on for you.

    And please drop by the Introductions thread and say hi.

Generator UI/Service Updates

JochenL

CL Byte Sprite
Staff member
Wizard of Adventure
Beta-Tester
Faster Combatant
Adventure Builder
Gamer Lifestyle
Adventure Master
The generator service has been switched to the new formatting syntax of CL vNext.

This mostly affects links and images:
Instead of
Code:
{"https://example.com"|Site}
{"https://example.com/image.png"|Caption|img}
Use
Code:
[Site](https://example.com)
![Alt Text](https://example.com/image.png "Caption")
 

ELF

Generator Sage
Staff member
Beta-Tester
Faster Combatant
Adventure Builder
Adventure Master
Could syntax changes be announced in advance so that generators suddenly just don't stop working?
 

JochenL

CL Byte Sprite
Staff member
Wizard of Adventure
Beta-Tester
Faster Combatant
Adventure Builder
Gamer Lifestyle
Adventure Master
You are right. We have a staging area for a reason.
I will switch the Generator Service and Generator UI to the new syntax next Friday, Mar 5.
 
  • Love
Reactions: ELF

ELF

Generator Sage
Staff member
Beta-Tester
Faster Combatant
Adventure Builder
Adventure Master
Thanks! That should give people enough reaction time to update at least their most crucial generators. (y)
 

JochenL

CL Byte Sprite
Staff member
Wizard of Adventure
Beta-Tester
Faster Combatant
Adventure Builder
Gamer Lifestyle
Adventure Master
Instead of just switching to the new formatting you can decide in your generator which one is used.

Just add
Code:
formatting: "new"
in your JSON to use the new formatting. Use a value of "old" or don't specify formatting at all to use the old formatting.

Only the formatting specified in the topmost generator is considered, i.e., the generator that was used to trigger the generation request; so no mixing of formats is possible.
 
Top