Skip to content

A Better Solution To Using Filepath Macros in Content

I have been thinking about these feature request and the use of the various macros:
1) Capitalisation of %anchor_text%
2) External URL's
3) Random Images added.
4) Anchor Texts without Generic Anchor
5) Anchor Texts without Domain Names

and the various workarounds. 

Was wondering what if there was a field (called USER MACROS) that allowed us to set some relationships and extra fields of our own it wouldn't add too many extra options to the GUI which may confuse people. 

E.g. allow us to specify our own macro names and the filepaths for them. 

It's just that when you use the #file- or %spinfile- or %spinfolder- or %spinfolder_delete and then have a filepath, it's easy for small mistakes to occur in the filepath, or for the filepath to break when projects get moved around. Also - writers use one computer to create articles, and the filepath on their PC will differ since the computer names vary. Then when they get moved across pc's they break. It's just quite complicated using these filepaths.  

A solution would be to let us define them:

e.g. 
%external_image% = %spinfolder-C:filepath%
%cap_Anchor_Text% = %spinfolder-C:filepath% (This is a .txt file that has same anchors but this time capitalised)
%article_ending_text% = %file-C:filepath%

In a TEST window it would show field "USER MACRO" and then list the macros we've set and the results. e.g.
%external_image% = C:/Image.png
%cap_Anchor_Text% = Anchor Text
%article_ending_text% = The best articles are ....

This would simplify a lot of things and add a lot more flexibility. 

Sign In or Register to comment.