<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Blog</title>
        <link>http://ayende.com/Blog/category/536.aspx</link>
        <description>Blog</description>
        <language>en-US</language>
        <copyright>Ayende Rahien</copyright>
        <managingEditor>Ayende@ayende.com</managingEditor>
        <generator>Subtext Version 2.0.0.0</generator>
        <item>
            <title>On comments and social interaction</title>
            <link>http://ayende.com/Blog/archive/2010/01/07/on-comments-and-social-interaction.aspx</link>
            <description>&lt;p&gt;I got a request in email to add something like &lt;a href="http://disqus.com/"&gt;Disqus&lt;/a&gt; to my blog, which would allow a richer platform for the commenting that goes on here. I think that the request and my reply are interesting enough to warrant this blog post. &lt;/p&gt;  &lt;p&gt;My comment system is the default subtext one, but there are several advantages to the way it works. You can read the full explanation in &lt;a href="http://www.joelonsoftware.com/articles/BuildingCommunitieswithSo.html"&gt;Joel on Software&lt;/a&gt; post about the matter, but basically, threading encourages people to go off in tangents, single thread of conversation make it significantly easier to have only one conversation.&lt;/p&gt;  &lt;p&gt;There is another reason, which is personally important to me, which is that I want to "own" the comments. Not own in terms of copyright, but own in terms of having control of the data itself. Having the comments (a hugely important part of the blog) being managed by a 3rd party which might shut down and take all the comments with it is not acceptable.&lt;/p&gt;  &lt;p&gt;That is probably a false fear, but it is something that I take under consideration. The reasoning about the type of interaction going on in the comments is a lot more important. There is also something else to consider, if a post gets too hot (generating too many comments), I am either going to close comments on it, or open a new post with summary of what went on in the previous post comment thread anyway, so it does have some checks &amp;amp; balances that keep a comment thread from growing too large.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/11270.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2010/01/07/on-comments-and-social-interaction.aspx</guid>
            <pubDate>Thu, 07 Jan 2010 10:00:00 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2010/01/07/on-comments-and-social-interaction.aspx#feedback</comments>
            <slash:comments>15</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/11270.aspx</wfw:commentRss>
        </item>
        <item>
            <title>What happened to technorati?</title>
            <link>http://ayende.com/Blog/archive/2009/11/08/what-happened-to-technorati.aspx</link>
            <description>&lt;p&gt;Recently all my technorati feeds started to give me stuff like this: &lt;/p&gt;  &lt;p&gt;&lt;a href="http://ayende.com/Blog/images/ayende_com/Blog/WindowsLiveWriter/Whathappenedtotechnorati_12481/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ayende.com/Blog/images/ayende_com/Blog/WindowsLiveWriter/Whathappenedtotechnorati_12481/image_thumb.png" width="767" height="315" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;It looks like someone managed to crack the way that technorati is searching feeds, and I am getting what amounts to spammed search results. If this continues, it looks like I’ll just have to give up on it completely.&lt;/p&gt;  &lt;p&gt;Any good alternatives?&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/11200.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/11/08/what-happened-to-technorati.aspx</guid>
            <pubDate>Sun, 08 Nov 2009 18:48:32 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/11/08/what-happened-to-technorati.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/11200.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Impleo &amp;ndash; a CMS I can tolerate</title>
            <link>http://ayende.com/Blog/archive/2009/10/25/impleo-ndash-a-cms-i-can-tolerate.aspx</link>
            <description>&lt;p&gt;If you head out to &lt;a title="http://hibernatingrhinos.com/" href="http://hibernatingrhinos.com/"&gt;http://hibernatingrhinos.com/&lt;/a&gt;, you will see that I finally had the time to setup the corporate site. This is still &lt;em&gt;very&lt;/em&gt; early, but I have a lot of content to add there, but it is a start.&lt;/p&gt;  &lt;p&gt;Impleo, the CMS running the site, doesn’t have any web based interface, instead, it is built explicitly to take advantage of Windows Live Writer and similar tools. The “interface” for editing the site is the MetaWeblog API. This means that in order to edit the site, there isn’t any Wiki syntax to learn, or XML files to edit, or anything of this sort.&lt;/p&gt;  &lt;p&gt;You have a powerful editor in your fingertips, one that properly handle things like adding images and other content. This turn the whole experience around. I usually find documentation boring, but I am &lt;em&gt;used&lt;/em&gt; to writing in WLW, it is fairly natural to do, and it removes all the pain from the equation. &lt;/p&gt;  &lt;p&gt;One of the things that I am trying to do with it is to setup a proper documentation repository for all my open source projects. This isn’t something new, and it is something that most projects have a hard time doing. I strongly believe in making things &lt;em&gt;simple&lt;/em&gt;, in reducing friction. What I hope to do is to be able to accept documentation contributions from the community for the OSS projects.&lt;/p&gt;  &lt;p&gt;I think that having a full fledged rich text editor in your hands is a game changer, compared to the usual way OSS handle documentation.  Take a look at what is &lt;a href="http://hibernatingrhinos.com/cms/setup"&gt;needed to make this works&lt;/a&gt;, it should take three minutes to get started, no learning curve, no “how do they do this”. &lt;/p&gt;  &lt;p&gt;So here is the deal, if you would like to contribute documentation (which can be &lt;em&gt;anything&lt;/em&gt; that would help users with the projects), I just made things much easier for you. Please contact me directly and I’ll send you the credentials to be able to edit the site.&lt;/p&gt;  &lt;p&gt;Thanks in advance for your support.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/11191.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/10/25/impleo-ndash-a-cms-i-can-tolerate.aspx</guid>
            <pubDate>Sun, 25 Oct 2009 03:50:00 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/10/25/impleo-ndash-a-cms-i-can-tolerate.aspx#feedback</comments>
            <slash:comments>15</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/11191.aspx</wfw:commentRss>
        </item>
        <item>
            <title>ayende.com move process completed</title>
            <link>http://ayende.com/Blog/archive/2009/09/26/ayende.com-move-process-completed.aspx</link>
            <description>&lt;p&gt;The server is now hosted at &lt;a href="http://gogrid.com"&gt;GoGrid&lt;/a&gt;, it took longer than I anticipated because I also moved it to EC2 to test &lt;em&gt;that &lt;/em&gt;(post about this is already in the queue, and will show up in about 2 weeks).&lt;/p&gt;  &lt;p&gt;Commenting is now enabled, and it all should just work. Please let me know if something is broken.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/11144.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/09/26/ayende.com-move-process-completed.aspx</guid>
            <pubDate>Sat, 26 Sep 2009 00:21:22 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/09/26/ayende.com-move-process-completed.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/11144.aspx</wfw:commentRss>
        </item>
        <item>
            <title>ayende.com is moving servers &amp;ndash; some interruption may result</title>
            <link>http://ayende.com/Blog/archive/2009/09/24/ayende.com-is-moving-servers-ndash-some-interruption-may-result.aspx</link>
            <description>&lt;p&gt;Well, the blog has grown a bit too large for my current host, and I decided that I need to move it elsewhere.&lt;/p&gt;  &lt;p&gt;In order to make the move easier, I am disabling commenting site-wide. I’ll try to make this as fast as possible.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/11140.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/09/24/ayende.com-is-moving-servers-ndash-some-interruption-may-result.aspx</guid>
            <pubDate>Thu, 24 Sep 2009 13:35:13 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/09/24/ayende.com-is-moving-servers-ndash-some-interruption-may-result.aspx#feedback</comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/11140.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Automation, Mark 1</title>
            <link>http://ayende.com/Blog/archive/2009/09/11/automation-mark-1.aspx</link>
            <description>&lt;p&gt;I just got this email:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;I seem to get automatic E-Mail notifications if you answer a comment from me on your blog. I asked our admin to enable this for our team blog, but he came up empty. Any hints?&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;My reply was a bit disappointing, I guess.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Yes,  &lt;/p&gt;    &lt;p&gt;It works like this. &lt;/p&gt;    &lt;ol&gt;     &lt;li&gt;You post a comment to my blog. &lt;/li&gt;      &lt;li&gt;I get an email. &lt;/li&gt;      &lt;li&gt;I answer the comment in gmail, send it to you. &lt;/li&gt;      &lt;li&gt;I then copy the reply to the blog and post it.&lt;/li&gt;   &lt;/ol&gt;    &lt;p&gt;Sorry, no magic here :-)&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;It would be a nice feature, but by this time this is part of my workflow of answering comment.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/11089.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/09/11/automation-mark-1.aspx</guid>
            <pubDate>Fri, 11 Sep 2009 18:32:00 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/09/11/automation-mark-1.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/11089.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Is blogging dead?</title>
            <link>http://ayende.com/Blog/archive/2009/09/01/is-blogging-dead.aspx</link>
            <description>&lt;p&gt;This is a reply to &lt;a href="http://www.lostechies.com/blogs/chad_myers/archive/2009/08/31/is-blogging-dead.aspx"&gt;Chad Myers post about this question&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;My answer: No.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/11082.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/09/01/is-blogging-dead.aspx</guid>
            <pubDate>Tue, 01 Sep 2009 07:47:25 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/09/01/is-blogging-dead.aspx#feedback</comments>
            <slash:comments>7</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/11082.aspx</wfw:commentRss>
        </item>
        <item>
            <title>How do you manage to blog so much?</title>
            <link>http://ayende.com/Blog/archive/2009/08/29/how-do-you-manage-to-blog-so-much.aspx</link>
            <description>&lt;p&gt;In a recent email thread, I was asked:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;How come that you manage to post and comment that much? I bet you spend really loads of time on your blog.&lt;/p&gt;    &lt;p&gt;The reason why I ask is because roughly a month ago I've decided to roll out my own programming blog. I've made three or four posts there     &lt;br /&gt;(in 5 days) and abandoned the idea because it was consuming waaaaay too much time (like 2-3 hours per post)&lt;/p&gt;    &lt;p&gt;The only problem is time. If I'm gonna to post that much every day (and eventually also answer to comments), it seems that my effective working time would be cut by 3+ hours. Daily.  So here comes my original question. How come that you manage to post and comment that much?&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;And here is my answer:&lt;/p&gt;  &lt;p&gt;I see a lot of people in a similar situation. I have been blogging for 6 years now (Wow! how the the time flies), and I have started from a blog that has zero readers to one that has a respectable readership. There are only two things that I do that are in any way unique. First, my "does it fit to be blogged about?" level is pretty low. If it is interesting (to &lt;em&gt;me&lt;/em&gt;), it will probably go to the blog.&lt;/p&gt;  &lt;p&gt;Second, I don't mind pushing a blog post that requires fixing later. It usually takes me ten minutes to put out a blog post, so I can literally have a thought, post it up and move on, without really noticing it hurting my workflow. And the mere act of putting things in writing for others to read is a significant one, it allows me to look at things in writing in a way that is hard to do when they are just in my head.&lt;/p&gt;  &lt;p&gt;It &lt;i&gt;does&lt;/i&gt; take time, make no mistakes about that. The 10 minutes blog post is about 30% of my posts, in a lot of cases, it is something that I have to work on for half an hour. In some rare cases, it goes to an hour or two. There have been several dozens of posts that took &lt;em&gt;days&lt;/em&gt;. But while it started out as a hobby, it has become part of my work now. The blog is my marketing effort, so to speak. And it is an &lt;em&gt;effective &lt;/em&gt;one.&lt;/p&gt;  &lt;p&gt;Right now, I have set it up so about once a week I am spending four or five hours crunching out blog posts and future posting them. Afterward, I can blog whenever I feel like, and that takes a lot of the pressure off. It helps that I am trying &lt;em&gt;hard&lt;/em&gt; to schedule most of them day after day. So I get a lot of breathing room, but there is new content every day. &lt;/p&gt;  &lt;p&gt;That doesn’t mean that I actually blog once a week, though. I push stuff to the blog all the time, but it is usually short notes, not posts that take a lot of time.&lt;/p&gt;  &lt;p&gt;As for comments, take a look at my commenting style, I am generally commenting only when I actually have something to add to the conversation, and I very rarely have long comments (if I do, they turn into posts :-) ).&lt;/p&gt;  &lt;p&gt;It also doesn’t take much time to reply to most of them, and it creates a feedback cycle that means that more people are participating and reading the blog. It is rare that I post a topic that &lt;em&gt;really&lt;/em&gt; stir people up and that I feel obligated to respond to all/most of the comments. That &lt;em&gt;does&lt;/em&gt; bother me, because it takes too much time. In those cases, I’ll generally close the comment threads with a note about that.&lt;/p&gt;  &lt;p&gt;One final thought, the time I spend blogging is not wasted. It is well spent. Because it is an investment in reputation, respectability and familiarization.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/11052.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/08/29/how-do-you-manage-to-blog-so-much.aspx</guid>
            <pubDate>Sat, 29 Aug 2009 07:44:00 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/08/29/how-do-you-manage-to-blog-so-much.aspx#feedback</comments>
            <slash:comments>14</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/11052.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Blog posts ideas, remapped</title>
            <link>http://ayende.com/Blog/archive/2009/07/25/blog-posts-ideas-remapped.aspx</link>
            <description>&lt;p&gt;Wow,&lt;/p&gt;  &lt;p&gt;I got a &lt;em&gt;lot&lt;/em&gt; of suggestions for new blog posts. I am not promising that I would do all of them, but I am going to try.&lt;/p&gt;  &lt;p&gt;The experiment went well enough that I decided to create a &lt;a href="https://nhprof.uservoice.com/pages/24233-new-posts-suggestions"&gt;dedicated forum&lt;/a&gt; for this, which would allow people to also vote for individual post topics, and give me better idea what people want to see.&lt;/p&gt;  &lt;p&gt;I also moved all the previous suggestions to the &lt;a href="https://nhprof.uservoice.com/pages/24233-new-posts-suggestions"&gt;new forum&lt;/a&gt;, and I think that I’ll make it a regular feature.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/10996.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/07/25/blog-posts-ideas-remapped.aspx</guid>
            <pubDate>Fri, 24 Jul 2009 21:15:15 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/07/25/blog-posts-ideas-remapped.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/10996.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Extending SubText to report Future Posts</title>
            <link>http://ayende.com/Blog/archive/2009/07/23/extending-subtext-to-report-future-posts.aspx</link>
            <description>&lt;p&gt;Since I am making so much use of future posts recently, I decided that it would be interesting to have a sidebar that shows the future posts. The problem is that I &lt;em&gt;really&lt;/em&gt; don’t want to mess around with SubText.&lt;/p&gt;  &lt;p&gt;This is not a slight against SubText, it has served me well for a &lt;em&gt;long&lt;/em&gt; time. It is simply that for what I wanted, the number of steps that I would have to go through is &lt;em&gt;way&lt;/em&gt; too long:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Get the relevant source&lt;/li&gt;    &lt;li&gt;Compile it on my machine&lt;/li&gt;    &lt;li&gt;Figure out SubText’s architecture and where I should make my changes&lt;/li&gt;    &lt;li&gt;Upload a new version of the blog engine&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;It is possible, but it just take too long. Moreover, it would most certainly break the next time that I would update SubText, because I would forget all about it. &lt;/p&gt;  &lt;p&gt;But it is not the only way to get stuff done, however. Here is my solution:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; I actually had a bug here related to time zone handling, fixed now.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Update 2:&lt;/strong&gt; I used the 3.5 TimeZone semantics for this, but my server is running 2.0, use an okay hack instead. And fixed potential issue with &amp;lt; &amp;amp; &amp;gt; in the titles.&lt;/p&gt;  &lt;blockquote&gt;   &lt;pre&gt;&amp;lt;%@ Page Language="&lt;span style="color: #8b0000"&gt;C#&lt;/span&gt;" %&amp;gt;
