{"id":3979,"date":"2019-01-20T09:11:44","date_gmt":"2019-01-20T14:11:44","guid":{"rendered":"http:\/\/paulmaiorana.com\/notes\/?p=3979"},"modified":"2019-01-20T09:16:21","modified_gmt":"2019-01-20T14:16:21","slug":"manipulating-text-with-bbedit","status":"publish","type":"post","link":"https:\/\/paulmaiorana.com\/notes\/2019\/01\/manipulating-text-with-bbedit\/","title":{"rendered":"Manipulating text with BBEdit"},"content":{"rendered":"<p><a href=\"https:\/\/sixcolors.com\/post\/2019\/01\/using-bbedit-and-excel-to-revive-a-dead-podcast-feed\/\">Manipulating text with BBEdit<\/a><\/p>\n<blockquote><p>But the other thing I use BBEdit for is a bit more esoteric and hard to describe\u2014something I call \u201ctext munging\u201d, for lack of a better word.<\/p>\n<p>Text munging takes many forms, but generally it happens when you\u2019ve got a bunch of text in one format and you need to get it into a different format. I\u2019ve used BBEdit to transform the source pages of websites, to format a mailing list properly, and more. Today I used it to generate a podcast feed out of a chunk of HTML.<\/p><\/blockquote>\n<p><a href=\"https:\/\/www.barebones.com\">BBEdit<\/a> has been my go-to text editor, notepad, and &#8220;text munger&#8221; since I started using a Mac as my primary computer, I think around 2001-2002.<\/p>\n<p>I depend on it many times daily, and similar to Snell, just last week used BBEdit to migrate blog posts from a broken Movable Type installation by transforming its static HTML files into XML for importing to WordPress.<\/p>\n<p>Related reading: <a href=\"https:\/\/daringfireball.net\/2019\/01\/on_getting_started_with_regular_expressions\">learning regex via BBEdit<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manipulating text with BBEdit But the other thing I use BBEdit for is a bit more esoteric and hard to describe\u2014something I call \u201ctext munging\u201d, for lack of a better word. Text munging takes many forms, but generally it happens when you\u2019ve got a bunch of text in one format and you need to get [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"link","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[222,117],"class_list":["post-3979","post","type-post","status-publish","format-link","hentry","category-uncategorized","tag-bbedit","tag-software","post_format-post-format-link"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1G65p-12b","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/posts\/3979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/comments?post=3979"}],"version-history":[{"count":5,"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/posts\/3979\/revisions"}],"predecessor-version":[{"id":3984,"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/posts\/3979\/revisions\/3984"}],"wp:attachment":[{"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/media?parent=3979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/categories?post=3979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/paulmaiorana.com\/notes\/wp-json\/wp\/v2\/tags?post=3979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}