Gnus development mailing list
 help / color / mirror / Atom feed
* [NNRSS]: 2 Problems
@ 2004-03-02 22:09 Xavier Maillard
  2004-03-03  4:41 ` Mark A. Hershberger
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Xavier Maillard @ 2004-03-02 22:09 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2764 bytes --]

Hi,

I am trying to use Gnus as my default RSS feeds reader and
unfortunatelly it doesn't play nice with my setup.

First, one problem, the documentation says to use 'G R' to create a
nnrss group but it fails. The workaround is to use 'G m' instead and
answer to all the questions. Note that the problem is also referenced
at http://www.emacswiki.org/cgi-bin/wiki?GnusRss.

Secondly, I quite often in the train (so not connected at all) and I
think it would be cool if 1) gnus wouldn't complain if can't get the
feed 2) if I could agentize nnrss. Dunno if it is possible at all.

I have a backtrace of the last try to enter in my rss group when no
network connection was available:

,----
| Debugger entered--Lisp error: (error "Couldn't fetch http://linuxfr.org/backend-journaux.rss")
|   signal(error ("Couldn't fetch http://linuxfr.org/backend-journaux.rss"))
|   error("Couldn't fetch %s" "http://linuxfr.org/backend-journaux.rss")
|   mm-url-insert-file-contents-external("http://linuxfr.org/backend-journaux.rss")
|   mm-url-insert-file-contents("http://linuxfr.org/backend-journaux.rss")
|   byte-code("Æ\bÇÈ	$\x12\v„\x12\0ÉÊ\f\rZ\"ˆÇ\x13\x0e\x12ƒC\0Œ``}ˆË\x0e\x13!ˆebˆÌÍÇÎ#ƒ?\0ÏÐ!\x1e\x13ed|ˆÑ\x0e\x13Î\"\x16\x14))‚I\0Ë\x0e\x13!\x16\x14Ή\x16\x15\x16\x16LJ" [mm-url-timeout with-timeout-tag with-timeout-timer first mm-url-retries times run-with-timer nil with-timeout-handler message "Trying again (%s)..." mm-url-insert-file-contents re-search-forward "<meta[ 	\r\n]*http-equiv=\"Refresh\"[^>]*URL=\\([^\"]+\\)\"" t match-string 1 mm-url-insert follow-refresh url result done with-timeout-value] 5)
|   mm-url-insert("http://linuxfr.org/backend-journaux.rss")
|   nnrss-fetch("http://linuxfr.org/backend-journaux.rss")
|   nnrss-check-group("Journaux_LinuxFr" "")
|   nnrss-request-group("Journaux_LinuxFr" "" nil)
|   gnus-activate-group("nnrss:Journaux_LinuxFr" scan)
|   gnus-get-unread-articles(nil)
|   gnus-setup-news(nil nil nil)
|   byte-code("\b„\x0e\0	„\x0e\0Æ ˆ‚Q\0ÇÈ!ˆÉ\n!\x13\f„\x1e\0\rƒ!\0Ê ˆ\x0e\x1aƒ+\0ËÌÍ\"ˆËÎÏ\"ˆÐÑ\x0e^[\b#ˆÇÒ!ˆÓ ˆÔ\x0e^[!ˆÕ ˆÖ×!ˆØ ˆÇÙ!ˆÑ‡" [dont-connect did-connect gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file gnus-request-create-group "queue" (nndraft "") "drafts" (nndraft "") gnus-setup-news nil gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook gnus-agent level] 4)
|   gnus-1(nil nil nil)
|   gnus()
|   xm-switch-to-gnus()
|   call-interactively(xm-switch-to-gnus)
`----

Thank you for your answers,

zeDek
-- 
.o.  | Hacker wonderland
..o  |
ooo  | 


