Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

koschei (147)

koschei
  useperl@dellah.org
http://eh.org/~koschei/

Um. Me. Iain Truskett. Can be found as either Spoon or Koschei around the place, and as Braxiatel in rare circumstances. Um. Cool. Ta.

My perl svn repository [dellah.org] if you want bits of code by me. Also see dellah.org [dellah.org] for most of them in action.

My friends [perl.org], foes [perl.org], fans [perl.org], and freaks [perl.org]. And you can see what my friends are journalling [perl.org].

And everybody's journals [perl.org] (in order of updating).

Journal of koschei (147)

Thursday October 04, 2001
09:12 PM

Notes on Journal System Changes

[ #880 ]

I have a script that rips through assorted web sites and their RSS feeds and emails me new stuff.

The ugprade to use.perl.org messed up the use.perl.org due to some API changes. So, some notes:

journal.pl takes parameters, as is typical. These can be:

  1. uid
    A person's id number.
  2. op
    Notable Values:
    • list - list articles for $args{uid}
    • display - show $args{uid}'s article $args{id}
    • top - show top 10 posters, friend, recent posters
    • searchusers - search for $args{nickname}
    • friends - show friends of $args{uid}
    • default - default
  3. content_type
    Values:
    • rss - gives you an RSS file
    • Anything else presumably gives you HTML.

However the RSS form doesn't use all those ops. It just lists recent updates or a given person's articles. Dodgy. If you use op=top then you can use the parameter type which can be any of count, friends and 'something else', which will list people by number of posts, number of friends or by order of recent postings respectively.

Unlike the last time I looked, there doesn't appear to be a way to get the actual articles in the RSS feeds except by making one's own feeds. Intentional or flaw?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.