Archive for March, 2010

Do you have way too many flagged items in Google Reader?

Do you use NetNewsWire?

If so, maybe you can use this script. It finds all the items you’ve flagged that are older than 6 months old and unflags them. Seriously dude… you aren’t going to ever go back and read that shit.

set dateLimit to (current date) - (180 * days)
tell application "NetNewsWire"
    set flaggedItemList to item 1 of (subscriptions where display name is "Flagged Items")
    --get date published of headlines of flaggedItemList
    set oldFlaggedArticles to (headlines of flaggedItemList) where date published < dateLimit
    repeat with article in oldFlaggedArticles
        set isFlagged of article to no
    end repeat
    set theMessage to "Marked " & (count of oldFlaggedArticles) & " flagged items as read. They were all from before " & dateLimit & "."
    display alert "Marked as read" message theMessage
end tell

Unflag old Flagged Items.zip