Re: Capture Visual Features with JRex
"Micael Gallego Carrillo" <[email protected]> Mon, 21 Jan 2008 01:57:40 +0100
| Newsgroups | gmane.comp.mozilla.jrex |
|---|---|
| Message-ID | <[email protected]> |
--===============0191908193== Content-Type: multipart/alternative; boundary="----=_Part_16101_6551223.1200877060770" ------=_Part_16101_6551223.1200877060770 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Maybe LadyrBrowser API (http://www.ladyr.es/ladyrbrowser) can be useful to you. It allows you to navigate using Mozilla with a simple interface. LadyrBrowser API is build on top of JavaXPCOM. You can find documentation about this technology in http://www.ladyr.es/wiki/wiki/XPCOMGuide Regards. On Jan 20, 2008 9:40 PM, Icaro Dourado <[email protected]> wrote: > > this is exactly how it works. I didn't know you needed absolute positions, > sorry about that. For me, relative positions would be more than enough to > solve my stuffs here, because I was interested in those positions to > confront them, comparing them. Due to I couldn't find a final and robust > solution before, I had to get another solutions for my problem and I did > it. > Then, I stopped to search for other approaches about this problem. Even > so, > I would be happy if this solution comes somewhere, so I keep my ask for > you > in tell me about thay way you got to do this task. :) > tanks again > > > Radhouane wrote: > > > > Icaro Dourado <icarocd@...> writes: > > > >> > >> > >> Radhouane wrote: > >> > > >> > Hi every body, > >> > I am new user of JRex. I want to capture box models positions of tags > >> in > >> > the > >> > DOM tree of arenderd web page using JRex. I mean by box models of a > >> tag, > >> > its > >> > position in the rendred page. Example, the tab <P> will be rendered > at > >> > position row (15 pixels) and columns row (20 pixels). Is it possible > >> with > >> > JRex? > >> > Thx. > >> > > >> > >> I want to do this too! I have a suggestion: take a look at this > project: > >> WebCoords > >> It may be "weak" because it calculates the positions, and CSS, > javascript > >> and others are not considered. it's a approach, but is not good enough > at > >> the most of the cases. > >> Radhouane, please contact me if you get progress! thanks > > > > Hi Icaro, > > I have installed WebCoords, and it is running. I have remarked that > > WebCoords > > detect visual positions of only rendered text nodes, and this position > is > > calculated from the HTML DOM tree and is not the exact pixel's position > of > > rendered box text. WebCoords gives only relative position of text nodes > to > > each others. I have read in the newsgroup that Gecko engine can capture > > the > > visual box of each node's DOM tree, but I don't know how can do it! > > If I have more information about the subject I will inform you. > > > > > > > > > > _______________________________________________ > > JRex mailing list > > [email protected] > > https://www.mozdev.org/mailman/listinfo/jrex > > > > > > -- > View this message in context: > http://www.nabble.com/Capture-Visual-Features-with-JRex-tp14152535p14986564.html > Sent from the MozDev - jrex mailing list archive at Nabble.com. > > _______________________________________________ > JRex mailing list > [email protected] > https://www.mozdev.org/mailman/listinfo/jrex > ------=_Part_16101_6551223.1200877060770 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Maybe LadyrBrowser API (<a href="http://www.ladyr.es/ladyrbrowser">http://www.ladyr.es/ladyrbrowser</a>) can be useful to you. It allows you to navigate using Mozilla with a simple interface.<br><br>LadyrBrowser API is build on top of JavaXPCOM. You can find documentation about this technology in <a href="http://www.ladyr.es/wiki/wiki/XPCOMGuide">http://www.ladyr.es/wiki/wiki/XPCOMGuide</a><br><br>Regards.<br><br><div class="gmail_quote">On Jan 20, 2008 9:40 PM, Icaro Dourado <<a href="mailto:[email protected]"> [email protected]</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>this is exactly how it works. I didn't know you needed absolute positions, <br>sorry about that. For me, relative positions would be more than enough to<br>solve my stuffs here, because I was interested in those positions to<br>confront them, comparing them. Due to I couldn't find a final and robust <br>solution before, I had to get another solutions for my problem and I did it.<br>Then, I stopped to search for other approaches about this problem. Even so,<br>I would be happy if this solution comes somewhere, so I keep my ask for you <br>in tell me about thay way you got to do this task. :)<br>tanks again<br><div><div></div><div class="Wj3C7c"><br><br>Radhouane wrote:<br>><br>> Icaro Dourado <icarocd@...> writes:<br>><br>>><br>>> <br>>> Radhouane wrote:<br>>> ><br>>> > Hi every body,<br>>> > I am new user of JRex. I want to capture box models positions of tags<br>>> in<br>>> > the<br>>> > DOM tree of arenderd web page using JRex. I mean by box models of a <br>>> tag,<br>>> > its<br>>> > position in the rendred page. Example, the tab <P> will be rendered at<br>>> > position row (15 pixels) and columns row (20 pixels). Is it possible<br> >> with<br>>> > JRex?<br>>> > Thx.<br>>> ><br>>><br>>> I want to do this too! I have a suggestion: take a look at this project:<br>>> WebCoords<br>>> It may be "weak" because it calculates the positions, and CSS, javascript <br>>> and others are not considered. it's a approach, but is not good enough at<br>>> the most of the cases.<br>>> Radhouane, please contact me if you get progress! thanks<br>><br>> Hi Icaro,<br> > I have installed WebCoords, and it is running. I have remarked that<br>> WebCoords<br>> detect visual positions of only rendered text nodes, and this position is<br>> calculated from the HTML DOM tree and is not the exact pixel's position of <br>> rendered box text. WebCoords gives only relative position of text nodes to<br>> each others. I have read in the newsgroup that Gecko engine can capture<br>> the<br>> visual box of each node's DOM tree, but I don't know how can do it! <br>> If I have more information about the subject I will inform you.<br>><br>><br>><br>><br>> _______________________________________________<br>> JRex mailing list<br>> <a href="mailto:[email protected]"> [email protected]</a><br>> <a href="https://www.mozdev.org/mailman/listinfo/jrex" target="_blank">https://www.mozdev.org/mailman/listinfo/jrex</a><br>><br>><br><br></div></div><font color="#888888">--<br>View this message in context: <a href="http://www.nabble.com/Capture-Visual-Features-with-JRex-tp14152535p14986564.html" target="_blank">http://www.nabble.com/Capture-Visual-Features-with-JRex-tp14152535p14986564.html</a><br></font><div class="Ih2E3d"> Sent from the MozDev - jrex mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br><br>_______________________________________________<br></div><div><div></div><div class="Wj3C7c">JRex mailing list <br><a href="mailto:[email protected]">[email protected]</a><br><a href="https://www.mozdev.org/mailman/listinfo/jrex" target="_blank">https://www.mozdev.org/mailman/listinfo/jrex</a><br></div></div></blockquote></div><br> ------=_Part_16101_6551223.1200877060770-- --===============0191908193== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ JRex mailing list [email protected] https://www.mozdev.org/mailman/listinfo/jrex --===============0191908193==--