Page 1 of 2 12 LastLast
Results 1 to 20 of 30
  1. #1
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Rendering HTML???

    hi!!


    want to parse HTML page ??

    or

    wants the positions of objects?? which placed on web page??
    like image ,text, form, table etc....!!



    Can we do like this??



    e.g.

    Google:=URL

    http://www.google.co.in>>>>>


    and want google text position?
    textbox position ??
    search button position

    etc etc......???



    please Help????

  2. #2
    Join Date
    Dec 2011
    Posts
    6
    Rep Power
    0

    Default Re: Rendering HTML???

    i have used this one - helped me alot. has html,css,js support

    click here

    the component is called htmlpane

  3. #3
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Re: Rendering HTML???

    Thanks,


    But can you Explain with example And coding ???

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default Re: Rendering HTML???

    Did you have a look at the link that JavaCommando sent in his last post?

  5. #5
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Re: Rendering HTML???

    Yes !!
    seen that link!!
    downloaded the jar file!!!

    but i want that i doesn't understand ?
    how to use it??


    if u provide a simple code
    which gives
    url as parameter?


    and HtmlPane position will get???



  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  7. #7
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Re: Rendering HTML???

    have u understood what actually i want ???

    by rendering(using html parser jar) i get the all texts which appears on web page?

    e.g. google
    url Google


    output get Google ,google search, go, languages ,Gmail, orkut, more


    but i want the search box location (position),
    Google text location (position)

    from anywhere center ,left right ........


    want positions of contents(objects) which r present on particular web page???

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default Re: Rendering HTML???

    Honestly speaking I am not clear with what you want to know.

    My feeling is that you want to design a web page with Google search, am I correct?

  9. #9
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default Re: Rendering HTML???

    i want the search box location (position),
    How do you intend to use that information? There may be a better approach.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  10. #10
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: Rendering HTML???

    Quote Originally Posted by Eranga View Post
    Honestly speaking I am not clear with what you want to know.
    I'm getting the feeling they want someone to provide the code...

  11. #11
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Re: Rendering HTML???

    Sorry
    i don't want code??

    just want to know ?

    IS there is any way to find the component or objects position which appears on web page?

    if yes then How ??

    Not Code??


    ???

  12. #12
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: Rendering HTML???

    Since the position of an element on an HTML page is almost entirely dependent on how big the window it is a part of is, then how do you expect to find the location?
    Or, do you have a definition of "location" that might give us a better idea what it is you actually want?

  13. #13
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Re: Rendering HTML???

    So you mean to say !!!

    It's not possible at all ???



  14. #14
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default Re: Rendering HTML???

    You haven't answered the question I asked at #9. If you don't provide information, how do you expect to get help?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  15. #15
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Re: Rendering HTML???

    Quote Originally Posted by DarrylBurke View Post
    How do you intend to use that information? There may be a better approach.

    db

    Thanks for ur interest !



    whatever be the approach??


    I want the Positions of objects from particular web site (page)?

    i want to compare these position with my inputted object positions.

    with attribute

    image position of input = and web page image object position
    text position of input = and web page image object position
    form position of input = and web page image object position
    table position of input = and web page image object position

    I want the Positions of objects from particular web site (page)?

  16. #16
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: Rendering HTML???

    Please don't shout...
    Do you know how you are going to handle the problem I highlighted then?
    That is, what screen size (well, viewport size) you are targetting?
    Indeed, what browser, as different HTML can be displayed slightly differently between browsers, at least as far as position of elements in the window. This is also affected by the fonts used, which means different OSes are likely to produce different positions as well.

  17. #17
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Re: Rendering HTML???

    Don't want exact positions??


    just want positions ??

    any how???

  18. #18
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default Re: Rendering HTML???

    Quote Originally Posted by jspexception View Post
    I want the Positions of objects from particular web site (page)?

    i want to compare these position with my inputted object positions.
    Clear as mud. What's an "inputted object" ?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  19. #19
    jspexception is offline Member
    Join Date
    Jan 2012
    Posts
    27
    Rep Power
    0

    Default Re: Rendering HTML???

    Quote Originally Posted by DarrylBurke View Post
    Clear as mud. What's an "inputted object" ?

    db


    Can you give the idea

    to compute / find
    the position of objects /component

    from html page

    e.g.
    Google URL (HTML PAGE)
    ::::::Google




    Find the position

    Google text: (x=... y=... width=... height=....)


    Google Search Button : (x=... y=... width=... height=....)


    Hindi text: (x=... y=... width=... height=....)


    Gujarati: (x=... y=... width=... height=....)

  20. #20
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,014
    Rep Power
    20

    Default Re: Rendering HTML???

    Quote Originally Posted by jspexception View Post
    Don't want exact positions??


    just want positions ??

    any how???
    What on earth does that mean?
    Can you define what you mean by "position", because in your following post you ask for:
    "Google text: (x=... y=... width=... height=....)"

    Now, that says to me "exact position", because all 4 of those values are likely to change depending on the browser/OS. Not all that much stuff in an HTML page is defined with height and width, for example, and nothing in x/y coordinates. It's the browser that determines much of that.

Page 1 of 2 12 LastLast

Similar Threads

  1. Android PDF Rendering
    By iankitshah in forum Android
    Replies: 0
    Last Post: 08-17-2011, 06:18 AM
  2. rendering the html content using iText
    By felixtfelix in forum AWT / Swing
    Replies: 0
    Last Post: 11-01-2010, 02:37 PM
  3. Problem in JSP rendering
    By srkumarj2ee@gmail.com in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 09-27-2009, 02:02 AM
  4. Help with JTable rendering
    By daniel2008 in forum AWT / Swing
    Replies: 8
    Last Post: 01-18-2009, 03:51 AM
  5. JLabel Rendering
    By random4534 in forum New To Java
    Replies: 3
    Last Post: 12-16-2008, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •