Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 90

mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
03/26/13 02:56 PM (12 years ago)

Modify search plugin to search entire project including html files

Has anyone tried modifying the search plugin for iOS to search more than just JSON data? One complaint I often get on my apps is that the search is too limited... it would be great if it could somehow search the entire project and list screens where that data is found. My apps are mostly html screens so I imagine this is doable. I've seen non-BT apps do this. I tried adapting it on my own to look for "tags" add then added tag keywords to each screen's JSON data but it ended up being too much of a pain in the $#%! Josh
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/26/13 04:06 PM (12 years ago)
Well, you can only search what has been catalogued, which is why the search plugin works well 'for what it was designed for', which is the app json data. If only all child items were in the config.txt file... I've been putting off doing a similar plugin, but I've been faced with pretty much the same problems... I'm not sure where 'all' of my data will be coming from, so until then, I'm sort of drifting. When I'm further into this project I'll have a better handle on 'how' I'll present my data, and then I can figure out how to search through it. But until then, I'm in the same boat. Cheers! -- Smug
 
andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
like
03/26/13 06:40 PM (12 years ago)
You should reach out to Danny. His BTA Design Menu plugin has built in search and it searches everything, including child-items. It's very robust and works great. Plus, Danny's a great chap! Andy
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/26/13 07:02 PM (12 years ago)
I'm sure Danny's search works great; I hear nothing but good things about it. But I'm going to need Android as well, so I'm at the drawing board regardless... Cheers! -- Smug
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
03/26/13 07:05 PM (12 years ago)
Hi guys, I sent in a update to Susan with the search plugin, it searches everything now. Susan said it may be a few weeks until it is released so if there is enough requests I can put it up on buzztouchmods.com Cheers, David
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
03/27/13 02:56 AM (12 years ago)
David- when you say it "searches everything" do you mean it searches the entire title of the screen? What I'm looking to do is search the entire app. So, for example, if the word "buzztouch" appeared in an html file somewhere but not in the JSON data, then that screen would still come up when I searched for Buzztouch. And I've never used the design menu plugin but I was under the impression it just searched within the files associated with that plugin... right?
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/29/13 11:29 AM (12 years ago)
@MrDavid…of course we want it at buzztouchmods.com…Plz share it ASAP!!!! THANKS
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.