Showing posts with label Epiphany. Show all posts
Showing posts with label Epiphany. Show all posts

Wednesday, 15 August 2007

Epiphany Extension Finsished , Call For Test

I have finished the epiphany extension for beagle. It is written in python now.
You can follow the instruction in wiki to install and test.
What the extension does:
  • auto index (regular expression based filter)
  • on-demand index (current page or linked page/file)
  • prompt for keyword when on-demand index
  • i18n support (using gettext)
There are some problems not solved yet.
  • Currently, there is no UI to edit config , you have to edit config file by hand . But the format is simple , you can have a look at this.
  • It still have some problems in content-type detective. E
    ven for loaded pages , epiphany only tell us the page is "HTML" ,"XML","IMAGE", or "OTHER". It's hard to decide the correct content type.
  • UI is simple . All pure-text menu items . I should use some icons.

Tuesday, 7 August 2007

Epipahny extension for beagle

This extension is in python now.

Install
  1. download the files from http://browser-extension-for-beagle.googlecode.com/svn/trunk/py-epiphany-extension/
  2. put them in ~/.gnome2/epiphany/extensions/
  3. create beagleIndexer.conf in the folder. ( beagleIndexer.conf.sample is a good example)
Usage
  • index current page by menu item Tools->beagle->index this page
  • toggle auto index by menu item Tools->beagle->auto index
Configure File

The config file is a python file itself. It's name must be "beagleIndexer.conf" and located in ~/.gnome2/epiphany/extensions/

table of configure items
name possible value description
auto_index True / False auto index when page is loaded or not
default_index True / False index the page when the url did not match any rule in blacklist or whitelist or not
white_list_first True / False whether to index the page when the url matches both rules in blacklist or whitelist or not
index_https True / False index https page or not
black_list a python list of regular expressions black list
white_list a python list of regular expressions white list

You can find a sample config file here.

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