Sunday, 27 May 2007

Coding time is coming!

Tomorrow is May, 28th. Coding time is coming.
What I have already done:
  • Preference Window design and implement
  • exclude / include rule design (domain,wild card and regular expression)
  • preference save / load implement ( using json format)
What to do next (in next week):
  • Other UI design and implement (context menu,toolbar/status bar icon)
  • index html pages
  • make it runable (pack it as XPI)

Wednesday, 18 April 2007

The preferences window

The preferences dialog.



And the add pattern dialog

Some graphs

Not UML , not MindMap. Just some graphs.






Tuesday, 17 April 2007

exclude or include ?

Exclude or include ?
That is BlackList or WhiteList ?
  • Only BlackList.
    In this way we assume that the user want to index most of the pages.
  • Only WhiteList.
    In this way we assume that the user only want to index only a few pages.
  • Both BlackList and WhiteList
    We assume nothing in this way.
    But there is another problem:
    If an URL matches some rule both in BlackList and WhiteList.
    How to handle it ?BlackList first or WhiteList first ?
  • about UI
    two tabs (one for WhiteList, one for BlackList) or
    one tab for both WhiteList and BlackList
  • save /load
    Save the WhiltList and BlackList to an XML file.
    Load the list from the saved file.
    Maybe I could make it possilbe to load the file in Epiphany Extension.

Friday, 13 April 2007

The Old TODO List

I'm starting reading the code of old Firefox Extension For Beagle.
I found a TODO List in readme.
- make install rule for installing to global extensions
directory (can be done without running mozilla?)
I don't think that is a good idea.
- need better icons
- only index content on initial visit to a page
- send HTTP headers to beagle-index-url?
Is it needed? HTTP headers don't contain much information about the content.
- remove context menu and preferences?
Create a new UI
- improve warnings
- call beagle-index-url with page title and mime-type
Good Idea, same for non-html files
- watch for beagle-index-url error and clean up tempfile
Is it possible ?
- save tempfile in safer place and with better name
Good Idea .
- include install.js for older versions of Firefox (<0.9)
- screenshot webpage
??

Thursday, 12 April 2007

I'm accepted

I'm accepted.
http://code.google.com/soc/beagle/appinfo.html?csaid=C3888F1BDF9F1276
This summer I will work for beagle .
My work is rewriting the browser extensions for beagle.
Thanks beagle . Thanks google.

Thursday, 22 March 2007

Browser Extension Rewrite for beagle

Project Goal:
Rewrite the Firefox Extension and Epiphany extension for Beagle.
including interface ,jslib (for firefox extension),etc.
And add some new feature to the extension.
1.Persist the firefox extensions enable/disable settings (bug 315610)
2.adding more powerful filters(using regular expression/or wildcards) to exclude/include the URLs
3.(optional) introduce an interface(for search) for beagle in the browser(may be only for firefox)

Project Details:
As mentioned in http://beagle-project.org/Summer_Of_Code_2007 , The Browser Extensions for Beagle need a complete rewrite.
I am willing to rewrite the extension.
And I'd like to add some new feathers to them.
1.Persist the firefox extensions enable/disable settings
As described in bug 315610,It is unconvenient to stop the index echo time User open a new window. I'd like to introduce this option to the extension.
2.Currently, the firefox extension only do an basic filter based on host.
I think that is not enough. I'd like to add more power filters. Based on wildcard ,or regular expression . (Something like FoxyProxy's URL template)
3.(optional) introduce an interface(for search) for beagle in the browser(may be only for Firefox)using the command line tool beagle-query.
This feathers may have nothing to do with the original goal of the extension.
But I do think it would be useful.


The above description are almost all for Firefox extension. But the feathers can be add to Epiphany extension too.
In fact the Epiphany extension is really simple now,only less than 500 line codes.
It need much improvement. I didn't say much about it because I have no idea of Epiphany extension develop now. But I'm willing to learn it in the future.


Rough Road Map:
1.(now - 28/5/2007)
discuss with Beagle develop team about my idea.I will get familiar with the related code . And learn some something about Epiphany Extension Development.
2.(1/6/2007 - 31/6/2007)
rewrite the firefox extension
develop and test the first two features for firefox extension.
3.(1/7/2007 - 31/7/2007)
develop and test the Epiphany extension
4.(1/8/2007 - 15/8/2007)
develop and test the third feature for the firefox extension.

About me:
I'm a student from China.
I am studying Computer Science And Engineering in Southeast University in Nanjing,China.
I'm interested in Open source , Linux , Python , PHP , Javascript ,etc.
I have some experiences on Firefox Extension Develop.
(The Firefox Extension I developed -- Image Download https://addons.mozilla.org/firefox/2503)
I have no idea of Epiphany extension develop , But I'd willing to learn about it.
Please visit
http://filia.tao.googlepages.com/english-resume
for more information about me.

My Email : Filia.Tao (AT) gmail.com