| 
		
			| Re: Searching html page source [message #682 is a reply to message #681] | Sat, 03 February 2018 16:27   |  
			| 
				
				
					| FoxTrot Engineering Messages: 427
 Registered: April 2020
 | Senior Member |  |  |  
	| khw77 wrote: 
 > Hi - is there an option for searching an html file as text rather than in
 > its rendered form?
 
 No.
 
 However, there is a hidden preference that allows *indexing* html in raw text form instead of rendered form. This implies that you won't be able to search rendered html text anymore. And this is a global option (and not a per index one).
 
 To enable it, quit FoxTrot, copy and paste the two following lines to a Terminal.app window, then relaunch FoxTrot, and rebuild your index.
 
 defaults write com.ctmdev.foxtrot Aliases -array-add \
 "{type='html'; as='txt';}"
 
 To reset the default behavior, copy and paste this command, and rebuild your index:
 
 defaults delete com.ctmdev.FoxTrot Aliases
 
 
 Jérôme - CTM Engineering
 
 
 ------------------------------------------------------------ ---------
 "I searched for words inside text documents and was pleasantly surprised
 when those words were highlighted in the respective text, if viewed in
 the preview drawer."
 FoxTrot Personal Search review on www.softpedia.com
 
 Download a demo version from www.foxtrot.ch
 ------------------------------------------------------------ ---------
 
 Jérôme - FoxTrot Engineering
 |  
	|  |  |