goldy
October 4, 2024, 5:56pm
1
1. The problem
When you run a project to merge CSV file with a template, I noticed that now SCM delete all the curly brackets of the output articles.
In the template, I have some macros that I need to use like these:
I haven’t use SCM in a few months but it wasn’t doing this before.
Any clue?
Thanks for your help
Tim
October 5, 2024, 3:55am
2
Its not like this for me in newest version
preview
I updated spinner code a few ago and one version did have this bug.
goldy
October 5, 2024, 10:25am
3
I downloaded the latest version(Mac OS Silicon) and deleted the ‘scm-next-plus’ folder to start fresh and now it does keep the curly braces but not spinning the content on the template. I forgot to mention on my first post that I have some Spintax on the template also and it was spinning fine before the update.
Tim
October 5, 2024, 10:40am
4
Can you share the full ocde where spintax not working?
goldy
October 5, 2024, 12:17pm
5
Can I send it to you in private? There’s sensitive info on the template.
Thanks
Tim
October 6, 2024, 1:33am
6
I think I found the problem.
If you do this:
{cat} {cat|dog}
It returns this
cat cat
Instead of
{cat} cat
This is a bug and will be fixed in the next update
Tim
October 6, 2024, 2:03am
7
Also let me know if you want me to add a textbox edit instead of the existing file path selection.
Would make it so that your templates an be edited within the program.
goldy
October 6, 2024, 2:11pm
8
I updated SCM and did a test with a sample of the code and it’s not spinning at all. It does change the macro though.
Here’s a sample of the code:
<!doctype html>
<html>
<head>
<title>Rencontre Sportive - %CITY%</title>
<meta charset="UTF-8"/>
<link rel="shortcut icon" href="/favicon.ico?{%SYSTEM_REVISION%}&{%SITE_VERSION%}"/>
<meta name="description" content="Rencontrez des {célibataires sportifs|sportifs célibataires} de %CITY% qui recherchent {comme vous un partenaire|un partenaire comme vous}, une aventure ou l'amour! {Entrez pour voir.|Inscription gratuite!|Inscrivez-vous gratuitement!}" />
A textbox could be useful but not a must.
Thanks for your help
Tim
October 6, 2024, 2:31pm
9
I’ll test it and get back to you.
Tim
October 7, 2024, 2:41am
10
I’m not seeing any errors
Can you provide screenshot of it not spinning?
The CSV tool just replaces macros, it leaves the spintax intact
goldy
October 7, 2024, 12:27pm
11
I did an update and it’s spinning fine now.
Thanks again for your help!
Tim
October 7, 2024, 12:39pm
12
I accidentally left this out the spinner output selector !
Its back now.
goldy
October 7, 2024, 1:56pm
13
Lol, I saw the output selector and made me wondering was it always there and I never noticed it?
Anyway, thanks for fixing it, it’s working great now.
1 Like