Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* virtual newsgroups
@ 2007-12-28 13:42 Andrzej Adam Filip
  2007-12-28 23:44 ` reader
  2007-12-29 11:49 ` Reiner Steib
  0 siblings, 2 replies; 9+ messages in thread
From: Andrzej Adam Filip @ 2007-12-28 13:42 UTC (permalink / raw)
  To: info-gnus-english

Is it possible in gnus to create virtual newsgroups based on google
groups searches?

e.g. I would like to create "virtual newsgroup" with posts about
sendmail in comp.* hierarchy (except comp.mail.sendmail).

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
What upsets me is not that you lied to me, but that from now on I can no
longer believe you.
  -- Nietzsche

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

* Re: virtual newsgroups
  2007-12-28 13:42 virtual newsgroups Andrzej Adam Filip
@ 2007-12-28 23:44 ` reader
  2007-12-29 11:49 ` Reiner Steib
  1 sibling, 0 replies; 9+ messages in thread
From: reader @ 2007-12-28 23:44 UTC (permalink / raw)
  To: info-gnus-english

Andrzej Adam Filip <anfi@onet.eu> writes:

> Is it possible in gnus to create virtual newsgroups based on google
> groups searches?
>
> e.g. I would like to create "virtual newsgroup" with posts about
> sendmail in comp.* hierarchy (except comp.mail.sendmail).

I hope someone will have more than this for you but just in case I
suggest you look into nnkiboze.  It would do what you want aimed at
regular nntp targets but not sure how it would do with google.

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

* Re: virtual newsgroups
  2007-12-28 13:42 virtual newsgroups Andrzej Adam Filip
  2007-12-28 23:44 ` reader
@ 2007-12-29 11:49 ` Reiner Steib
  2007-12-29 20:42   ` Andrzej Adam Filip
  1 sibling, 1 reply; 9+ messages in thread
From: Reiner Steib @ 2007-12-29 11:49 UTC (permalink / raw)
  To: info-gnus-english

On Fri, Dec 28 2007, Andrzej Adam Filip wrote:

> Is it possible in gnus to create virtual newsgroups based on google
> groups searches?

You probably want `C-u G w'...

,----[ (info "(gnus)Foreign Groups") ]
| `G w'
|      Make an ephemeral group based on a web search
|      (`gnus-group-make-web-group').  If you give a prefix to this
|      command, make a solid group instead.  You will be prompted for the
|      search engine type and the search string.  Valid search engine
|      types include `google', `dejanews', and `gmane'.  *Note Web
|      Searches::.
| 
|      If you use the `google' search engine, you can limit the search to
|      a particular group by using a match string like `shaving
|      group:alt.sysadmin.recovery'.
`----

> e.g. I would like to create "virtual newsgroup" with posts about
> sendmail in comp.* hierarchy (except comp.mail.sendmail).

I'm not sure if it's possible to specify such a search string.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: virtual newsgroups
  2007-12-29 11:49 ` Reiner Steib
@ 2007-12-29 20:42   ` Andrzej Adam Filip
  2007-12-30 18:54     ` Andrzej Adam Filip
  0 siblings, 1 reply; 9+ messages in thread
From: Andrzej Adam Filip @ 2007-12-29 20:42 UTC (permalink / raw)
  To: info-gnus-english

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Fri, Dec 28 2007, Andrzej Adam Filip wrote:
>
>> Is it possible in gnus to create virtual newsgroups based on google
>> groups searches?
>
> You probably want `C-u G w'...
>
> ,----[ (info "(gnus)Foreign Groups") ]
> | `G w'
> |      Make an ephemeral group based on a web search
> |      (`gnus-group-make-web-group').  If you give a prefix to this
> |      command, make a solid group instead.  You will be prompted for the
> |      search engine type and the search string.  Valid search engine
> |      types include `google', `dejanews', and `gmane'.  *Note Web
> |      Searches::.
> | 
> |      If you use the `google' search engine, you can limit the search to
> |      a particular group by using a match string like `shaving
> |      group:alt.sysadmin.recovery'.
> `----
>
>> e.g. I would like to create "virtual newsgroup" with posts about
>> sendmail in comp.* hierarchy (except comp.mail.sendmail).
>
> I'm not sure if it's possible to specify such a search string.
>
> Bye, Reiner.

The search string is easy "sendmail -group:comp.mail.sendmail".

It is "almost right" except:
1) I would like to limit "time span" of searches to 1 day or 1 week 
   [ extra as_qdr=d or as_qdr=w parameter in google URL ]
   It seems to require trivial change in  nnweb-google-search in nnweb.el
