topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 4:03 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Feature request v 2- favorite searching  (Read 6235 times)

Chris

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 42
    • View Profile
    • Donate to Member
Feature request v 2- favorite searching
« on: September 05, 2005, 04:54 AM »
This was mentioned in  an earlier wish list, but I am not sure if it is to be included  in v2.

I would like to use FRR to search my Internet Explorer favorites, with the choice of searching
1. the title,
2. the URL and
3. both the title and the URL.

I would imagine that option 2 & 3, reading the URL within the favorites, would be the slowest

I would use the third method most.

Will this be possible in version 2?

Regards

Chris

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Feature request v 2- favorite searching
« Reply #1 on: September 05, 2005, 05:02 AM »
this will definitely be added, just dont know yet about what options to present to user.
as you say it could take a little bit of extra time to read the info, so there will most likely be options for whether to enable searching in url strings or not.  title will always be searched.

i think i will be able to add ie bookmark and firefox bookmark searching in the next 2 weeks.

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Re: Feature request v 2- favorite searching
« Reply #2 on: September 05, 2005, 11:20 AM »
Cool, Firefox bookmark search would be nice.

nontroppo

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 649
  • spinning top
    • View Profile
    • nontroppo.org
    • Donate to Member
Re: Feature request v 2- favorite searching
« Reply #3 on: September 05, 2005, 11:23 AM »
mouser: I know you also said you would support Firefox/Mozilla bookmarks. If you do I was wondering if you may be better to code a more general regex driven text search. For the FF bookmarks you will have to parse a HTML file containing a definition list, with HTML attributes defining the bookmark properties. If we had definable regex's, it would be trivial to add support to Opera for example which uses simple line delimited INI like attributes:

#URL
ID=14
NAME=Head Hunting  History of the Shuar  Shrunken Heads
URL=http://www.head-hunter.com/
CREATED=1029147558
DESCRIPTION=death
ICONFILE=Bookmark Unvisited
ORDER=-1

Or any other text file could be used in this more flexible approach. You have to code some kind of text-parser for Firefox bookmark support, so you may as well maximise the utility of your development!
FARR Wishes: Performance TweaksTask ControlAdaptive History
[url=http://opera.com/]

nontroppo

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 649
  • spinning top
    • View Profile
    • nontroppo.org
    • Donate to Member
Re: Feature request v 2- favorite searching
« Reply #4 on: September 05, 2005, 11:25 AM »
I also have to say I imagine Favorites / Bookmarks searching will be really slow - maybe you will need to have some kind of pre-processing and cache to speed it up (though not so far as needing a database)!
FARR Wishes: Performance TweaksTask ControlAdaptive History
[url=http://opera.com/]

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Feature request v 2- favorite searching
« Reply #5 on: September 05, 2005, 11:28 AM »
great suggestion nontroppo.
i was thinking to build a general purpose parser for html links like firefox uses for its browser, but as you say there are issues:
1) some kind of cache will be needed since will be too slow to reparse each time.
2) might as well then do a more general purpose parse+cache system to support other kinds of browser bookmarks and other stuff.
3) now we are getting dangerously close to the database idea.

so let me think on it for a little while to find the best general purpose solution.  i agree with you that a more general purpose solution is the way to go.

Chris

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 42
    • View Profile
    • Donate to Member
Re: Feature request v 2- favorite searching
« Reply #6 on: September 05, 2005, 08:13 PM »
I use another program (Quick Favorites Search http://www.chris.id.au/qfs/default.htm) to search both the title and the url. It reads all files every time, not cached, and on a P4 2.2GHz it takes 5 seconds for 3400 favorites.

While this is a considerable time, this is still very useful. If a cache can speed it up, so much the better, but I would use it even it took 5 seconds.

Chris

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Feature request v 2- favorite searching
« Reply #7 on: September 06, 2005, 06:49 AM »
just a quick note of clarification -
f&r will currently happily search your ie bookmarks by title (ie bookmarks use title as filename).

the only issue to be implemented is being able to search on the url inside the file.