Recent Posts by pftg

Subscribe to Recent Posts by pftg 23 posts found

Feb 1, 2008
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / scRUBYt wont install

Please remove last RubyInline and install only RubyInline 3.6.3.

 
Jan 17, 2008
Avatar pftg 23 posts

Topic: Usage HOWTOs / Scrape page titel

Maybe this should be like this:

Scrubyt:Extratcor.define do
   fetch 'url'
   title '//head/title'
end
 
Jan 15, 2008
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / exception when running jScrubyt on Vista

Yes, You have done correct. But I still have not repaired export function. This exception appear when you use it

 
Jan 14, 2008
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / exception when running jScrubyt on Vista

try to use jruby-1.0.3

 
Jan 12, 2008
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / gem install not working

Use gem -JXmx512 install hpricot

 
Nov 27, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / JscRUBYt! - MORE win32 problems!!!

Sometimes I got a such exception, when my connection were very slow.

 
Nov 22, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / Export extractor error on JRuby WinXP

I’ve found problem in JParseTree. I will try to fix it and inform JParseTree development team about it.

 
Nov 21, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / Export extractor error on JRuby WinXP

I will review it.

 
Nov 16, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / jruby install problems?

Can you post example of your code.

 
Nov 9, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / scRUBYt! in WinXP?

ParseTreeReloaded is a library for improving perfomance to work with package ParseTree. If you want replace C code with ruby, so all have been done before.

 
Oct 31, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / scrubyt for jruby

Jayp, you have not used jscrubyt, because jscrubyt have not dependencies to RubyInline. May be you install scrubyt from rubyforge and use it in your code, therefore you catch exception.

And one more, all yours problems is in bad installed jruby, not in jscrubyt installation.

 
Oct 18, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / Anyone willing to walk me thru install on Windowsxp?

If you have some problems with installation jscrubyt, please send me email with detailed problem.

 
Oct 18, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / Anyone willing to walk me thru install on Windowsxp?

I’ve sent to you mail with clarification.

 
Aug 27, 2007
Avatar pftg 23 posts

Topic: Usage HOWTOs / XPath - manually set type for this

Scrubber please add support for manual switch on the type of node which indicate that expression is XPath. This is very useful (if you are not using your intelligence api) and solve problem with parent node. I think this similar for your :type=>:tree, but it cannot determine example type.

 
Aug 27, 2007
Avatar pftg 23 posts

Topic: Usage HOWTOs / Windows support - JRuby portage

I have portaged scrubyt from ruby to jruby, so it’s status have became as os independent.

 
Aug 21, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / the pricegrabber.com scraping code doesn't work

I have same problem. I solve this with type :generalize=>false or in scrubyt code add patch.

 
Aug 10, 2007
Avatar pftg 23 posts

Topic: Usage HOWTOs / Customize result xml

How can I generate more common xml result for two sites with similar data? Now, for those sites, where data placement is differ, we have different extracted xml. For me better if I can manually put xml elements. I want to skip xml post processing.

With best regards to author.

 
Aug 10, 2007
Avatar pftg 23 posts

Topic: Usage HOWTOs / XPath Parent

But, you have an error. Your parser use only when path starting with ’/asd’ but this path not recognized: ’/../’

 
Aug 6, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / Regexp problems

When I start this script (scrubyt = 0.3.0, ruby=1.8.5):
require ‘scrubyt’

planet_ror_com_data = Scrubyt::Extractor.define do
fetch(“http://www.planetrubyonrails.com/pages/channels”)
link(/.* /, { :type => :regexp })
end

I catch exception, that Regex cannot cast to String in operation =~. But in all your posts I have seen some seems things. But when I go to pattern.rb I found this lines in constructor:
if @options[:generalize].nil?
@options[:generalize] = true if parent.nil?
@options[:generalize] = false if filters[ 0 ].example =
/.\[[a-zA-Z].\]$/
end

And those lines throw exception.

 
Jun 22, 2007
Avatar pftg 23 posts

Topic: Usage HOWTOs / Need help to scrub webshop

Some times when you set good xpath, parser cannot find tag. May be this is it.

 
Jun 2, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / possible check_checkbox bug

Cool this somethig that I post.

 
Jun 2, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / Bug in filling controll's value with similar names

If you want example then url is http://buker.ru/index.php?option=com_content&task=matches&Itemid=37

 
Jun 2, 2007
Avatar pftg 23 posts

Topic: Problems, Suggestions, Bugs and Other Insects / Bug in filling controll's value with similar names

When I want to check checkboxes with names “some_name[]” (this is usual method for retrive array in PHP), I have only first checkbox checked. but this no good. As user I want to choice what do I want: or check one of them or checks all at once.