[Sugar-devel] hulahop
Lucian Branescu
lucian.branescu at gmail.com
Sat May 29 19:51:03 EDT 2010
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
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
>
>
More information about the Sugar-devel
mailing list