11155
(-- --)
1
Dear all,
@doc = Hpricot(open("#{RAILS_ROOT}" +
"/public/server_exe/#{list.file_path}"))
i need to add <img src = "/ScreenCapture/#{@file_name}"/> element to my
@doc hpricot instance..
Please help me... how can i add the above img src element to the @doc
hpricot instance..
Thank you
11155
(-- --)
2
Newb Newb wrote:
Dear all,
@doc = Hpricot(open("#{RAILS_ROOT}" +
"/public/server_exe/#{list.file_path}"))
i need to add <img src = "/ScreenCapture/#{@file_name}"/> element to my
@doc hpricot instance..
Please help me... how can i add the above img src element to the @doc
hpricot instance..
Thank you
Is it not possible to do so?
Colin_Law1
(Colin Law)
3
What have you tried so far to achieve this?
Have you looked at the docs for hpricot and used google?
Colin
11155
(-- --)
5
Any sample code or links since i can try with taht
Colin_Law1
(Colin Law)
6
You can find documentation at http://wiki.github.com/hpricot/hpricot/
with links to examples at
http://wiki.github.com/hpricot/hpricot/an-hpricot-showcase. I would
suggest understanding the three pages linked to under Fundamentals
there. The last has an example of adding a tag.
Colin