Displaying 20 results from an estimated 1000 matches similar to: "access to webpage code"
2007 Aug 01
4
Extracting a website text content using R
Dear useR,
Just wandering whether it is possible that there is any function in R could
let me get the text contents for a certain website.
Thanks a lot!
Best,
Leon
[[alternative HTML version deleted]]
2008 Oct 03
2
cannot open connection: Authorization Required
Hi, All:
Is there a way in R to access a file / web site that requires
permission?
Consider for example the following:
> readLines('http://www.r-project.org/', 4)
[1] "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">"
[2] "<html>"
[3]
2006 May 01
3
using HTML frames with rails
Hi:
I''m trying to get a page setup with the left side having a collapsable
javascript menu (built from the database) and the right side having more
data about each node in the tree... very standard actually.
I figured frames would be a good way to go, because as the tree expands
as the user dives further in, the frame will add scroll bars without
disrupting the left hand side.
The
2006 Jun 06
5
Rails and Framesets
I''d like to use a frameset to separate the content in an app I''m playing
with into 3 separate panes. A 1/3 page width left pane will be for
general navigation, (so rarely needs reloading). The main content
separates into a top and bottom pane, (with the top pane being set by
the nav pane, and the bottom pane being set by the top pane).
Unfortunately, I''m new to
2006 Nov 07
5
mechanize: 400 Bad Request
Hello,
when trying to access a certain HTML-frame, I get:
"in `request'': Unhandled response (WWW::Mechanize::ResponseCodeError)"
and the page returns: "400 Bad Request"
* Why?
* How to solve this?
With browser, it works.
In the logs below, I marked 4 lines with "***", where I see possible
differences in the URI. But I don''t know, if this is
2006 Mar 17
2
Favicon.ico doesn''t show in IE 6
Hello All,
I put favicon.ico under "public" folder. Also, I put a copy into
"public/images". And I put these 2 lines in my layout file:
<link rel="icon" href="images/favicon.ico" type="image/ico" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/ico"
/>
It works fine in
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET
192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET
/favicon.ico HTTP/1.1" 200 60
- -> /favicon.ico
What does /favicon.ico (which doesnt seem to exist in my source) do for
Rails?
_______________________________________________
Rails mailing list
2006 Mar 04
6
Favicon?
I''m sure I''m missing something rudimentary here...
I seem to be having difficulty getting my favicon to appear. I have my
favicon.ico in the public folder. I''ve configured my route.rb to route
the intro page to my "home" controller. I''m using application.rb in my
views to template the headers and footers.
Here is the tag in my <head> in the
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring..
uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2009 Aug 28
4
favicon.ico and robots.txt
Hello,
I'm running an apache 2.2 webserver on centos 5.3. I'm seeing
frequent requests for robots.txt and favicon.ico from the logs those files
should be in the document root area. What are these files, is this something
the rpm installs, or do i have to retrieve or generate them?
Thanks.
Dave.
2006 May 18
0
Documentation for the plugins you use
I wanted a concise way to see the rdocs for all the plugins I use in my
project. I threw together a quick program to generate it for me, and I
thought you guys might be interested. It creates a plugins.html in your
application''s root directory, with links to rdoc that it generates in
each plugin''s own directory. I just added a frame to the rdoc-generated
index.html in my
2007 Jan 17
8
can i force a favicon.ico ?
lo there all,
i am running two websites on one server. Both use the same code and both
domains point to the same public folder. I use different logos by using
a session variable called session[:domain] that i find with
env_table[''HTTP_HOST'']
so anyway, both need a different icon to go in the bookmarks and url, i
know this is done with a favicon.ico, but can i force the server
2005 Nov 22
1
What? - 500 unless class Cart included
I have been struggling with a problem for a while, and now have a
workaround, but I want to understand if something is borked in my
config or if this is a bug.
Setup: Mac OS X 10.4.3; Ruby 1.8.2; Rails 0.14.3
Problem: When I create a brand new project, I get an HTTP 500 status.
If I add a Cart model, the 500 goes away:
$ rails test
create
create app/controllers
[etc]
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2006 Jan 23
1
favicon.ico placement
<link rel="shortcut icon" href="/public/favicon.ico" >
This causes a routing error, and the icon doesn''t load. Should I add
something to my routes.rb file, or should I change the href in the above
link?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 22
2
Using ez_where
Hi All,
I am trying to pass values to ez_where to construct my conditions. I
need
to know how the params need to be formated for ez_where.
My search class looks like this:
def search
@display_ad = DisplayAd.new(params[:display_ad])
cond = Caboose::EZ::Condition.new do
pub_date == ''@display_ad.pub_date''
io_number =~
2010 Feb 15
2
aging of translations
Following up from the last thread : This is what the present page counts
of translations are :
fr 19
en 1089
zh 407
de 7
zg 1
es 116
so, just taking a sample of 'es', here is what we get:
[kbsingh at zafarnama bhashet]$ ./age_test | grep '^es(2' | head -4
es/About is 119 days older than About
es/AdditionalResources looks about as old as AdditionalResources
2011 Jan 07
5
Deployment issues
Hello,
For those of you who have solved the learning hurdle of rails deployment,
all I can say is congratulations! I''m struggling, frustrated that my app,
which runs so well on my linux box, generates such odd errors on my vps and
completely fails to do anything. For example, at the moment my
production.log file has the error:
ActionController::RoutingError (No route matches
2006 Mar 16
2
WEBrick and OS X 10.4.5 problems?
Has anyone who is running OS X 10.4.5 and the security patches
thereafter noticed that WEBrick is no longer functioning? I have a
machine at school that I believe to be patched with 10.4.5 but not
with the latest security patch and WEBrick seems to run fine for it.
However, on my machine at home I can''t get WEBrick to successfully
run even freshly generated apps.
For both
2011 Apr 23
2
Extract ip address from a kvm guest
Hi all,
Somebody knows how can I extract/know an ip address used by a kvm
guest using a script?? For example I have the following guests:
[root at kvmsrv01 bin]# virsh list --all
Id Name State
----------------------------------
1 linclunode01 running
2 linmgmt running
5 win7desktop running
I know that linclunode01 has 172.25.50.1 as