View Single Post
  #8  
Old 22.06.2022, 18:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 78,719
Default

@Viga562: first idea I would like to share and gather some thoughts on it

A syntax similiar to bbcode. some example
Quote:
[*video_id*]_this is the *video_id*[/*video_id*]
if the video_id property is available then evaluate the content and output would be
Quote:
_this is the 3213123
in case the video_is proprty is not set, then it won't be evaluated and output is empty

another example
Quote:
[*video_id*]videoID yes[/*video_id*][!*video_id*]videoID no[/*video_id*!]
then output would be either "videoID yes" or "videoID no" depending if property is available or not

that way we could also provide some more sophisticated features like
Quote:
[*video_id*][UPPERCASE]yes[/UPPERCASE][/*video_id*]
would result in "YES"

with such a syntax you can define what name should look like if property xy is available or not available. Please feel free to share comments/thoughts/ideas
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 22.06.2022 at 18:22.
Reply With Quote