From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61028 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Fetching by MID: wget vs. curl (was: Support fuer das neue groups.google.com) Date: Tue, 27 Sep 2005 20:36:45 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <1127812382.193127.245610@o13g2000cwo.googlegroups.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1127847064 6680 80.91.229.2 (27 Sep 2005 18:51:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2005 18:51:04 +0000 (UTC) Original-X-From: ding-owner+m9560@lists.math.uh.edu Tue Sep 27 20:51:03 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EKKUw-0002Kq-Ld for ding-account@gmane.org; Tue, 27 Sep 2005 20:48:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EKKUn-00034b-00; Tue, 27 Sep 2005 13:48:05 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EKKQa-00034T-00 for ding@lists.math.uh.edu; Tue, 27 Sep 2005 13:43:44 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EKKQT-0005bM-8F for ding@lists.math.uh.edu; Tue, 27 Sep 2005 13:43:44 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EKKQR-0003AE-00 for ; Tue, 27 Sep 2005 20:43:35 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EKKOS-0006mU-ND for ding@gnus.org; Tue, 27 Sep 2005 20:41:33 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2005 20:41:32 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2005 20:41:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 90 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 [ Redirecting this from de.comm.software.gnus to ding. See http://www.google.de/groups?as_umsgid=m2hdc64h9e.fsf@seki.fr&hl=en for the rest of the thread. ] On Tue, Sep 27 2005, Sébastien Kirche wrote: [ Summary: Fetching an article by MID doesn't work for Sébastien when using curl or the internal url.el ] > It does not work here, possibly due to a 302 http redirection (document > has moved) from the Google server. > > I tried to fetch a post from fr.comp.applications.emacs dated from Wed, > 21 Apr 2004 01:29:01 +0200 > > (MID: ) that one can see it is available > From the google advanced search form. With wget, it works for me: (setq ;; for testing: gnus-refer-article-method '((nnweb "google" (nnweb-type google))) ;; Use wget instead of url.el (for nnweb-type google), seems to work more ;; reliable. mm-url-use-external t mm-url-program 'wget) ,---- | From: Xavier Maillard | Subject: Re: un mode pour maintenir un dictionnaire/index/repertoire ? | Newsgroups: fr.comp.applications.emacs | Date: Wed, 21 Apr 2004 01:29:01 +0200 | Message-ID: `---- > Here are some of my settings : > ,----[ C-h v gnus-refer-article-method RET ] > | gnus-refer-article-method is a variable defined in `gnus'. > | Its value is > | (current > | (nntp "news.gmane.org") > | (nnweb "google" > | (nnweb-type google))) > `---- [...] > ,----[ C-h v mm-url-program RET ] > | mm-url-program is a variable defined in `mm-url'. > | Its value is "curl" > `---- > > ,----[ C-h v mm-url-arguments RET ] > | mm-url-arguments is a variable defined in `mm-url'. > | Its value is ("--silent") > `---- [...] > I wonder if it could be a trick from google to prevent external queries ? On the command line, I also get the redirection when using curl, even when faking the User-Agent like mm-url does with wget: $ mid='plop87isfu1b5u.fsf@gnu-rox.org' $ curl --silent --user-agent mm-url \ "http://www.google.com/groups?as_umsgid=$mid&hl=en&dmode=source" With wget, everything is okay: $ wget --user-agent=mm-url -q -O - \ "http://www.google.com/groups?as_umsgid=$mid&hl=en&dmode=source" I don't know what makes the difference between wget and curl. [ order of quoting changed ] > Erf. Gmane seems to be broken to let me post into > gmane.emacs.gnus.general. I can read but not post. Although it is ok for > several other mailing lists. And i have already subscribed to the > list... You need a valid email address for Gmane and confirm the query. I have successfully posted some messages to ding via news.gmane.org today (and I'm not even subscribed to ding). See also the Gmane FAQ. If all else fails, ask on gmane.discuss. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/