Displaying 20 results from an estimated 2000 matches similar to: "Rubyful-soup and ''malformed utf-8 character''"
2006 Mar 22
2
Successfully importing Rubyful Soup objects
All,
At the top of my controller, I have:
require ''rubygems''
require_gem ''rubyful_soup''
The rubyful_soup gem has been successfully installed.
However, when I go to instantiate a class from it, using
parser = BeautifulSoup.new(html)
I get
uninitialized constant BeautifulSoup
Is there something else I need to do to see the symbols in the Rubyful
Soup gem?
2006 Jan 10
1
OT: Scraper library recommendation
Hi all,
this is quite off-topic, but I''m sure a lot of people here has experience
in the area, so...
I''m writing a website scraper script that needs to download a web page,
traverse the (X)HTML tree and finally insert data and HTML pieces into
a DB. Eventually this data will be served up as RSS and/or Atom.
I''m currently using html/tree (htmltools); I''ve also
2007 May 11
0
The Soup - new rails community resource
Greetings all,
I am pleased to announced The Soup - http://the-soup.net/ - a tasty
new resource for the Rails Community.
About
Are you a Talented person that is looking for new and interesting
projects to work on? Are you a Project Sponsor that is looking to
build quality relationships in anticipation of your next hiring cycle?
Inspired by the story of The Stone Soup, The Soup provides a
2007 Jan 23
3
Someone getting RDig work for Linux?
I got this
root at linux:~# rdig -c configfile
RDig version 0.3.4
using Ferret 0.10.14
added url file:///home/myaccount/documents/
waiting for threads to finish...
root at linux:~# rdig -c configfile -q "Ruby"
RDig version 0.3.4
using Ferret 0.10.14
executing query >Ruby<
Query:
total results: 0
root at linux:~#
my configfile
I changed from config to cfg, because of maybe
2006 May 27
5
Rails without cookies
Why does rails keep installing cookies on users machines, even if I am
not ussing th session variable for anything?
How do I stop this?
Thanks, Scott
--
Easily help charity when you shop: www.GiveTeam.org
I''m a member of the Give Team, are you?
2008 Feb 27
0
Do you need a place to stay? Food to eat? 4000+ Shelters and soup kitchens in all 50 states:
Do you need a place to stay? Food to eat? 4000+ Shelters and soup
kitchens in all 50 states:
http://groups.google.com/group/homeless_shelters?hl=en
--~--~---------~--~----~------------~-------~--~----~
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
2010 Sep 17
1
odfWeave UTF-8 error and latin characters
Hello R masters,
I have sent this same message to other lists and none so far could give some
light. I was trying to use odfWeave to generate a report from R and Im
getting an error that I think is related to latin characters. I looked
around and did find some stuff related to this problem about Sweave
http://labmoluscos.wordpress.com/2010/02/18/sweave-latex-character-encoding/
but
did not find a
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All,
Rails 1.1.2
Win XP Pro
Rubyful Soup 1.0.4
htmltools 1.0.9
I am terribly confused as to what pulling in a gem does with respect to
how many modules get loaded at runtime.
I am using two gems in my app, Rubyful Soup and htmltools.
RubyfulSoup requires one module from the htmltools gem
(html/sgml-parser).
My app requires the RubyfulSoup gem.
When I started my app, something was causing
2006 Jun 01
3
New rails site: AJAX Webbrowser
Heres my Ruby on Rails webbrowser:
https://palary.org
Sorry, but I just couldn''t resist.
Cheers,
Scott
2007 Mar 18
6
[LLVMdev] Google SOC - Idea
Hi,
I noticed that LLVM had signed up as a mentoring organization for
Google's summer of code. LLVM looks like an exciting project that
overlaps some of my interests.
I would be interested in developing an additional front end for a
language it does not currently support (I'm open to what language). I
do not know much about what this entails in regards to what LLVM
requires from its
2006 Apr 01
2
RadRails KeyBindings
Hi,
I''m new to this whole Rails thing but like what I see.
Anyways probably stupid question: I was wondering if anyone knew where
I could get a list of RadRails key bindings and shortcuts, I can''t
seem to find it anywhere in the application or on the ''net.
Thanks a lot,
Scott
2006 Apr 12
1
How best to handle non-serializable session data?
I have a piece of data that needs to persist across requests that is not
serializable. It''s a Rubyful soup parse tree and it''s very expensive to
instantiate and I need it for a while in my app.
Therefore, by default, it can''t be stored in the session since the
default session storage mechanism is pstore.
One option I have to is change the session storage mechanism
2007 Mar 19
5
[LLVMdev] Google SOC - Idea
Getting the front end for Fortran finished is definitely something I
would be interested in working on. I will draft up a little proposal
and send it out to this list.
-Scott
On 3/19/07, Kenneth Hoste <kenneth.hoste at ugent.be> wrote:
> Hi Scott,
>
> On 18 Mar 2007, at 04:22, Scott Fortmann-Roe wrote:
>
> > Hi,
> >
> > I noticed that LLVM had signed up as a
2007 Mar 20
0
[LLVMdev] Google SOC - Idea
Hi,
Here is a rough draft of the application -- a FORTRAN front-end to
LLVM. In accordance with the summer of code specifications it is split
into two portions: the abstract which describes the project, and the
details description which describes me and how I plan to complete the
project.
It's a little long, (but about half the max length the application
directions specify). Would someone be
2006 Jul 31
7
Problem with routes when I move the app to a different machine
Hi all:
I have an application that runs great on my macbook pro, however, when
I move the app to the production linux box, all routes fail except for
the one I set up as the default:
map.connect '':controller/:action/:id'', :controller => "Employee",
:action => "status"
I made sure the shebang line in dispatch.* was set to be OS
independent
2006 May 31
1
Lighttpd: HTTP and HTTPS Simultaneously
Hi is it possible to configure lighttpd to serve pages for http and
https requests simultaneously? I would like users to be able to access
my site securely or non-securely where the choice is theirs.
The only instructions I can find to do this involve creating two
copies of the lighttpd application
(http://wiki.archlinux.org/index.php/Lighttpd_For_Both_SSL_And_Non-SSL).
Is there any way to do it
2011 Jun 18
1
Applying function to all elements of a formula
Hi,
I would like to do a regression like:
reg <- lm(y~log(.), data)
where the log function is applied to "." in the form:
log(x1)+ log(x2)+ log(x3)...
instead of in the form
log(x1+x2+x3+...)
Is this possible?
Thank you,
Scott
[[alternative HTML version deleted]]
2008 Jul 17
3
Convert data to utf-8
Hello, I''m trying to find a solution to convert everything returned by
mechanize to utf-8, no matter if the original page is utf-8 or iso and I
really don''t know where to start from...
agent = WWW::Mechanize.new { |a| a.log =
Logger.new(File::join(RAILS_ROOT, "log/mechanize.log")) }
one_page = agent.get("www.google.fr")
My first problem is that one_page
2007 May 14
0
(no subject)
Greetings,
I am seeing the following in my log quite a bit 20 + times per day.
The stack-trace seems tin indicate an internal issue - is concurrency
related?
== 0.2.1 (Released November 28, 2006 - r162)
My workers continue to function; on the next iteration I believe.
Any thoughts are appreciated.
cheers,
Jodi
allow_concurrency=true
Scheduler.run failure: undefined method
2006 May 16
3
Best way to handle namespace collisions?
All,
I have a little namespace collision here. I am trying to use both
RubyfulSoup (an HTML parser - which I highly recommend by the way) and
the ActionView::Helpers::TextHelper class. Within the TextHelper class,
there''s an attempt to create a new "Tag" object. However, Tag is also
defined in the RubyfulSoup gem and it is _this_ Tag class whose
initialize method is