Hi,
I am updating my website from XHTML to HTML5 along with changing some other code elements - so there is probably 20-25 different types of code changes needed in total. Is there a way of building 'all' the required changes into TextMate and running it so that it changes the code it finds on a given web page?
I have looked at the 'Find And Replace' tool and it would still be a very manual process to go through the 200+ web pages individually. Is there a faster way? Some kind of function?
Thanks
-- View this message in context: http://textmate.1073791.n5.nabble.com/Multiple-Find-And-Replace-Functions-tp... Sent from the textmate users mailing list archive at Nabble.com.
On Sep 18, 2012, at 6:59 PM, ubique liam.carey@me.com wrote:
I am updating my website from XHTML to HTML5 along with changing some other code elements - so there is probably 20-25 different types of code changes needed in total. Is there a way of building 'all' the required changes into TextMate and running it so that it changes the code it finds on a given web page?
Not sure what you mean — I don’t think there is anyway around writing a script to update your page(s).
You can of course run that script on current document from within TextMate, but it would likely be better to batch-run it on all your files.