• 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.

How do I get a clickable link that reads the "Pachycephalosaurus, Young Adult" and can be clicked

ELF

Generator Sage
Wizard of Story
Wizard of Combat
So what is the syntax change and what environments. I have no knowledge and no preparation so far.
See post #5. The new syntax should work both in generator output and logs.

I am not a big fan of dropping support for established syntax, but apparently supporting both formats is not an option.
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
See post #5. The new syntax should work both in generator output and logs.

I am not a big fan of dropping support for established syntax, but apparently supporting both formats is not an option.

In bigger picture:
That was the way Nokia lost quite a few third party developers (Maemo etc) - multiple times - as well as Windows Phone at some point. Change the API to be incompatible with earlier ones, force the developer to change his tools.

In our picture - probably does not matter so much - there should be tooling in place to detect the old syntax and provide for new syntax.
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
I am not a big fan of dropping support for established syntax, but apparently supporting both formats is not an option.
I hear you!

I am suffering from API changes right now and it really is a pain.
I will not make the switch but instead, add a formatting flag to the generators where you explicitly need to switch to the new formatting.
 
  • Love
Reactions: ELF

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
I just updated the Generator Service with a formatting switch:

Code:
{
  resultPattern: "{\"http://google.com\"|Google} [Google](http://google.com)"
}
gets you:
Google [Google](http://google.com)


Code:
{
  resultPattern: "{\"http://google.com\"|Google} [Google](http://google.com)",
  formatting: "old"
}
gets you:
Google [Google](http://google.com)


Code:
{
  resultPattern: "{\"http://google.com\"|Google} [Google](http://google.com)",
  formatting: "new"
}
gets you:
 
  • Like
Reactions: ELF

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
All right - i would like to move all my 1500+ entries and some small hundreds of interlinked generators with 500+ links over from the old cl to the new.

i would like to keep at least following functioning:

- all the generators I am currently calling via REST - the links in json are clickable - works very nicely now with the format I am using in the old
- vnext generator output copy to clipboard and paste to vnext log - the links should work - they do not work now
- as a bonus - the links should remain clickable in the old Campaign logger ui

how could this be done
 

Hannu

Mythras Guru
Gold WoA
Wizard of Story
Wizard of Combat
..just want to be sure before I start messing around
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
All right - i would like to move all my 1500+ entries and some small hundreds of interlinked generators with 500+ links over from the old cl to the new.

i would like to keep at least following functioning:

- all the generators I am currently calling via REST - the links in json are clickable - works very nicely now with the format I am using in the old
- vnext generator output copy to clipboard and paste to vnext log - the links should work - they do not work now
- as a bonus - the links should remain clickable in the old Campaign logger ui

how could this be done

Between the old and the new UI/formatting, links and images are not compatible.

There is an auto-conversion in place that changes the format from old exports when importing them into CL vNext. This should cover links and images in log entries.

There is no such thing available for generators.

You could try the new format for links and images in the old UI by prepending a line with "?MD" (without the quotes) to log entries. This enables basic markdown support there.
 
Top