Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    TouchSearch for Fremantle

    Reply
    Page 5 of 7 | Prev |   3     4   5   6     7   | Next
    BrentDC | # 41 | 2010-01-11, 16:33 | Report

    Originally Posted by fraaaaanka View Post
    Hi There,
    Using touchsearch i tried to add my own search for 'yell'
    went through all the steps and it worked successfully apart from when i press the +button and select 'Yell' the icon i created does not appear on the widget (i just get a black box with the blue + sign on the right)
    when i click the black box it then opens up the search bar with the logo i created on the left hand side.

    My question is why am i not getting the logo on the desktop widget?

    I created the icon using paint, the size is the specified 122x40, saved as a .png file.

    Help is appreciated.
    Hi,

    Could you attach the image to a post in this thread. That way, I can test it here. Thanks.

    P.S. Are the default search engine icons working on the desktop?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fraaaaanka | # 42 | 2010-01-12, 02:32 | Report

    Hi There
    Firstly thanks for the help

    I have attached the file i created

    The other icons all work fine ... its just the one I created (its not very pretty but It'll do for me)

    Cheers

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

     
    BrentDC | # 43 | 2010-01-12, 22:44 | Report

    Originally Posted by fraaaaanka View Post
    Hi There
    Firstly thanks for the help

    I have attached the file i created

    The other icons all work fine ... its just the one I created (its not very pretty but It'll do for me)

    Cheers
    After a bit of investigating I found out that for the image to show up it needs to be rgba and not just rgb -- the difference is that the background needs to be transparent instead of white (white doesn't look very good anyway!).

    I edited the yell.png to be rgba as an example (I also made the Yell text light gray so is shows up on a dark background).

    Hope this helps (I'll add this to the documentation soon).

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

     
    debernardis | # 44 | 2010-01-13, 06:28 | Report

    Originally Posted by BrentDC View Post
    After a bit of investigating I found out that for the image to show up it needs to be rgba and not just rgb -- the difference is that the background needs to be transparent instead of white (white doesn't look very good anyway!).
    What kind of program are you using? Gimp seems unable to do that, at least in my hands

    Nevermind, I found the way with Gimp. Here are some png's which might be useful.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
         

    Last edited by debernardis; 2010-01-13 at 09:18.
    The Following User Says Thank You to debernardis For This Useful Post:
    BrentDC

     
    joebush | # 45 | 2010-01-13, 12:10 | Report

    When adding custom search engines, sometime the latest one I add is not editable or deletable (like the Google one).

    I entered Bing, but 3 times in a row I was told that it already existed. Quite annoying. I was starting to think I wasn't permitted to add it. :| Eventually it went in, but now that one isn't editable, so I can't add an icon. Guess I have to add a new one.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    joebush | # 46 | 2010-01-13, 12:15 | Report

    Hmm, I have moved it to the top by mistake. Now I can only move Bing up and Google down. Seems like there is some unnecessary 'control' (that obviously doesn't work right) that is programmed into this widget.

    No offense, but editing a string and opening the browser with it isn't complicated. Maybe you should keep it simple instead of trying to control its use. You may as well open it up before someone else makes a more open version. Until then, I'll do my searches manually.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by joebush; 2010-01-13 at 12:30.

     
    BrentDC | # 47 | 2010-01-13, 16:45 | Report

    Originally Posted by joebush View Post
    Hmm, I have moved it to the top by mistake. Now I can only move Bing up and Google down. Seems like there is some unnecessary 'control' (that obviously doesn't work right) that is programmed into this widget.

    No offense, but editing a string and opening the browser with it isn't complicated. Maybe you should keep it simple instead of trying to control its use. You may as well open it up before someone else makes a more open version. Until then, I'll do my searches manually.
    Hi,

    There is very little that TouchSearch tries to "control". If you are having issues with things not working properly, then I assure you they are just bugs in the code.

    It may seem like a very simple thing to do as you alluded to above, but it isn't. I will not go into the technical details of what was required to program it, but I will tell you that the code responsible for storing, editing, loading and using user-created search engines is several hundred lines long. Whenever you program several-hundred lines there are bound to be bugs. I'm usually pretty good at finding and fixing them before public release, but sometimes some do get through.

    Here is exactly what TouchSearch controls:

    Editing and Deleting Search Engines:
    All search engines are 100% editable and deletable with the exception of Google and the search engine currently in use.

    Google is this way because it is the default search engine and is there when TouchSearch runs into problems. For example, any of the below would cause TouchSearch to automatically load Google:
    1. Deletion of every other search engine
    2. Default install state
    3. Corrupted settings file
    4. "Stale" settings file (program requires a newer version
    5. Error in loading any of the other search engines including user-defined ones

    The search engine currently in use is this way because TouchSearch will not be happy if you delete the search engine in use (it is like trying to delete a file open in another program). TouchSearch would crash, so I made it undeletable (and uneditable).

    Adding Search Engines:

    There really aren't any controls here, just checks to make sure everything was entered correctly.

    There are three things that can cause TouchSearch to report an error adding a search engine:
    1. Name is not unique and matches one already in use (TouchSearch identifies search engines by name so having two with identical names would cause TouchSearch not to know which is which)
    2. Query not contained in URL (This is almost always caused be dynamically created search pages. For example, "http://example.com/q=query" is a very easy website to search, just replace query with a substitution character and you're set. However "http://example.com/search.php" is not easy to remotely search, and may even be impossible).
    3. Search query appeared more than once in the string (For example, http://example.com/q=e". This is caused by either the user not using a unique enough search string or the website has the query appear more than once in the string).

    All these checks are there to make sure the search engine will work properly once added, not to "control" you.

    Sorting Search Engines with Up/Down:

    If you have selected a search engine at the top or bottom of the list or have moved one to the top or bottom of the list, TouchSearch will gray-out the top or bottom button respectively. If it didn't do this, you could actually move search engines out of "range" which I assure you isn't something you want to do (it would cause the program to crash).

    If this isn't working properly in a repeatable scientific way, please report it in the Bugzilla and I will try to fix it. Thanks.

    Edit: I also forgot to mention that any version of TouchSearch that has user-defined search engine capability is either in -testing or -devel. This is why some features may have bugs or don't seem quite polished yet -- because it isn't!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by BrentDC; 2010-01-13 at 16:49.

     
    fraaaaanka | # 48 | 2010-01-13, 22:51 | Report

    Originally Posted by BrentDC View Post
    After a bit of investigating I found out that for the image to show up it needs to be rgba and not just rgb -- the difference is that the background needs to be transparent instead of white (white doesn't look very good anyway!).

    I edited the yell.png to be rgba as an example (I also made the Yell text light gray so is shows up on a dark background).

    Hope this helps (I'll add this to the documentation soon).
    Top Man
    Top App
    Will get loads of use from me .... saves me loading up web, then finding the bookmark, then clicking it etc etc
    possibilities are endless ... lyric databases, forums ... and all in a little tiny widget that takes up no space on my desktop

    .... again ... nice one!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to fraaaaanka For This Useful Post:
    BrentDC

     
    debernardis | # 49 | 2010-01-14, 06:52 | Report

    It would be nice to have the talk.maemo.org powersearch too (http://talk.maemo.org/msearch.php) but unfortunately it calls a script from google. A page formatted with a 'get' input box which passes the parameters to the google script could solve the issue but other than suggesting I'm no good at doing it

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BrentDC | # 50 | 2010-01-14, 18:01 | Report

    I don't think that PowerSearch allows remote searching via url parameters, but Google does:

    http://www.google.com/cse?cx=0124142...53A2laarii9gbw

    That is Reggie's CSE, a little crude, but results are the same...

    I may create a CSE just like that but with a nice Maemo.org logo. It should be fairly easy

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to BrentDC For This Useful Post:
    debernardis

     
    Page 5 of 7 | Prev |   3     4   5   6     7   | Next
vBulletin® Version 3.8.8
Normal Logout