The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Must be tidy time

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Must be tidy time Posted: Jun 21, 2005 11:55 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Must be tidy time
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

Being offline does give me time to do something I need to do - "spring cleaning" on my feeds. I've crept up over 300 feeds again, and that seems to be my personal overload point. So here I am at 30,000 feet, deleting feeds. I have a pretty simple methodology for this - as a first pass, I just blow away anything that hasn't updated in the last 2 months. I suppose I ought to enable the Bf feature that tracks that and disables feeds in that state, but there it is :)

Of course, I ddidn't want to do that by hand, so I wrote a script in the workspace BottomFeeder provides:


| ts |
ts := Timestamp readFrom: ('5/1/05' readStream).
RSSFeedManager default getAllMyFeeds select: 
	[:each | | all  |
	       all := each allItems.
	       first := (all notNil and: [all notEmpty])
	               ifTrue: [all first]
	               ifFalse: [nil].
	       shouldUse := first notNil
	               ifTrue: [first pubDateString < ts]
	               ifFalse: [true].
	       shouldUse]


It's a simple selection script, and it returned an inspector. With that, I could just walk through the list of feeds, and send the appropriate message to the UI when I wanted to delete one. Much nicer than walking through it manually. I suppose I ought to add this sort of "find the unupdated stuff" thing as a standard feed search. The end result? Back down to 286 feeds, which feels much more manageable to me :)

Read: Must be tidy time

Topic: Cast your mind back... Previous Topic   Next Topic Topic: Zounds! How is it possible?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use