Have you any good ideas about how a DRY (don't repeat yourself) store of URLs could be built for subsequent use within copy? The aim being that should a URL need to be changed it could be edited in the one DRY-location and all instances of it would therefore remain correct.
My idea so far is to have a utility section (not for display) such as
/utils/drys/
with a URL per page
/utils/drys/my-first-dry-link
/utils/drys/another-dry-link
each URL-page would use a template with two fields, the Title for the default copy the link would use and another field to hold the URL. Then to use the link when editing content in TinyMCE one would need to switch to HTML view and insert some PHP+PW code to refer to the link {is this even possible?}.
In a perfect world I would love to be able to swipe text in TinyMCE and the pop-up list of link options include something like "The URL field from this [drop-down menu] page" and what was inserted was a PHP+PW snippet that ensured that in future when the source URL is edited each use of this link will use the new URL.
Cheers to anyone with any comments













