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].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to