<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nothing2fancy &#187; applescript</title>
	<atom:link href="http://nothing2fancy.com/tag/applescript/feed/" rel="self" type="application/rss+xml" />
	<link>http://nothing2fancy.com</link>
	<description>pew-pew</description>
	<lastBuildDate>Mon, 06 Sep 2010 15:40:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Do you have way too many flagged items in Google Reader?</title>
		<link>http://nothing2fancy.com/2010/03/08/do-you-have-way-too-many-flagged-items-in-google-reader/</link>
		<comments>http://nothing2fancy.com/2010/03/08/do-you-have-way-too-many-flagged-items-in-google-reader/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 01:02:47 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[applescript]]></category>
		<category><![CDATA[netnewswire]]></category>

		<guid isPermaLink="false">http://nothing2fancy.com/?p=354</guid>
		<description><![CDATA[Do you use NetNewsWire?

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

set dateLimit to (current date) - (180 * days)
tell application "NetNewsWire"
    set [...]]]></description>
			<content:encoded><![CDATA[<p>Do you use <a href="http://www.newsgator.com/INDIVIDUALS/NETNEWSWIRE/">NetNewsWire</a>?</p>

<p>If so, maybe you can use this script. It finds all the items you&#8217;ve flagged that are older than 6 months old and unflags them. Seriously dude&#8230; you aren&#8217;t going to ever go back and read that shit.</p>

<p><pre>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 &lt; dateLimit
    repeat with article in oldFlaggedArticles
        set isFlagged of article to no
    end repeat
    set theMessage to "Marked " &amp; (count of oldFlaggedArticles) &amp; " flagged items as read. They were all from before " &amp; dateLimit &amp; "."
    display alert "Marked as read" message theMessage
end tell</pre></p>

<p><a href="http://nothing2fancy.com/wp-content/uploads/2010/03/Unflag-old-Flagged-Items.zip" title="Unflag old Flagged Items.zip">Unflag old Flagged Items.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nothing2fancy.com/2010/03/08/do-you-have-way-too-many-flagged-items-in-google-reader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
