LJ::get_logtext2

LJ::get_logtext2 — Efficiently retrieves a large number of journal entry text, trying first slave database servers for recent items, then the master in cases of old items the slaves have already disposed of. See also: LJ::get_talktext2.

Use

LJ::get_logtext2(u, opts, jitemid);

Arguments

  • u. A hashref of a row from the user table, sometimes called a "user object". Although only initially a row from the user table, gets a lot of tacked onto it from various other LJ API functions.

  • opts. Optional hashref of special options. NOW IGNORED (2005-09-14)

  • jitemid. List of jitemids to retrieve the subject & text for.

Source:

cgi-bin/LJ/Entry.pm

Returns:

hashref with keys being jitemids, values being [ $subject, $body ]