[Soks] Enabling blogs?

[Soks] Enabling blogs?

See How to enable a blog for a solution

Copied from Email on Tue, 9 Aug 2005 14:46:13 +0100 from Tom Counsell (tamc2 at cam.ac.uk)


On 9 Aug 2005, at 14:41, Tom Counsell wrote:
> However, automatically creating a blog summary for every new user  
> on the wiki system might be possible by writing a class that:
>
> 1) Scans through the wiki picking up a list of users from who has  
> revised a page
> 2) Watches the :page_revised event to pick up any new users
> 3) Spawns an automatic summary for each of those people

Or, perhaps more usefully.  Could make a page on the wiki with a list  
of usernames called 'people who have blogs'.  The class would just  
watch that page and create an automatic summary for each name on the  
page.

Or even, could make a class that looked at all pages watching for the  
message 'give me a blog!' and it would then spawn a blog for the  
person that wrote the message.

Mmm, I'll have a play later tonight and see what I come up with...

Tom

Copied from Email on Tue, 9 Aug 2005 14:41:12 +0100 from Tom Counsell (tamc2 at cam.ac.uk)

Hi Bil

On 9 Aug 2005, at 14:10, Bil Kleb wrote:
> this morning I was pondering how to enable folks
> to create their own blogs with Soks.
>
> I could create AutomaticSummaries by hand and
> restart the server every time someone requests
> a blog, but it would be much nicer to allow them
> to spawn a new AutomaticSummary themselves?
>
> Doable?

User driven creation of AutomaticSummaries?  No. Not right now,  
mainly because I haven't figured out the syntax for it. Suggestions?

However, automatically creating a blog summary for every new user on  
the wiki system might be possible by writing a class that:

1) Scans through the wiki picking up a list of users from who has  
revised a page
2) Watches the :page_revised event to pick up any new users
3) Spawns an automatic summary for each of those people

I guess a blog could be created from the automatic summary in a  
number of ways:
1) Summarise all pages with 'Bil's Blog:' in the title
2) Summarise all pages created by Bil
3) Summarise all pages edited by Bil
4) Summarise all pages that has 'Put in Bil's Blog' somewhere in the  
text

Where all could be all, or just the latest 10 or whatever.

Tom
_______________________________________________
Soks-discuss mailing list
Soks-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/soks-discuss

Copied from Email on Tue, 09 Aug 2005 09:10:43 -0400 from Bil Kleb (Bil.Kleb at nasa.gov)

Hi Tom,

I haven't gotten a chance to try 1.0+ yet, but
this morning I was pondering how to enable folks
to create their own blogs with Soks.

I could create AutomaticSummaries by hand and
restart the server every time someone requests
a blog, but it would be much nicer to allow them
to spawn a new AutomaticSummary themselves?

Doable?

Regards,
-- 
Bil Kleb
http://fun3d.larc.nasa.gov

_______________________________________________
Soks-discuss mailing list
Soks-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/soks-discuss

Edit this page or watch for changes using RSS.