search for: mehryar

Displaying 2 results from an estimated 2 matches for "mehryar".

Did you mean: mehran
2006 Feb 18
2
Extracting URL and text from HTML?
For an application I am working on I have to extract URLs and the text used to link. For example, ..... <a href="http://www.rubyonrails.org" title="rails" >Ruby on Rails</a>.... I have been trying all night but cannot come up with the regular expression needed to extract the URLs and the text. I have tried:
2006 Feb 18
0
activerecord connections with xmlrpc
...prog.com/cgi-bin/pragdave.cgi/Tech/Ruby/Connections.rdoc but again being a newbie to ruby/rails, my gymnastics with trying to put the ActiveRecord::Base.establish_connection() / ActiveRecord.connection() method in and out of various wrapper classes/class variables didn''t pan out. thanks, -Mehryar