For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 8 replies, 2 voices, and was last updated 14 years, 5 months ago by
Brandonros.
-
AuthorPosts
-
BrandonrosMemberSince this is on the topic of remote websites, I’ll ask here…
I’m new to JavaScript and was wondering if you could help me with an example or code to do the following. I’d like a text field where the user enters a search word in a search box, then they have a list of external sites to search that word for, like say, USA.gov, then FDA.gov, etc. I’m okay with leaving the app and not returning but I can’t figure out how to search a site for a specific word from my app.
The more I’m using this, the more I love MobiOne. TIA
BrandonMarch 6, 2012 at 1:35 pm #324028
BrandonrosMemberCan no one help? I just need to figure out code or directions to navigate to a website with the text field’s contents in the website’s address bar. Anyone?
ThanksMarch 6, 2012 at 2:40 pm #324030
support-michaelKeymasterNavigating to a remote site it the easy part. Tell us a bit more about your app.
Is the expectation that the mobile app will possess an indexed collection of sites that it will match user search terms or keywords against? I’m trying to understand the expected architecture? Also do you already have the database and search engine such that developing your app is an integration exercise of proven technologies?
March 6, 2012 at 3:31 pm #324033
BrandonrosMemberWayne,
Thanks for the reply here. A little more… I’d like just a simple app that has a text field on the left hand side with a list on the right hand side. The list will contain various site names, such as usda.gov, grains.org, etc. Say someone wants to quickly see some search results for their search word, for example, “corn,” then they type corn in the text field and select one of the websites in the list to the right. So they type “corn,” and select usda.gov, then by tapping the usda.gov option in the list, they will be directed to this site… http://usda.gov/wps/portal/usda/usdahome?q=corn&x=0&y=0&navid=SEARCH&Go_button.x=21&Go_button.y=11&site=usda
And if they type “corn,” and select grains.org, they will be directed to this site… http://www.grains.org/index.php/search-results?searchword=corn&searchphrase=allOften, the search results pages of websites have the search term as part of the site address, as in these examples with the word, “corn” so I’d need to input their search term into the website’s address section for that search word. I know I could simply allow the action of clicking usda.gov to direct them to the search page on the usda.gov site where they’d have to enter their search word there, but I’d like to make an app that’s one step quicker. It’s probably simple, and I’ve tried some window.open commands but can’t quite get it to work. Could you possible help me out with an example maybe. Thanks again.
BrandonMarch 7, 2012 at 1:31 pm #324058
BrandonrosMember@Wayne
Do you think this is do-able?
ThanksMarch 9, 2012 at 10:16 am #324148
BrandonrosMemberI’m using the trial version of this software and I’m trying to determine if I should purchase the full version, but without support and without many good examples, I’m not too hopeful. Can I get some help with this?
March 13, 2012 at 11:30 am #324237
BrandonrosMemberWayne,
I don’t understand why you would change the title of my topic subject but you won’t even make a comment that you’re working on this or try to help me out. Oh, well.March 13, 2012 at 12:28 pm #324241
support-michaelKeymaster> but you won’t even make a comment that you’re working on this or try to help me out. Oh, well.
No disrespect intended. Just been major busy and custom dev techniques can be very time consuming. As you can see I have a new tech joining me (my man octavio) now to give us much more bandwidth for more in depth cases.
Regarding your app design it is possible but would require some custom javascript to handle constructing the URL query to include the user’s tag/keyword. Also I assume you want the remote site to open in a separate browser or must it be embedded?
March 13, 2012 at 12:55 pm #324246
BrandonrosMemberWayne,
Thanks for the reply. I understand being busy. A separate browser would be fine, whichever was easier. -
AuthorPosts