2) How to make the virtual group *permanent*?
   It "vanishes" quickly from groups buffer.

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
We fight only when there is no other choice.  We prefer the ways of
peaceful contact.
  -- Kirk, "Spectre of the Gun", stardate 4385.3

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

* Re: virtual newsgroups
  2007-12-29 20:42   ` Andrzej Adam Filip
@ 2007-12-30 18:54     ` Andrzej Adam Filip
  2007-12-30 21:24       ` Tassilo Horn
       [not found]       ` <mailman.5519.1199051121.18990.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Andrzej Adam Filip @ 2007-12-30 18:54 UTC (permalink / raw)
  To: info-gnus-english

Andrzej Adam Filip <anfi@onet.eu> writes:

> Reiner Steib <reinersteib+gmane@imap.cc> writes:
>
>> On Fri, Dec 28 2007, Andrzej Adam Filip wrote:
>>
>>> Is it possible in gnus to create virtual newsgroups based on google
>>> groups searches?
>>
>> You probably want `C-u G w'...
>>
>> ,----[ (info "(gnus)Foreign Groups") ]
>> | `G w'
>> |      Make an ephemeral group based on a web search
>> |      (`gnus-group-make-web-group').  If you give a prefix to this
>> |      command, make a solid group instead.  You will be prompted for the
>> |      search engine type and the search string.  Valid search engine
>> |      types include `google', `dejanews', and `gmane'.  *Note Web
>> |      Searches::.
>> | 
>> |      If you use the `google' search engine, you can limit the search to
>> |      a particular group by using a match string like `shaving
>> |      group:alt.sysadmin.recovery'.
>> `----
>>
>>> e.g. I would like to create "virtual newsgroup" with posts about
>>> sendmail in comp.* hierarchy (except comp.mail.sendmail).
>>
>> I'm not sure if it's possible to specify such a search string.
>>
>> Bye, Reiner.
>
> The search string is easy "sendmail -group:comp.mail.sendmail".
>
> It is "almost right" except: 
> 1) I would like to limit "time span" of searches to 1 day or 1 week [
>    extra as_qdr=d or as_qdr=w parameter in google URL ] It seems to
>    require trivial change in nnweb-google-search in nnweb.el

Is it possible to "overwrite" (defun nnweb-google-search ...) from
nnweb.el in ~/.gnus ?

> 2) How to make the virtual group *permanent*?
>    It "vanishes" quickly from groups buffer.

It is visible in *next* emacs/gnus session.

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Experience is that marvelous thing that enables you recognize a mistake
when you make it again.
  -- Franklin P. Jones

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

* Re: virtual newsgroups
  2007-12-30 18:54     ` Andrzej Adam Filip
@ 2007-12-30 21:24       ` Tassilo Horn
  2008-01-01 12:22         ` Reiner Steib
       [not found]       ` <mailman.5519.1199051121.18990.info-gnus-english@gnu.org>
  1 sibling, 1 reply; 9+ messages in thread
From: Tassilo Horn @ 2007-12-30 21:24 UTC (permalink / raw)
  To: info-gnus-english

Andrzej Adam Filip <anfi@onet.eu> writes:

Hi Andrzej,

> Is it possible to "overwrite" (defun nnweb-google-search ...) from
> nnweb.el in ~/.gnus ?

