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 &lt;<a href="mailto:[email protected]">
[email protected]</a>&gt; 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&#39;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&#39;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>&gt;<br>&gt; Icaro Dourado &lt;icarocd@...&gt; writes:<br>&gt;<br>&gt;&gt;<br>&gt;&gt;
<br>&gt;&gt; Radhouane wrote:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Hi every body,<br>&gt;&gt; &gt; I am new user of JRex. I want to capture box models positions of tags<br>&gt;&gt; in<br>&gt;&gt; &gt; the<br>&gt;&gt; &gt; DOM tree of arenderd web page using JRex. I mean by box models of a
<br>&gt;&gt; tag,<br>&gt;&gt; &gt; its<br>&gt;&gt; &gt; position in the rendred page. Example, the tab &lt;P&gt; will be rendered at<br>&gt;&gt; &gt; position row (15 pixels) and columns row (20 pixels). Is it possible<br>
&gt;&gt; with<br>&gt;&gt; &gt; JRex?<br>&gt;&gt; &gt; Thx.<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt; I want to do this too! I have a suggestion: take a look at this project:<br>&gt;&gt; WebCoords<br>&gt;&gt; It may be &quot;weak&quot; because it calculates the positions, and CSS, javascript
<br>&gt;&gt; and others are not considered. it&#39;s a approach, but is not good enough at<br>&gt;&gt; the most of the cases.<br>&gt;&gt; Radhouane, please contact me if you get progress! thanks<br>&gt;<br>&gt; Hi Icaro,<br>
&gt; I have installed WebCoords, and it is running. I have remarked that<br>&gt; WebCoords<br>&gt; detect visual positions of only rendered text nodes, and this position is<br>&gt; calculated from the HTML DOM tree and is not the exact pixel&#39;s position of
<br>&gt; rendered box text. WebCoords gives only relative position of text nodes to<br>&gt; each others. I have read in the newsgroup that Gecko engine can capture<br>&gt; the<br>&gt; visual box of each node&#39;s DOM tree, but I don&#39;t know how can do it!
<br>&gt; If I have more information about the subject I will inform you.<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; JRex mailing list<br>&gt; <a href="mailto:[email protected]">
[email protected]</a><br>&gt; <a href="https://www.mozdev.org/mailman/listinfo/jrex" target="_blank">https://www.mozdev.org/mailman/listinfo/jrex</a><br>&gt;<br>&gt;<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==--