&amp;lt;%@ OutputCache Duration="&lt;span style="color: #8b0000"&gt;60&lt;/span&gt;" VaryByParam="&lt;span style="color: #8b0000"&gt;None&lt;/span&gt;" %&amp;gt;

&amp;lt;%@ Import Namespace="&lt;span style="color: #8b0000"&gt;System.Data.SqlClient&lt;/span&gt;" %&amp;gt;
&amp;lt;%@ Import Namespace="&lt;span style="color: #8b0000"&gt;System.Configuration&lt;/span&gt;" %&amp;gt;
&amp;lt;ul&amp;gt;
&amp;lt;%
&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; connectionString = ConfigurationManager.ConnectionStrings["&lt;span style="color: #8b0000"&gt;subtextData&lt;/span&gt;"].ConnectionString;
&lt;span style="color: #0000ff"&gt;using&lt;/span&gt;(SqlConnection connection = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; SqlConnection(connectionString))
{
	connection.Open();
	
	&lt;span style="color: #0000ff"&gt;using&lt;/span&gt;(SqlCommand cmd = connection.CreateCommand())
	{
		cmd.CommandText = @"&lt;span style="color: #8b0000"&gt;
select top 15 Id, DateSyndicated, Title from subtext_Content
where DateSyndicated &amp;gt; @nowIsrael
order by DateSyndicated
&lt;/span&gt;";
		DateTime nowIsrael = DateTime.UtcNow.AddHours(3);
		
		cmd.Parameters.AddWithValue("&lt;span style="color: #8b0000"&gt;nowIsrael&lt;/span&gt;",nowIsrael);
		
		&lt;span style="color: #0000ff"&gt;using&lt;/span&gt;(SqlDataReader reader = cmd.ExecuteReader())
		{
			&lt;span style="color: #0000ff"&gt;if&lt;/span&gt;(reader.HasRows == &lt;span style="color: #0000ff"&gt;false&lt;/span&gt;)
			{
				%&amp;gt;&amp;lt;li&amp;gt;Queue &lt;span style="color: #0000ff"&gt;is&lt;/span&gt; empty&amp;lt;/li&amp;gt;&amp;lt;%
			}
			&lt;span style="color: #0000ff"&gt;while&lt;/span&gt;(reader.Read())
			{
				DateTime dateSyndicated = (DateTime)reader["&lt;span style="color: #8b0000"&gt;DateSyndicated&lt;/span&gt;"];
				&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; title = (&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;) reader["&lt;span style="color: #8b0000"&gt;Title&lt;/span&gt;"];
				&lt;span style="color: #0000ff"&gt;string&lt;/span&gt; formattedSyndication;
				TimeSpan timeLeft = dateSyndicated - DateTime.Now;
				
				&lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (timeLeft.Days &amp;gt; 7)
					formattedSyndication = timeLeft.Days / 7 + "&lt;span style="color: #8b0000"&gt; weeks &lt;/span&gt;" + timeLeft.Days % 7 + "&lt;span style="color: #8b0000"&gt; days&lt;/span&gt;";
				&lt;span style="color: #0000ff"&gt;else&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (timeLeft.Days &amp;gt; 0)
					formattedSyndication = timeLeft.Days + "&lt;span style="color: #8b0000"&gt; days&lt;/span&gt;";
				&lt;span style="color: #0000ff"&gt;else&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (timeLeft.Hours &amp;gt; 0)
					formattedSyndication = timeLeft.Hours + "&lt;span style="color: #8b0000"&gt; hours&lt;/span&gt;";
				&lt;span style="color: #0000ff"&gt;else&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (timeLeft.Minutes &amp;gt; 0)
					formattedSyndication = timeLeft.Minutes + "&lt;span style="color: #8b0000"&gt; minutes&lt;/span&gt;";
				&lt;span style="color: #0000ff"&gt;else&lt;/span&gt;
					formattedSyndication = "&lt;span style="color: #8b0000"&gt;In a moment&lt;/span&gt;";
				
				%&amp;gt;
				&amp;lt;li&amp;gt;&amp;lt;%= formattedSyndication %&amp;gt; &amp;lt;br /&amp;gt; &amp;lt;%= Server.HtmlEncode(title) %&amp;gt;&amp;lt;/li&amp;gt;
				&amp;lt;%
			}			
		}
	}
}
%&amp;gt;
&amp;lt;/ul&amp;gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;And then it was just a matter of changing the template to include the following JavaScript:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;$('#futurePosts').load('http://ayende.com/Blog/FuturePosts.aspx');&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And that is it. It works, it is safe, it can’t really break anything, and it will probably survive blog upgrades.&lt;/p&gt;&lt;img src="http://ayende.com/Blog/aggbug/10993.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ayende Rahien</dc:creator>
            <guid>http://ayende.com/Blog/archive/2009/07/23/extending-subtext-to-report-future-posts.aspx</guid>
            <pubDate>Thu, 23 Jul 2009 19:49:38 GMT</pubDate>
            <comments>http://ayende.com/Blog/archive/2009/07/23/extending-subtext-to-report-future-posts.aspx#feedback</comments>
            <slash:comments>6</slash:comments>
            <wfw:commentRss>http://ayende.com/Blog/comments/commentRss/10993.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>