Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* getting rss content
@ 2007-06-28 22:39 Bar Shirtcliff
  2007-06-29  1:33 ` Katsumi Yamaoka
  2007-06-29  4:23 ` Bar Shirtcliff
  0 siblings, 2 replies; 8+ messages in thread
From: Bar Shirtcliff @ 2007-06-28 22:39 UTC (permalink / raw)
  To: info-gnus-english

Hi hi hi

I'm new to gnus, and I've noticed that the wonderful RSS feeds that I
was anticipating reading with gnus--have no content, just links to
webpages, which pretty much defeats the purpose.

I'm wondering if anyone has written some kind of fix for this--i.e. a
small script to follow that link for you when you look at a feed item,
and puts the content into the buffer as if it were the official feed.
If no one has done it, I can do it and will, but I'd rather not have
to, for obvious reasons (I don't actually have all day to blow on
gnus). 

The actual usenet news groups...  it seems like they're heavily
spammed, which is a bummer.

Cheers,
Bar

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

* Re: getting rss content
  2007-06-28 22:39 getting rss content Bar Shirtcliff
@ 2007-06-29  1:33 ` Katsumi Yamaoka
  2007-06-29  2:45   ` Katsumi Yamaoka
  2007-06-29  4:23 ` Bar Shirtcliff
  1 sibling, 1 reply; 8+ messages in thread
From: Katsumi Yamaoka @ 2007-06-29  1:33 UTC (permalink / raw)
  To: info-gnus-english

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

>>>>> In <m2d4zfk8jn.fsf@spamgourmet.com> Bar Shirtcliff wrote:

> I'm new to gnus, and I've noticed that the wonderful RSS feeds that I
> was anticipating reading with gnus--have no content, just links to
> webpages, which pretty much defeats the purpose.

> I'm wondering if anyone has written some kind of fix for this--i.e. a
> small script to follow that link for you when you look at a feed item,
> and puts the content into the buffer as if it were the official feed.
> If no one has done it, I can do it and will, but I'd rather not have
> to, for obvious reasons (I don't actually have all day to blow on
> gnus).

> The actual usenet news groups...  it seems like they're heavily
> spammed, which is a bummer.

What is the value of the `mm-text-html-renderer' variable you use?
If it is `w3m', here's a quick hack that I made right now:


[-- Attachment #2: Type: application/emacs-lisp, Size: 804 bytes --]

[-- Attachment #3: Type: text/plain, Size: 209 bytes --]


You can put it in your ~/.gnus.el file.  To disable or enable
this feature, type:

M-x ad-deactivate RET mm-inline-text-html-render-with-w3m RET
or
M-x ad-activate RET mm-inline-text-html-render-with-w3m RET

[-- Attachment #4: Type: text/plain, Size: 161 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: getting rss content
  2007-06-29  1:33 ` Katsumi Yamaoka
@ 2007-06-29  2:45   ` Katsumi Yamaoka
  2007-07-02  0:51     ` Bar Shirtcliff
  0 siblings, 1 reply; 8+ messages in thread
From: Katsumi Yamaoka @ 2007-06-29  2:45 UTC (permalink / raw)
  To: info-gnus-english

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

>>>>> In <b4mabujr1cg.fsf@jpl.org> Katsumi Yamaoka wrote:

