GTALUG RSS?

Scott Elcomb psema4-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Jan 19 06:23:10 UTC 2006


On 1/17/06, Jamon Camisso <jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org> wrote:
> Scott Elcomb wrote:
> > Great.  I'll get a copy of MediaWiki installed to try it then.
> > Basically my plan is to query the db for a user's watchlist, so that
> > all the customization of one's personal feed would require is that
> > they manage their watchlist.
> >
> > If MW stores a "last viewed" time then it should be pretty painless,
> > if not then it's SAL to the rescue.  :-)
>
> Not sure if it would help, but MediaWiki uses two fields that might be
> of interest: rc_timestamp & rc_cur_time. I'm not sure how you'd go about
> it (if at all), but couldn't you query the timestamp(s) for any page in
> the user's watch list?

Thanks for your help.

I'm at 28 minutes in implementing the prototype, took a bit to figure
out the authentication part.  Currently, it's functioning as an
external (to MediaWiki) RSS 0.91 feed generator based on the MediaWiki
users' watchlist.

Basically, for each page in the user's watchlist it just dump's a copy
of the page's most current contents into the associated RSS item's
description tag.  (Maybe the revision comments would be better than
the page contents?)

Doesn't do much in the way of error checking, doesn't limit the number
of entries, and requires SAL (installable from CPAN) which still has
little documentation.  Tonnes of room for improvement.

I'll put a proper page together soon, but the source is currently
stored on my talk page at http://www.gtalug.org/wiki/User_talk:Dl33t

[Please note that in order to authenticate, the users' name and
password need to be sent to the script in plaintext...  Using HTTPS
(SSL, GET or POST) to access the feed generator is highly
recommended.]

> > Gotta sleep first tho...  The AVP project is starting to materialize
> > and between that and work, the days are awfully long.  Lol, and I'd
> > like to actually time how long it takes to implement a prototype after
> > MW's installed.
> >
> > Curious, how long would you say it takes to setup a basic MW installation?
>
> You could do it in less than half an hour. 10 minutes if you try really
> hard and know exactly where to click and which files to edit. I wouldn't
> rush it the first time though.

The web-based installer was pretty handy, maybe 10 minutes.  Nicely done.

--
Scott Elcomb
psema4.gotdns.com

Canada Votes 2006 - Election Talk
http://nodice.ca/etalk/index.php
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list