<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
<title>CodeStore.net comments on "New Article Alerts Using CSS"</title>
<description>Replies to blog "New Article Alerts Using CSS" on codestore.net.</description>
<link>http://www.codestore.net/</link>
<lastBuildDate>Sun, 10 Aug 2003 03:59:00 +0100</lastBuildDate>
<atom:link href="http://www.codestore.net/store.nsf/blog.xml?Open=20031007" rel="self" type="application/rss+xml" />

<item>
	<title>Reply from mt69clp</title>
	<pubDate>Sun, 10 Aug 2003 03:59:00 +0100</pubDate>
	<author>mt69clp</author>
	<description><![CDATA[ 
		<p>it really WAS a caching problem :-)<br /></p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D52425D2AF98C90E86256DB90031683E"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20031007?OpenDocument#DOC_D52425D2</link>
</item><item>
	<title>Reply from Jake</title>
	<pubDate>Sun, 10 Aug 2003 02:26:00 +0100</pubDate>
	<author>Jake</author>
	<description><![CDATA[ 
		<p>If you don't see them it's more than likely a caching problem. Ctrl+F5.<br /></p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D2906749C16C815086256DB90028DD03"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20031007?OpenDocument#DOC_D2906749</link>
</item><item>
	<title>Reply from mt69clp</title>
	<pubDate>Sun, 10 Aug 2003 01:01:00 +0100</pubDate>
	<author>mt69clp</author>
	<description><![CDATA[ 
		<p>no hot links for me :-(<br /></p>
		<p>I tested it with Firebird and IE6, but never saw a red link.<br /></p>
		<p>Anyway, the content is more interesting for me as the colors are...<br /></p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=4B20645AD00EF55B86256DB900211243"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20031007?OpenDocument#DOC_4B20645A</link>
</item><item>
	<title>Reply from Chris Toohey</title>
	<pubDate>Thu, 10 Jul 2003 11:30:00 +0100</pubDate>
	<author>Chris Toohey</author>
	<description><![CDATA[ 
		<p>Actually, I don't blame you - why go into the development of that part of your website if you're the only one that needs to see/use it.  If it works for you, then it's good enough.<br /></p>
		<p>I just like to be able to show my friends how my site pretty much takes care of itself as far as stuff like that.<br /></p>
		<p>Now if I can just get the blogs, articles and tips flowing...<br /></p>
		<p>-Chris<br /></p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=72C0C1651EE68EAC86256DB8005AA9F9"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20031007?OpenDocument#DOC_72C0C165</link>
</item><item>
	<title>Reply from Jake</title>
	<pubDate>Thu, 10 Jul 2003 11:16:00 +0100</pubDate>
	<author>Jake</author>
	<description><![CDATA[ 
		<p>Chris. There is nothing at all fancy about my "hot links". I create the link text manually in a "setting" document called "Most Recent". I then do a lookup to it each time the page loads. Not pretty and not something I would use in practice but it does the job. The time-frame for how long an article remains "hot" is then completely down to me. Be it 7 days or 7 weeks. <br /></p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=5046C5DAE0FB1EEF86256DB800595E60"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20031007?OpenDocument#DOC_5046C5DA</link>
</item><item>
	<title>Reply from Chris Toohey</title>
	<pubDate>Thu, 10 Jul 2003 10:04:00 +0100</pubDate>
	<author>Chris Toohey</author>
	<description><![CDATA[ 
		<p>I don't know how codestore's setup (prob smarter than my site I'm certain) but I would do this:<br /></p>
		<p>Your URLs are built with settings from the article document itself (which I would imagine that you're doing).<br /></p>
		<p>I would create a computed field called IsHot, which I would set to the following:<br /></p>
		<p>@If(<br /></p>
		<p>@Today &lt; @Adjust(PublishDate;0;0;14;0;0;0); <br /></p>
		<p>"class=\"hotArticle\""; "")<br /></p>
		<p>Now, when you're building your links, simply use the following syntax:<br /></p>
		<p>"&lt;" + "a href=\"" + link + "\" title=\"" + title + "\" " + isHot + "&gt;" + display + "&lt;" + "/a" + "&gt;"<br /></p>
		<p>(I hacked up the above because I didn't know what sort of replacement of strings you use on your postings...)<br /></p>
		<p>Lastly, I would create a sleeper agent (run nightly) that basically runs through the documents in your articles view, finds ones where the isHot value is "class=\"hotArticle\"", check the date-publish date comparison and change the value if needed by calling your working agent to change the current document.<br /></p>
		<p>That way you're allowing your users to view the articles "hot" for 14 days, switching it off if they've viewed the documents, but allow the document to reside there past 14 days (let's say a month, or your last 3 published) and not have to worry about confusing them if they drop their cache and history!<br /></p>
		<p>I know... I'll shut up now ;-)<br /></p>
		<p>-Chris<br /></p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=C7029043EB6F76C086256DB80052CE4D"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20031007?OpenDocument#DOC_C7029043</link>
</item>

</channel>
</rss> 
