nokogiri
Not sure I am using Nokogiri in Ruby correctly
My code returns this: \\\"1.12.0.1058\\\" and I am not sure if I should be stripping out the \\\" manually or what. The gsub is not stripping the characters out.[详细]
2023-04-03 14:24 分类:问答Rails 3.0 Parsing XML and Inserting into Database
I\'m new to Rails, and am trying to hook up my application to a third-party API (it does\'t have a gem or plugin for Rails).[详细]
2023-04-03 06:11 分类:问答Nokogiri HTML parsing not working
I am trying to parse some HTML with Nokogiri, but I am not getting anything back from the css or xpath methods.[详细]
2023-04-03 00:53 分类:问答How do I use xsltproc command-line tools on Heroku
In my Ruby on Rails application, I am using xsltproc command-line tools. These work on my development machine, but are not working on Heroku, the deployment platform I am using. I asked Heroku support[详细]
2023-04-02 17:23 分类:问答Screen scraping Akamai's control panel using Mechanize for Ruby - Cookies Issue
I am attempting to s开发者_如何学Gocreen scrape some data from Akamai\'s control panel, but I am having trouble while logging in to the page via mechanize for Ruby.[详细]
2023-04-02 07:53 分类:问答Modifying text inside html nodes - nokogiri
Let\'s say i have the following HTML: <ul><li>Bullet 1.</li> <li>Bullet 2.</li>[详细]
2023-04-01 09:40 分类:问答Catching XML response using Nokogiri in rails 3.0.9
I am trying to authenticate sign in process, In my sign in process if the user name & password is correct then user will login in to his dashboard but if the username & password is wrong then[详细]
2023-03-31 22:10 分类:问答Ruby fails with a bug when using nokogiri
I am in the process of getting another developer set up on my app and I\'m running into a Ruby issue that seems to be very low level. The app runs perfectly fine on my machine but not on the other dev[详细]
2023-03-31 16:12 分类:问答How do I create an outline of the HTML tag structure on the page using Nokogiri?
I am trying to create an outline of the tag structure of an HTML page using Nokogiri that I can use as an indicator whether an html page\'s content has changed.[详细]
2023-03-30 23:06 分类:问答make error when installing nokogiri gem using rvm on ruby-1.8.7-p334 [ x86_64 ]
When I try to install nokogiri gem on ruby-1.8.7-p334 [ x86_64 ] on Mac OS X 10.6, I get the following error:[详细]
2023-03-30 21:43 分类:问答