"module of the day" feed idea - was Re: [GRASS-user] r.to.vect to selected locations only

2008-06-24 Thread Markus Neteler
On Tue, Jun 24, 2008 at 2:54 PM, Hamish <[EMAIL PROTECTED]> wrote:
> random idea:
> Maybe we could add a "module of the day" feed on the grass webpage with 
> module name
> and label/description one-liner. I continue to find new modules many years 
> after first using grass.

Nice idea indeed.
I guess a bit of PHP/XML hacking is sufficient ... volunteers?

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: "module of the day" feed idea - was Re: [GRASS-user] r.to.vect to selected locations only

2008-06-27 Thread Paulo Marcondes
2008/6/24 Markus Neteler <[EMAIL PROTECTED]>:
> On Tue, Jun 24, 2008 at 2:54 PM, Hamish <[EMAIL PROTECTED]> wrote:
>> random idea:
>> Maybe we could add a "module of the day" feed on the grass webpage with 
>> module name
>> and label/description one-liner. I continue to find new modules many years 
>> after first using grass.
>
> Nice idea indeed.
> I guess a bit of PHP/XML hacking is sufficient ... volunteers?

I really like the idea. RSS would be great.
I'd code it myself if I had any clue.

thanks anyway, nice addition to the homepage.
-- 
Paulo Marcondes = PU1/PU2PIX
-22.915 -42.224 = GG86jc
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: "module of the day" feed idea - was Re: [GRASS-user] r.to.vect to selected locations only

2008-06-27 Thread Dylan Beaudette
On Friday 27 June 2008, Paulo Marcondes wrote:
> 2008/6/24 Markus Neteler <[EMAIL PROTECTED]>:
> > On Tue, Jun 24, 2008 at 2:54 PM, Hamish <[EMAIL PROTECTED]> wrote:
> >> random idea:
> >> Maybe we could add a "module of the day" feed on the grass webpage with
> >> module name and label/description one-liner. I continue to find new
> >> modules many years after first using grass.
> >
> > Nice idea indeed.
> > I guess a bit of PHP/XML hacking is sufficient ... volunteers?
>
> I really like the idea. RSS would be great.
> I'd code it myself if I had any clue.
>
> thanks anyway, nice addition to the homepage.

A simple approach to this might involve something like:

1. extract module name / 1-liner to a database table, keep it updated from 
time to time

2. periodically query the table for a random row (via PHP)

3. convert the returned record into a formatted string, or XML for delivery 
RSS style

4. use some PHP to access the day's module/desc. and insert it into a small 
container on the main page.

if we have access to PHP / database it is a very simple matter to construct 
these queries. for something this small and specialized a file-based DB like 
sqlite would work just fine. There are several PHP XML libraries for 
constructing XML/RSS - so there wouldn't be a need for wheel-reinventing.

Dylan




-- 
Dylan Beaudette
Soil Resource Laboratory
http://casoilresource.lawr.ucdavis.edu/
University of California at Davis
530.754.7341
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: "module of the day" feed idea - was Re: [GRASS-user] r.to.vect to selected locations only

2008-06-27 Thread G. Allegri
Why not use the same method used to create the Documentation page for
GRASS? If I'm not wrong it's automatically built every week. Am I
wrong?

We could simply pick a module randomly from the svn trunk and its
documentation. Then, formatting an RSS and a page on the site is an
easy task...

I launch another idea: what about a "tip of the day"? It could be a
second step to the "module of the day". Add a little task/question
with an answer proposal. We could pick it from most interesting
threads opened in the ML... Ok it cannot be automated, and would need
extra-work. Just an idea...

giovanni
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: "module of the day" feed idea - was Re: [GRASS-user] r.to.vect to selected locations only

2008-06-28 Thread Markus Neteler
Hi all,

maybe you didn't realize, but the module of the day is already online :)
Kudos to Francesco Pirotti!

Markus

On Fri, Jun 27, 2008 at 10:55 PM, Dylan Beaudette
<[EMAIL PROTECTED]> wrote:
> On Friday 27 June 2008, Paulo Marcondes wrote:
>> 2008/6/24 Markus Neteler <[EMAIL PROTECTED]>:
>> > On Tue, Jun 24, 2008 at 2:54 PM, Hamish <[EMAIL PROTECTED]> wrote:
>> >> random idea:
>> >> Maybe we could add a "module of the day" feed on the grass webpage with
>> >> module name and label/description one-liner. I continue to find new
>> >> modules many years after first using grass.
>> >
>> > Nice idea indeed.
>> > I guess a bit of PHP/XML hacking is sufficient ... volunteers?
>>
>> I really like the idea. RSS would be great.
>> I'd code it myself if I had any clue.
>>
>> thanks anyway, nice addition to the homepage.
>
> A simple approach to this might involve something like:
>
> 1. extract module name / 1-liner to a database table, keep it updated from
> time to time
>
> 2. periodically query the table for a random row (via PHP)
>
> 3. convert the returned record into a formatted string, or XML for delivery
> RSS style
>
> 4. use some PHP to access the day's module/desc. and insert it into a small
> container on the main page.
>
> if we have access to PHP / database it is a very simple matter to construct
> these queries. for something this small and specialized a file-based DB like
> sqlite would work just fine. There are several PHP XML libraries for
> constructing XML/RSS - so there wouldn't be a need for wheel-reinventing.
>
> Dylan
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user