Since it is a relative path to the server, it is trying to access javascript files in your server.
So you need to download all the javascript files which the html refer to and place it to the relative path in your server. On 11 June 2010 17:23, Vuong Hung <[email protected]> wrote: > Amala Singh wrote: > > aha. I checked it. > > I did this: > > doc = Nokogiri::HTML(open("http://priceonline.hsc.com.vn").read) > > my_file = File.new("abc.html", "w") > > my_file.puts doc.inner_html > > my_file.close > > > > And compared the abc.html with the website, abc.html was the very same > > as > > the website. > > > > Thanks a lot Amala Singh! > But I don't understand your comment this: > You guide to clearly. > > > I think it is something to with relative Javascript/Ajax stuff. Source > > is > > not showing the complete path. > > Some code here: > > <script src="JS/Ajax.js > > <view-source:http://priceonline.hsc.com.vn/JS/Ajax.js>" > > type="text/javascript"></script> > > What's it mean? What does it do? where can i put it? > Thanks for your rely. > > > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- -- Nandri(Thanks in Tamil), Amala Singh -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

