Displaying 5 results from an estimated 5 matches for "include_hosts".
2008 Dec 10
12
image_tag cannot show picture
Dear all
I am new to rails.
In view, I place the following code, but cannot show the picture in the
webpage
<%= image_tag("green.JPG") %>
However, I can access the picture in this url
http://localhost:3000/images/green.JPG
The HTML source code generated
<img alt="Green" src="/images/green.JPG.?1228211220" />
I cannot identify the problem. Please help
2006 Jul 25
1
RDig document processing error
Hi all,
Am having problems using RDig:
With this rdig config...
cfg.crawler.start_urls = [''http://www.defensetech.org'']
cfg.crawler.include_hosts = [''www.defensetech.org'']
cfg.index.path = ''/my/path/to/index''
cfg.verbose = true
...I get this output:
$ rdig -c config/rdig_config.rb
/usr/local/lib/site_ruby/1.8/ferret/index/term.rb:45: warning: method
redefined; discarding old text=
/usr/local/lib/site_ru...
2007 Dec 01
3
Rails 2 problem with compute_public_path
I''m trying to migrate to Rails 2, but keep getting these errors all
over the place:
ActionView::TemplateError: wrong number of arguments (2 for 3)
On line #61 of users/new.rhtml
58: <% if @captcha_error -%><div class="fieldWithErrors"><
% end -%>
59: <table class="signup"><tr>
60: <td
2007 Sep 18
4
basic rdig setup
...-c
config/rdig_config.rb
Both machines have an index dir at the rails root that has two files,
segments and segments_0. Both files look like they have next to nothing
in them.
Both rdig_config.rb files look like:
cfg.crawler.start_urls = [ ''http://domain.tpl/'' ]
cfg.crawler.include_hosts = [ ''domain.tpl/'' ]
cfg.index.path = ''./rdig_index''
cfg.verbose = true
cfg.content_extraction = OpenStruct.new(
:hpricot => OpenStruct.new(
:title_tag_selector => ''title'',
:content_tag_selector => '...
2007 Jan 23
3
Someone getting RDig work for Linux?
...ts/'' ]
# beware, mixing file and http crawling is not possible and might
result in
# unpredictable results.
# limit the crawl to these hosts. The crawler will never
# follow any links pointing to hosts other than those given here.
# ignored for file system crawling
cfg.crawler.include_hosts = [ ''www.example.com'' ]
# this is the path where the index will be stored
# caution, existing contents of this directory will be deleted!
cfg.index.path = ''/home/myaccount/index''
##################################################################...