today | current | recent | random ... categories | search ... who ... syndication

Thursday, December 13 2001

Movable Thoughts #14

Probably the single most requested feature from the Blogger API is the ability to slurp all the posts in one swell foop. If I am reading the MT Blogger code correctly, MT will do this when you call the getRecentPosts method without a num argument. If no limit is specified then &MT::ObjectDriver::DBM::load_iter will return all the ids for a blog. &load_iter calls &_get_ids which returns ids based on the following test...
  # This test will fail because although there are args, the
  # args->{'limit'} test will return false since only the 
  # value of the key[1] is being tested and not the key's
  # definedness itself
  # 
  # [1] http://tlc.perlarchive.com/articles/perl/ug0002.shtml 

  if ($args && $args->{limit}) {    ## Lookup with limit
    @ids = $driver->_get_ids_limit($DB, $db, $class, $terms, $args);
  }

  # We have terms, so...

  elsif ($terms) { ## Lookup using index or ID
    if (ref($terms) eq 'HASH') {
      @ids = %$terms ?

      # We have keys so we'll munge the index and since none
      # of the "terms" are array references we 1) don't have
      # to worry about range arguments and 2) munge the @ids
      # listed in the index for $blogid.

      $driver->_get_ids_from_index($class, $terms, $args) :
      keys %$db;
    } else {
      @ids = $terms;
    }
  }

refers to

meta

Kip Hampton : XML and modern CGI applications

"I was initially skeptical of CGI::XMLApplication. As a card-carrying AxKit user I've grown accustomed to its speedy mod_perl foundation, and I've gotten quite comfortable generating my dynamic database-driven XML content using AxKit's eXtensible Server Pages implementation. The reality is, though, that the luxury of a dedicated XML publishing/application server like AxKit is beyond the reach and need of many developers. There is a large gap between the "just print it" of traditional CGI scripts and the high-octane XML-centric goodness of tools like AxKit. CGI::XMLApplication fills that gap nicely."

refers to

meta

David Mertz : Using CSS2 to display XML documents

via dangerousmeta

refers to

meta

Simon Cozens : Python::Bytecode.pm

"accepts a string or filehandle contain Python bytecode and puts it into a format you can manipulate."

refers to

meta

The dict-ified dictionary.com word of the day is bowdlerize

| source : web1913 | Bowdlerize \Bowd"ler*ize\, v. t. [imp. & p. p. {Bowdlerized}; p. pr. & vb. n. {Bowdlerizing}.] [After Dr. Thomas Bowdler, an English physician, who published an expurgated edition of Shakespeare in 1818.] To expurgate, as a book, by omitting or modifying the parts considered offensive. It is a grave defect in the splendid tale of Tom Jones . . . that a Bowlderized version of it would be hardly intelligible as a tale. --F. Harrison. -- {Bowd`ler*i*za"tion}, n. -- {Bowd"ler*ism}, n. | source : wn | bowdlerize v : edit by omitting or modifying parts considered indelicate; "bowdlerize a novel" [syn: {bowdlerise}, {expurgate}, {shorten}]

refers to

meta

 
 
Wednesday, December 12 2001 ←  → Friday, December 14 2001