similar to: del.icio.us links in the layout - HELP

Displaying 20 results from an estimated 1000 matches similar to: "del.icio.us links in the layout - HELP"

2006 Jul 18
9
Simple Array Issue - HELP
Ok, I am interfacing with the del.icio.us API and I want to collect the links in an @instance variable for my view. But I''m having trouble with that part. Here''s what I have: def get_authenticated(path, http) request = Net::HTTP::Get.new(path) request.basic_auth ''user'', ''pass'' response = http.request(request) response.value response.body end
2006 Jan 23
2
del.icio.us-like output
I''m trying to build a page similar to a delicious page that is a listing of your bookmarks in this format: 1. Querying serialized data in ActiveRecord<http://www.karmiccoding.com/articles/2005/11/29/querying-serialized-data-in-activerecord> Hack to search serialized fields to rails <http://del.icio.us/djsodom/rails> ... and 4 other
2006 Jul 09
3
Automatically post del.icio.us to Typo
Hello, Does anybody know how to make the following tutorial work on Typo? http://theory.isthereason.com/?p=499 Thanks! Jonas -- Posted via http://www.ruby-forum.com/.
2006 Aug 17
1
del.icio.us api - repeating in my layout??? HELP!
I''m pulling in my most recent 6 entries from my delicious account based on a certain tag. This was working fine for about a week - I just visited my site, and each time I visit, it keeps adding the same 6 bookmarks below the current 6. So, everytime you navigate throughout the site, it adds 6 bookmarks to the last (but it''s the same list over and over). I have a function
2006 Nov 04
0
looking for a del.icio.us like function
hey all, I use tags in my page and I have a page with a list of tags. I would like that when the user click on a tag in the list of tags, the tag gets displayed in a text box and when the user click back on that same tag it disappear from the text box. any idea how to do that? thanx in advance Pat
2006 Jul 19
3
Trouble with links in the layout - Help
I''m trying to get my del.icio.us links to appear in the layout, so it''s throughout the entire application. I have the interface to the API working, I just don''t know where to put the code (in what controller?) and layout to be application wide. I tried putting the code in "application.rb" and then the view stuff in "application.rhtml" but that
2007 Oct 05
3
basic_auth problem since 0.6.9
I have a site that I don''t think "returns" a basic_auth request, but is able to use basic_auth. In the past on 0.6.8, I could use the following code: require ''rubygems'' # gem ''mechanize'', ''=0.6.8'' require ''mechanize'' agent = WWW::Mechanize.new agent.basic_auth("username", "password")
2007 Jul 12
3
Basic_auth questions
How do you make get the page when using basic_auth? Below is code, I am getting a 401 error. I am not sure if the basic _auth comes before the agent.get. I will appreciate any help. require ''mechanize'' require ''logger'' agent = WWW::Mechanize.new {|a| a.log = Logger.new(STDERR) } page = agent.get(''https://brewx.qualcomm.com/developer'' )
2009 Apr 22
5
Connection reset by peer (Errno::ECONNRESET)
Hi, I''m a new bee to Ruby and I''m trying to parse the html content from a website using net/http. All urls work fine except for "https://www.google.com/accounts/AuthSubRequest?scope=http%3A%2%2Fwww.google.com%2Fcalendar%2Ffeeds%2F&session=0&secure=0&next=http%3A%2F%2Fwww.google.com". When I try to access this url I get an error like this :
2007 Jul 02
6
Basic auth bug in 0.6.9
I haven''t spent the time to get a proper test case for this yet, but there appears to be a bug in the basic_auth code for mechanize 0.6.9. I''ve attached a CSV (from Charles) that illustrates the problem. Basically when running with basic_auth, there''s a failed request that''s followed up by a successful request. That last POST is a agent.submit(form)
2006 Apr 06
2
OpenSSL: SSL_CTX_new:: library has no ciphers
I''m trying to do a basic get or post operation using Net::HTTP in SSL mode. I''m on TextDrive, which runs ruby 1.8.2; however, I have the /net folder from ruby 1.8.4 in my /lib to support net/https, which doesn''t appear to be present in 1.8.2. http = Net::HTTP.new "www.beanstream.com", 443 http.use_ssl = true http.start {
2006 Jul 21
3
Interface with Flickr
Does anyone know how to get going with the flickr api WITHOUT using the ''flickr.rb'' gem? I''m wanting to just use the REXML and ''net/http'' stuff. I''m just wondering how to send requests to the api and handle the response. Any tips would be great! Thanks! -- Posted via http://www.ruby-forum.com/.
2007 Aug 06
3
authentication question
Hi all Is there another gem to "manage" logins beyound Equipment (basic login/security) to use under Camping? I have already readed the basic_auth.rb and security.rb but is there some app I can see it working as an example?! Thanks in advance Francisco PS: keep the great job with Camping :)
2006 May 08
4
<%= text_field %> - how to set the value to session name?
I''m trying to automatically fill a "posted_by" text by with whoever is logged into the session. How do you set the value attribute using "<%= text_field ... %>"??? I''ve tried: <%= text_field ''post'', ''posted_by'', ''value'' => User.find(session[:user_id]).name.capitalize) %> But I get
2005 Sep 16
4
Autocompleter handling multiple completes
Has anyone extended the Autocompleter to do multiple auto-completes in a single input field? I''m looking to achieve similar functionality to the del.icio.us <http://del.icio.us> post page which allows multiple auto-completes of tag names in the tags input field. cheers, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 14
5
Dreamhost Database problems
I''m working on uploading my site to dreamhost. I just setup my production database, and gave it a host name. It said that it was successfully created. Now, it''s been like 25 minutes, and I still can''t connect to it. Is that normal? How can I get my tables created? Just wait it out? I''m trying to load it in the browser, and it says "server not
2010 Dec 24
0
Getting Google Image search to work within Rails
Hi, I''m getting this strange behavior when I try to run search for images using Google Images API. I suspect it''s because of my code and not the API itself, here''s what I wrote: uri = URI.parse("https://ajax.googleapis.com/") http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true path =
2006 Jul 19
3
undefined method `use_ssl='' for #<Net::HTTP
hi all, #---------------------- client = XMLRPC::Client.new("localhost", path, 443, nil, nil, nil, nil, true, 30) #---------------------- when i run it, throw a exception: undefined method `use_ssl='' for #<Net::HTTP localhost:443 open=false> my box is centOS, but it''s works on another box, seems related ruby environment, any one can give me a hint. all
2006 Mar 29
7
Dreamhost upgraded 1.1 - app doesn''t work
Does anyone know how long it will be until Dreamhost get''s the Rails 1.1 install running correctly? My site has been down since last night at about 7:00 pm (I think). It''s annoying, and are a lot of others having this problem too? Thanks. -- Posted via http://www.ruby-forum.com/.
2017 Jan 21
2
mail-trends+Dovecot
Hi, Out of curiosity, has anyone managed to use mail-trends[0] to analyse their e-mails. I thought about trying it out, but got stuck midstream. The mail-trends scripts work very well with gmail, but because they say it is supposed to work with _any_ IMAP server, I thought I could get it running with Dovecot too. I know this is NOT a mail-trends support group though, but I believe there is