Recently at work we’ve been quoting a lot of really large websites. Part of our process is reviewing the current site map and in the case of large websites, type it out. This makes it much easier to identify pages that need custom elements or entire sections that should be converted to a custom post type or possibly even consolidated. I’ve found that nvALT is one of the quickest and easiest ways for me to build these sitemaps but I had been struggling with the process of actually getting a page count. I was copying from nvALT and pasting into Coda2 to check against the number of lines. Not a huge deal, but not perfect either. There had to be an easier way, right?
Finding the fix
I reached out to Brett Terpstra, the creator of nvALT (and many other things) to see if there was any way to do this in the current version. He is crazy busy so much to my surprise he answered within a couple of hours. He let me know that there isn’t a way to do this in nvALT directly but mentioned I may want to look into some utilities.
If you do it more than once, make a TextExpander snippet.
— David Sparks
After Googling for a bit and not finding anything that just jumped out at me I did what any tinkerer would do and built something. Following David Spark’s motto of “If you do it more than once, make a TextExpander snippet for it.” I made a TextExpander snippet for it. I’ve been using it for a couple of weeks now so I thought I would share it with the world.Read more...