> (defadvice mm-inline-text-html-render-with-w3m (around follow-link (handle)
> 						       activate)
>   "Follow a link in nnrss group."

I forgot to convert relative links in the html contents to
absolute ones.  Here's a revised version:


[-- Attachment #2: Type: application/emacs-lisp, Size: 1055 bytes --]

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


> You can put it in your ~/.gnus.el file.  To disable or enable
> this feature, type:

> M-x ad-deactivate RET mm-inline-text-html-render-with-w3m RET
> or
> M-x ad-activate RET mm-inline-text-html-render-with-w3m RET

[-- Attachment #4: Type: text/plain, Size: 161 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

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

* Re: getting rss content
  2007-06-28 22:39 getting rss content Bar Shirtcliff
  2007-06-29  1:33 ` Katsumi Yamaoka
@ 2007-06-29  4:23 ` Bar Shirtcliff
  2007-06-29 16:25   ` Sivaram N
  1 sibling, 1 reply; 8+ messages in thread
From: Bar Shirtcliff @ 2007-06-29  4:23 UTC (permalink / raw)
  To: info-gnus-english

`Hi again,

All right, I picked up your code (thanks so much!  I'm no elisp guru,
so that would have taken me some serious time!).  I haven't tried it
yet, but I wanted to thank you.  Unfortunately, gnus somehow, somewhy
removed your message, so that I can't respond directly All I did was
press the spacebar a few times, trying to get to the right message
(gnus key-bindings are nuts), and then poof!  all gone.  the whole
buffer was blown.  I'm so confused.

Anyway, thanks for the code, I'll put it right to work...  but there's
one more major problem.  Though I've put an rss address on my
secondry-select-methods list, gnus doesn't load it.  Every time it
starts, it asks me where to look for the feeds.  There must be a
workaround for this.  The keybindings--that I can fix.

Cheers,
Bar

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

* Re: getting rss content
  2007-06-29  4:23 ` Bar Shirtcliff
@ 2007-06-29 16:25   ` Sivaram N
  2007-07-02  0:48     ` Bar Shirtcliff
  0 siblings, 1 reply; 8+ messages in thread
From: Sivaram N @ 2007-06-29 16:25 UTC (permalink / raw)
  To: info-gnus-english

Bar Shirtcliff <gnus.20.foo-bar@spamgourmet.com> writes:

> `Hi again,
>

[...]

>
> Anyway, thanks for the code, I'll put it right to work...  but there's
> one more major problem.  Though I've put an rss address on my
> secondry-select-methods list, gnus doesn't load it.  Every time it
> starts, it asks me where to look for the feeds.  There must be a
> workaround for this.  The keybindings--that I can fix.
>
> Cheers,
> Bar

What happens when you do 'G R' in the group buffer, enter the url?
Then quit gnus and restart it; Do you still see the RSS subscribed
group.

I did the same with http://www.emacswiki.org/cgi-bin/wiki?action=rss
and everytime I log on to Gnus, it gets the latest links.  I didn't
have to add anything to the .gnus file. 



 sivaram
 -- 

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

* Re: getting rss content
  2007-06-29 16:25   ` Sivaram N
@ 2007-07-02  0:48     ` Bar Shirtcliff
  2007-07-02 13:37       ` Haider Rizvi
  0 siblings, 1 reply; 8+ messages in thread
From: Bar Shirtcliff @ 2007-07-02  0:48 UTC (permalink / raw)
  To: info-gnus-english

Sivaram N <nsivaram.net@gmail.com> writes:

Hi Sivaram,

> Bar Shirtcliff <gnus.20.foo-bar@spamgourmet.com> writes:
>
>> `Hi again,
>>
>
> [...]
>
>>
>> Anyway, thanks for the code, I'll put it right to work...  but there's
>> one more major problem.  Though I've put an rss address on my
>> secondry-select-methods list, gnus doesn't load it.  Every time it
>> starts, it asks me where to look for the feeds.  There must be a
>> workaround for this.  The keybindings--that I can fix.

Unfortunately, the code didn't work, because it requires emacs-w3m.

>>
>> Cheers,
>> Bar
>
> What happens when you do 'G R' in the group buffer, enter the url?
> Then quit gnus and restart it; Do you still see the RSS subscribed
> group.
[snip]

Well, this is now fixed, via nnrss.el, but I have a new problem.  Now,
where I used to get a link, I just get a line with nothing on it but
the word, "link."  Something destroyed my ability even to get links
from the RSS.  I can't install emacs-w3m here, because I'm using
Aquamacs on Emacs 22.

Anyway, nnrss.el can be found at:
http://ftp.gnus.org/cgi-bin/cvsweb.cgi/gnus/lisp/nnrss.el?rev=7.47&content-type=text/x-cvsweb-markup

Unfortunately, it has had a negative side-effect: all of the
subscriptions that I had already tried, it will not let me subscribe
to them.  When I do GR, I recieve the message "Group already exists!"
"L" of course, does not reveal those groups.  when I grep the News and
gnus dirs for the name of one of these sites, I get no results.

Any ideas?

Bar

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

* Re: getting rss content
  2007-06-29  2:45   ` Katsumi Yamaoka
@ 2007-07-02  0:51     ` Bar Shirtcliff
  0 siblings, 0 replies; 8+ messages in thread
From: Bar Shirtcliff @ 2007-07-02  0:51 UTC (permalink / raw)
  To: info-gnus-english

Do you think this code would work if I replaced calls to w3m with
calls to my shell's w3m?

I'm reluctant to try it because it doesn't matter right now (as I'm
not getting links) and, last time, it crashed my emacs, so that I
couldn't even send mail.

Bar

Katsumi Yamaoka <yamaoka@jpl.org> writes:

>>>>>> In <b4mabujr1cg.fsf@jpl.org> Katsumi Yamaoka wrote:
>
>> (defadvice mm-inline-text-html-render-with-w3m (around follow-link (handle)
>> 						       activate)
>>   "Follow a link in nnrss group."
>
> I forgot to convert relative links in the html contents to
> absolute ones.  Here's a revised version:
>
>
>
>> You can put it in your ~/.gnus.el file.  To disable or enable
>> this feature, type:
>
>> M-x ad-deactivate RET mm-inline-text-html-render-with-w3m RET
>> or
>> M-x ad-activate RET mm-inline-text-html-render-with-w3m RET

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

* Re: getting rss content
  2007-07-02  0:48     ` Bar Shirtcliff
@ 2007-07-02 13:37       ` Haider Rizvi
  0 siblings, 0 replies; 8+ messages in thread
From: Haider Rizvi @ 2007-07-02 13:37 UTC (permalink / raw)
  To: info-gnus-english

Bar Shirtcliff <gnus.20.foo-bar@spamgourmet.com> writes:

> Anyway, nnrss.el can be found at:
> http://ftp.gnus.org/cgi-bin/cvsweb.cgi/gnus/lisp/nnrss.el?rev=7.47&content-type=text/x-cvsweb-markup

Is there an update to nnrss.el anywhere?   

I need to read some atom feeds, but it doesn't seem that nnrss can do
that. Has anyone had success fetching atom feeds with nnrss? 

Regards,
-- 
Haider

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

end of thread, other threads:[~2007-07-02 13:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-28 22:39 getting rss content Bar Shirtcliff
2007-06-29  1:33 ` Katsumi Yamaoka
2007-06-29  2:45   ` Katsumi Yamaoka
2007-07-02  0:51     ` Bar Shirtcliff
2007-06-29  4:23 ` Bar Shirtcliff
2007-06-29 16:25   ` Sivaram N
2007-07-02  0:48     ` Bar Shirtcliff
2007-07-02 13:37       ` Haider Rizvi

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).