Skip to content

No way to gather all entries using existing GetEvents #8

@danhealy

Description

@danhealy

I found this script to mark all entries private: http://henrik.nyh.se/octopress/2007/04/ruby-livejournal-batch-private/

The script uses ":recent => -1" to gather all entries using GetEvents, but it seems this is no longer supported.

Reading through http://www.livejournal.com/doc/server/ljp.csp.xml-rpc.getevents.html briefly I found "beforedate" and monkeypatched GetEvents to pass it through, and modified the script above to use it in a loop, getting 50 entries at a time.

http://pastie.org/4338006

That satisfied my needs but If someone else wants to turn that into a pull request I am sure it will make somebody happy. It looks like GetEvents could support a lot more of the parameters offered in the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions