server.com vs www.server.com

Author Message
Tyler 03/13/2009 09:39 pm
I''ve noticed myself doing this substitute alot:
url: http://server.com/*
replace: ://
with: ://www.
or this:
url: http://www.server.com/*
replace: www.
with:

depending on which form I enter in the URLS field of the project. I think that the macros such as
{:domain}, {:server} etc should be supported so I can do this in a template, or an extra additional=parameter or checkbox could be added to automatically do this depending on if the user wants it or not. I think this would reduce the time it takes to create a project, and also reduce the number of duplicated files we get in site.com and www.site.com directories.
Oleg Chernavin 03/14/2009 05:50 am
The macros are already supported for Substitutes. I will think about making it a kind of setting.

Best regards,
Oleg Chernavin
MP Staff
Tyler 03/15/2009 02:05 am
From what I can read in the help:
However enumerating macros are not yet supported, like {:1..10}, {:server}, {:dir}, {:filename} or {:a,b,c,d}.
I''m assuming {:domain} is also in this list. Testing with the test button in the dialog seems to support this.

> The macros are already supported for Substitutes. I will think about making it a kind of setting.
>
> Best regards,
> Oleg Chernavin
> MP Staff