How to use macros to cover a range of months in the longmonth format?

Author Message
Jeff 01/30/2016 09:40 pm
Hi,

I'm trying to create a project that will generate URLs that would look like this...

../january-01-2016
../february-01-2016
../march-01-2016
../april-01-2016
etc...

I've tried using

.../{:#LongMonths:january,february,march,april,may,june,july,august,september,october,november,december}{:longmonth}-{:1..1}-{:2015..2016}/

That will generate a URL with the correct format for the current month like this...

../january-01-2015
../january-01-2016

But I can't seem to figure out how to get it to cover a range of months. I tried playing around with {:setdate=date+2M} which will change the month in the URL. But I can't seem to figure out how to make it span over multiple months and years via macro.

Is there a way to do this?

Thanks,
Oleg Chernavin 01/30/2016 09:44 pm
You need to do it another way:

.../{:january,february,march,april,may,june,july,august,september,october,november,december}-{:1..1}-{:2015..2016}/

It is just a combination of words.

Best regards,
Oleg Chernavin
MP Staff
Jeff 01/31/2016 11:55 am
Thanks Oleg,

That worked perfectly. I must have messed up the syntax when I was trying to get this to work since I know I tried using that approach.

And thanks again for your excellent product and support. I'll continue to recommend this program to everyone I can. You guys are the best.

Thanks again,

Jeff
Oleg Chernavin 01/31/2016 04:23 pm
Thank you very much! It would be really helpful if you recommend us.

Oleg.