Re: Best way to filter HTML

2013-05-27 Thread RobS
On Sunday, 26 May 2013 21:47:48 UTC-3, Rich Siegel wrote: ... Or possibly Markup - Preview in - New Text Window I'd never noticed this possibility before, so I opened a file and tried it out. Sure enough, it does indeed strip (most of) the HTML. I'm sure I'll find a use for it occasionally.

Re: Best way to filter HTML

2013-05-27 Thread LuKreme
On 27 May 2013, at 05:58 , RobS rsteven...@accesscable.net wrote: On Sunday, 26 May 2013 21:47:48 UTC-3, Rich Siegel wrote: ... Or possibly Markup - Preview in - New Text Window I'd never noticed this possibility before, so I opened a file and tried it out. Sure enough, it does indeed

Re: Best way to filter HTML

2013-05-27 Thread RobS
On Monday, 27 May 2013 11:57:15 UTC-3, LuKreme wrote: On 27 May 2013, at 05:58 , RobS rstev...@accesscable.net javascript: wrote: In my test... a href=index.htmlTitle page/a / became Title page index.html / This seems intentional and like the right behavior to me. If I am

Re: Best way to filter HTML

2013-05-27 Thread LuKreme
On 27 May 2013, at 09:28 , RobS rsteven...@accesscable.net wrote: ... and... nbsp; or copy; became � That seems like a mistake. WHat is the encoding default for your text window? Western (Mac OS Roman), which is a setting I can't recall ever changing, so it's probably the default

Re: Best way to filter HTML

2013-05-27 Thread Dennis Rande
On May 27, 2013, at 8:28 AM, RobS rsteven...@accesscable.net wrote: On Monday, 27 May 2013 11:57:15 UTC-3, LuKreme wrote: On 27 May 2013, at 05:58 , RobS rstev...@accesscable.net wrote: In my test... a href=index.htmlTitle page/a / became Title page index.html / This seems

Re: Best way to filter HTML

2013-05-26 Thread Marshall Clow
On May 25, 2013, at 1:13 PM, Rob Lewis groble...@gmail.com wrote: Never tried any of BBEdit's fancier features. What would be the best way to take a file of HTML and extract just the code between the following tag pairs: p itemprop=articleBody and /p There may be multiple blocks like

Re: Best way to filter HTML

2013-05-26 Thread Chaz Larson
Another manual method that I use a lot for this sort of thing: First copy-paste the whole doc into a new window. Search and replace all the EOL characters so you've got one big line. Search and replace p itemprop=articleBody with \n000 target: Search and replace /p with \n Select Process Lines

Re: Best way to filter HTML

2013-05-26 Thread TJ Luoma
On 25 May 2013, at 16:13, Rob Lewis wrote: Never tried any of BBEdit's fancier features. What would be the best way to take a file of HTML and extract just the code between the following tag pairs: p itemprop=articleBody and /p There may be multiple blocks like this in the file. It

Best way to filter HTML

2013-05-25 Thread Rob Lewis
Never tried any of BBEdit's fancier features. What would be the best way to take a file of HTML and extract just the code between the following tag pairs: p itemprop=articleBody and /p There may be multiple blocks like this in the file. TIA. -- This is the BBEdit Talk public discussion

Re: Best way to filter HTML

2013-05-25 Thread Oliver Taylor
On May 25, 2013, at 1:13 PM, Rob Lewis groble...@gmail.com wrote: Never tried any of BBEdit's fancier features. What would be the best way to take a file of HTML and extract just the code between the following tag pairs: p itemprop=articleBody and /p Is Markup Utilities Remove Markup