[Sugar-devel] hulahop
Tomeu Vizoso
tomeu at sugarlabs.org
Mon May 31 05:07:00 EDT 2010
On Sun, May 30, 2010 at 01:51, Lucian Branescu
<lucian.branescu at gmail.com> wrote:
> Yes, you can access the DOM from python. Google for extra info. If you
> can't find anything, I did something similar in my last year's
> project, which you can find here
> http://git.sugarlabs.org/projects/browse/repos/lucians-ssb/trees/master
>
> Look at usercode.py
This may help as well:
http://blog.tomeuvizoso.net/2009/01/embedding-mozilla.html
Regards,
Tomeu
> On 29 May 2010 11:26, Stefan George <stefan.george at genesisware.com> wrote:
>> Hi,
>>
>>
>>
>>
>>
>>
>>
>> I would like to load a Website into the WebView(). This Website has some
>> Javascript that manipulates the dom after loading the website.
>>
>>
>>
>>
>>
>>
>>
>> Do I get this manipulated dom If I get the dom wv.get_dom_window() to
>> proceed it with python? Would that be possible?
>>
>>
>>
>>
>>
>>
>>
>> My Idea is to use the readability
>> (http://lab.arc90.com/experiments/readability/
>> <http://lab.arc90.com/experiments/readability/> ) script this way. To load a
>> website with readability and extract the converted HTML into python.
>>
>>
>>
>>
>>
>>
>>
>> Thanks for your replies,
>>
>>
>>
>>
>>
>>
>>
>> Stefan
>>
>>
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
More information about the Sugar-devel
mailing list