Yes, simply define it anew.  And be sure to put a (require 'nnweb)
before your defun, so that the `nnweb-google-search' of nnweb.el really
gets overwritten.

Bye,
Tassilo

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

* Re: virtual newsgroups
       [not found]       ` <mailman.5519.1199051121.18990.info-gnus-english@gnu.org>
@ 2007-12-30 22:45         ` Andrzej Adam Filip
  0 siblings, 0 replies; 9+ messages in thread
From: Andrzej Adam Filip @ 2007-12-30 22:45 UTC (permalink / raw)
  To: info-gnus-english

Tassilo Horn <tassilo@member.fsf.org> writes:

> Andrzej Adam Filip <anfi@onet.eu> writes:
>> Is it possible to "overwrite" (defun nnweb-google-search ...) from
>> nnweb.el in ~/.gnus ?
>
> Yes, simply define it anew.  And be sure to put a (require 'nnweb)
> before your defun, so that the `nnweb-google-search' of nnweb.el really
> gets overwritten.

It "almost" works :-)
OK : Sort by date (scoring=d)
NOK: limiting usenet searches to last week by *adding one* argument to 
     "GET" URL

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Most people in this society who aren't actively mad are, at best,
reformed or potential lunatics.
  -- Susan Sontag

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

* Re: virtual newsgroups
  2007-12-30 21:24       ` Tassilo Horn
@ 2008-01-01 12:22         ` Reiner Steib
  2008-01-01 12:57           ` virtual newsgroups [google searches] Andrzej Adam Filip
  0 siblings, 1 reply; 9+ messages in thread
From: Reiner Steib @ 2008-01-01 12:22 UTC (permalink / raw)
  To: info-gnus-english

On Sun, Dec 30 2007, Tassilo Horn wrote:

> Yes, simply define it anew.  And be sure to put a (require 'nnweb)
> before your defun, so that the `nnweb-google-search' of nnweb.el really
> gets overwritten.

It would be nice to define a new method (a modification of "google")
to `nnweb-type-definition' or to add proper customization of the query
parameters.  Volunteers?  ;-)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: virtual newsgroups [google searches]
  2008-01-01 12:22         ` Reiner Steib
@ 2008-01-01 12:57           ` Andrzej Adam Filip
  0 siblings, 0 replies; 9+ messages in thread
From: Andrzej Adam Filip @ 2008-01-01 12:57 UTC (permalink / raw)
  To: info-gnus-english

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Sun, Dec 30 2007, Tassilo Horn wrote:
>
>> Yes, simply define it anew.  And be sure to put a (require 'nnweb)
>> before your defun, so that the `nnweb-google-search' of nnweb.el really
>> gets overwritten.
>
> It would be nice to define a new method (a modification of "google")
> to `nnweb-type-definition' or to add proper customization of the query
> parameters.  Volunteers?  ;-)

IMHO doing it *properly* would require "filling" form provided at:
  http://groups.google.com/advanced_search
In particular the form sets a few "default values"
   e.g. "age restrictions" seem to require max date

The current implementation simply generates "GET" url.

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
True leadership is the art of changing a group from what it is to what
it ought to be.
  -- Virginia Allan

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

end of thread, other threads:[~2008-01-01 12:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-28 13:42 virtual newsgroups Andrzej Adam Filip
2007-12-28 23:44 ` reader
2007-12-29 11:49 ` Reiner Steib
2007-12-29 20:42   ` Andrzej Adam Filip
2007-12-30 18:54     ` Andrzej Adam Filip
2007-12-30 21:24       ` Tassilo Horn
2008-01-01 12:22         ` Reiner Steib
2008-01-01 12:57           ` virtual newsgroups [google searches] Andrzej Adam Filip
     [not found]       ` <mailman.5519.1199051121.18990.info-gnus-english@gnu.org>
2007-12-30 22:45         ` virtual newsgroups Andrzej Adam Filip

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