[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [NNRSS]: 2 Problems
  2004-03-02 22:09 [NNRSS]: 2 Problems Xavier Maillard
@ 2004-03-03  4:41 ` Mark A. Hershberger
  2004-03-03 21:38   ` Xavier Maillard
  2004-03-03  7:31 ` Xavier Maillard
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Mark A. Hershberger @ 2004-03-03  4:41 UTC (permalink / raw)


Xavier Maillard <zedek@gnu-rox.org> writes:

> First, one problem, the documentation says to use 'G R' to create a
> nnrss group but it fails. The workaround is to use 'G m' instead and
> answer to all the questions. Note that the problem is also referenced
> at http://www.emacswiki.org/cgi-bin/wiki?GnusRss.

I'm using 'G R' and it works (on 5.10.2).  I'll look at how it acts
with later versions (esp. CVS).

> Secondly, I quite often in the train (so not connected at all) and I
> think it would be cool if 1) gnus wouldn't complain if can't get the
> feed 2) if I could agentize nnrss. Dunno if it is possible at all.

I need help agentizing nnrss -- I don't know where to begin.

But you can make nnrss look at local files instead of the network for
its RSS.  To do this, put:

    (setq nnrss-use-local t)

in your .gnus file.  Now, get an empty buffer and type:

    M-x nnrss-generate-download-script RET

This will generate a script.  Before you leave for work (or whatever)
run the script and it'll download all the feeds.  You should be able
to read on the train then.

Mark.

-- 
Peace is only better than war if peace isn't hell, too.
    -- Walker Percy, "The Second Coming"




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [NNRSS]: 2 Problems
  2004-03-02 22:09 [NNRSS]: 2 Problems Xavier Maillard
  2004-03-03  4:41 ` Mark A. Hershberger
@ 2004-03-03  7:31 ` Xavier Maillard
  2004-03-03 12:10 ` mailla
  2004-03-05  6:33 ` Kai Grossjohann
  3 siblings, 0 replies; 8+ messages in thread
From: Xavier Maillard @ 2004-03-03  7:31 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

On 2 mar 2004, Xavier Maillard spake thusly:

> Hi,

Re,

> Secondly, I quite often in the train (so not connected at all) and I
> think it would be cool if 1) gnus wouldn't complain if can't get the
> feed 2) if I could agentize nnrss. Dunno if it is possible at all.

I have quickly fixed this with a kludge and now Gnus doesn't complain
anymore (at startup). The kludge used was to add a conditional test to
verify that gnus-plugged was non-nil (t) and in that case, fetching is
possible otherwise it is not. So now part 1) is fixed (at least for me).

zeDek
-- 
GNUSFR.ORG                       http://gnusfr.org/
EMACSFR.ORG                      http://emacsfr.org/
Xavier Maillard                  Tel: +33 6 68 04 64 37


[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [NNRSS]: 2 Problems
  2004-03-02 22:09 [NNRSS]: 2 Problems Xavier Maillard
  2004-03-03  4:41 ` Mark A. Hershberger
  2004-03-03  7:31 ` Xavier Maillard
@ 2004-03-03 12:10 ` mailla
  2004-03-05  6:33 ` Kai Grossjohann
  3 siblings, 0 replies; 8+ messages in thread
From: mailla @ 2004-03-03 12:10 UTC (permalink / raw)


Xavier Maillard <zedek <at> gnu-rox.org> writes:

> Secondly, I quite often in the train (so not connected at all) and I
> think it would be cool if 1) gnus wouldn't complain if can't get the
> feed 2) if I could agentize nnrss. Dunno if it is possible at all.

This can be avoided by using a ugly hack ie. only fetch when gnus-plugged is t.






^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [NNRSS]: 2 Problems
  2004-03-03  4:41 ` Mark A. Hershberger
@ 2004-03-03 21:38   ` Xavier Maillard
  0 siblings, 0 replies; 8+ messages in thread
From: Xavier Maillard @ 2004-03-03 21:38 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1396 bytes --]

On 3 mar 2004, Mark A. Hershberger verbalised:

> Xavier Maillard <zedek@gnu-rox.org> writes:
> 
> > First, one problem, the documentation says to use 'G R' to create a
> > nnrss group but it fails. The workaround is to use 'G m' instead and
> > answer to all the questions. Note that the problem is also
> > referenced at http://www.emacswiki.org/cgi-bin/wiki?GnusRss.
> 
> I'm using 'G R' and it works (on 5.10.2).  I'll look at how it acts
> with later versions (esp. CVS).

Hmm I also running No Gnus here.
 
> > Secondly, I quite often in the train (so not connected at all) and I
> > think it would be cool if 1) gnus wouldn't complain if can't get the
> > feed 2) if I could agentize nnrss. Dunno if it is possible at all.
> 
> I need help agentizing nnrss -- I don't know where to begin.

So do I ;)
 
> But you can make nnrss look at local files instead of the network for
> its RSS.  To do this, put:
> 
> (setq nnrss-use-local t)
> 
> in your .gnus file.  Now, get an empty buffer and type:
> 
> M-x nnrss-generate-download-script RET
> 
> This will generate a script.  Before you leave for work (or whatever)
> run the script and it'll download all the feeds.  You should be able
> to read on the train then.

Really nice ! Thank you.

P.S: How did get an Emacs 22 ?? 

zeDek
-- 
.o.                     | zedek (at) gnu-rox.org
..o Hacker Wonderland   | 
ooo                     | 


[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [NNRSS]: 2 Problems
  2004-03-02 22:09 [NNRSS]: 2 Problems Xavier Maillard
                   ` (2 preceding siblings ...)
  2004-03-03 12:10 ` mailla
@ 2004-03-05  6:33 ` Kai Grossjohann
  2004-03-06 15:11   ` Xavier Maillard
  3 siblings, 1 reply; 8+ messages in thread
From: Kai Grossjohann @ 2004-03-05  6:33 UTC (permalink / raw)


Xavier Maillard <zedek@gnu-rox.org> writes:

> Secondly, I quite often in the train (so not connected at all) and I
> think it would be cool if 1) gnus wouldn't complain if can't get the
> feed 2) if I could agentize nnrss. Dunno if it is possible at all.

What happens when you try to enter nnrss into the agent?  Go to the
server buffer with `^' and then agentize nnrss...

I thought that the agent was backend-agnostic.  AFAIK, the same agent
code works for nntp and nnimap, at least.

Kai




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [NNRSS]: 2 Problems
  2004-03-05  6:33 ` Kai Grossjohann
@ 2004-03-06 15:11   ` Xavier Maillard
  2004-03-10 19:28     ` [SOLVED] (was: [NNRSS]: 2 Problems) Xavier Maillard
  0 siblings, 1 reply; 8+ messages in thread
From: Xavier Maillard @ 2004-03-06 15:11 UTC (permalink / raw)


On  5 mar 2004, Kai Grossjohann wrote:

> Xavier Maillard <zedek@gnu-rox.org> writes:
> 
> > Secondly, I quite often in the train (so not connected at all) and I
> > think it would be cool if 1) gnus wouldn't complain if can't get the
> > feed 2) if I could agentize nnrss. Dunno if it is possible at all.
> 
> What happens when you try to enter nnrss into the agent?  Go to the
> server buffer with `^' and then agentize nnrss...

It just doesn't work :) I tried J a on my nnrss and then J r to just
see and I got an error message arguing the group was not managed by the
agent.

zeDek
-- 
GnusFR  (http://www.gnusfr.org)
EmacsFR (http://www.emacsfr.org)

.emacs: Because customisation is fun!





^ permalink raw reply	[flat|nested] 8+ messages in thread

* [SOLVED] (was: [NNRSS]: 2 Problems)
  2004-03-06 15:11   ` Xavier Maillard
@ 2004-03-10 19:28     ` Xavier Maillard
  0 siblings, 0 replies; 8+ messages in thread
From: Xavier Maillard @ 2004-03-10 19:28 UTC (permalink / raw)


On  6 mar 2004, Xavier Maillard wrote:

On 5 mar 2004, Kai Grossjohann wrote:
> 
> > Xavier Maillard <zedek@gnu-rox.org> writes:
> > 
> > > Secondly, I quite often in the train (so not connected at all) and
> > > I think it would be cool if 1) gnus wouldn't complain if can't get
> > > the feed 2) if I could agentize nnrss. Dunno if it is possible at
> > > all.
> > 
> > What happens when you try to enter nnrss into the agent?  Go to the
> > server buffer with `^' and then agentize nnrss...
> 
> It just doesn't work :) I tried J a on my nnrss and then J r to just
> see and I got an error message arguing the group was not managed by
> the agent.

Ok. I just didn't do anything special but now nnrss is working well
so...

Thanks


-- 
Hacker Wonderland      Xavier Maillard| "Stand Back! I'm a programmer!"
.0.                 zedek@gnu-rox.orgz|
..0                 (+33) 326 770 221 |   Webmaster, emacsfr.org
000                  PGP : 0x1E028EA5 |    Membre de l' APRIL





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-03-10 19:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-02 22:09 [NNRSS]: 2 Problems Xavier Maillard
2004-03-03  4:41 ` Mark A. Hershberger
2004-03-03 21:38   ` Xavier Maillard
2004-03-03  7:31 ` Xavier Maillard
2004-03-03 12:10 ` mailla
2004-03-05  6:33 ` Kai Grossjohann
2004-03-06 15:11   ` Xavier Maillard
2004-03-10 19:28     ` [SOLVED] (was: [NNRSS]: 2 Problems) Xavier Maillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).