<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Gen-Y Librarian &#187; HTML</title>
	<atom:link href="http://ygenlibrarian.wordpress.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://ygenlibrarian.wordpress.com</link>
	<description>My thoughts.</description>
	<lastBuildDate>Mon, 21 Jul 2008 21:00:58 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ygenlibrarian.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/0bbf73f6547bce2986d0407de579126a?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Gen-Y Librarian &#187; HTML</title>
		<link>http://ygenlibrarian.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ygenlibrarian.wordpress.com/osd.xml" title="Gen-Y Librarian" />
		<item>
		<title>ASP code for library hours</title>
		<link>http://ygenlibrarian.wordpress.com/2007/12/20/asp-code-for-library-hours/</link>
		<comments>http://ygenlibrarian.wordpress.com/2007/12/20/asp-code-for-library-hours/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 04:38:24 +0000</pubDate>
		<dc:creator>Logan</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://libguy.info/?p=17</guid>
		<description><![CDATA[Today I spent most of my day writing an ASP code from scratch that will display our hours based on the date.  While this sounds simple, here are the steps I followed:

Set a variable today as Date()
Declare the base rule  for the three days we have the same hours.
Set exceptions by day of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygenlibrarian.wordpress.com&blog=3937609&post=17&subd=ygenlibrarian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today I spent most of my day writing an ASP code from scratch that will display our hours based on the date.  While this sounds simple, here are the steps I followed:</p>
<ul>
<li>Set a variable <em>today </em>as Date()</li>
<li>Declare the base rule  for the three days we have the same hours.</li>
<li>Set exceptions by day of the week above that</li>
<li>Set our closed for the holiday dates above the standard hours</li>
<li>Set our finals hours above those</li>
</ul>
<p>Since ASP executes in a logical &#8220;If..Elseif&#8230;Else..End if&#8221; statement, this works.  However, I then realized one fact: we&#8217;re open past midnight at times.  I don&#8217;t want the next days hours to start until 1:00am.  A quick chat with our campus ASP person to figure out what to do and some creative errors (don&#8217;t we learn best by errors?) I was able to declare the following statement:</p>
<p><span style="text-decoration:line-through;">If Time() &lt; &#8220;01:01 AM&#8221; then<br />
today = DateAdd(&#8220;d&#8221;,-1,today)</span></p>
<p><strong>Update:</strong></p>
<p>Dim miltime<br />
miltime = FormatDateTime(today,4)<br />
If miltime &lt; &#8220;01:01:00&#8243; Then<br />
today = DateAdd(&#8220;d&#8221;,-1,today)</p>
<p>This says that if it&#8217;s before 1:01am, then subtract one day from the date, effectively turning back time.</p>
<p>Easy enough, eh?  Well, I decided I didn&#8217;t like the standard time display &#8220;Wednesday, December 19, 2007.&#8221;  So, I used some more ASP to break it apart and display the Month, Day and a new variable called <em>ord</em> which stands for the ordinal number contraction (st, nd, rd, th).  I threw that in an If..Then statement right after the time statement but before the hours designation.   All in all, it worked out.</p>
<p>Bottom line: Email me if you want the code: libguy@libguy.info.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ygenlibrarian.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ygenlibrarian.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygenlibrarian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygenlibrarian.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygenlibrarian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygenlibrarian.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygenlibrarian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygenlibrarian.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygenlibrarian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygenlibrarian.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygenlibrarian.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygenlibrarian.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygenlibrarian.wordpress.com&blog=3937609&post=17&subd=ygenlibrarian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ygenlibrarian.wordpress.com/2007/12/20/asp-code-for-library-hours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cdc5bb208e6d7b531f8bc048ed9e6fc6?s=96&#38;d=identicon" medium="image">
			<media:title type="html">ltr2</media:title>
		</media:content>
	</item>
		<item>
		<title>Database description/link maintence: how we do it.</title>
		<link>http://ygenlibrarian.wordpress.com/2007/10/11/database-descriptionlink-maintence-how-we-do-it/</link>
		<comments>http://ygenlibrarian.wordpress.com/2007/10/11/database-descriptionlink-maintence-how-we-do-it/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 16:58:57 +0000</pubDate>
		<dc:creator>Logan</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://libguy.info/?p=7</guid>
		<description><![CDATA[Keeping databases and descriptions up to date can be a daunting task.  While lots of places use ASP and an mdb, we&#8217;re doing it slightly different &#8211; with includes.  Yes, it&#8217;s more work, but it&#8217;ll work out easier for the technical abilities of other librarians here.

Each database is stored in a .html file [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygenlibrarian.wordpress.com&blog=3937609&post=7&subd=ygenlibrarian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Keeping databases and descriptions up to date can be a daunting task.  While lots of places use ASP and an mdb, we&#8217;re doing it slightly different &#8211; with includes.  Yes, it&#8217;s more work, but it&#8217;ll work out easier for the technical abilities of other librarians here.</p>
<ol>
<li>Each database is stored in a .html file with the html coding and description for that database.</li>
<li>In the code for the web page on whichi we wish to display the database we use a &lt;!&#8211;#include &#8211;&gt; command to include the text from that file.</li>
<li>Updating the .htm for the database will automatically update it on each page where that database is listed.</li>
</ol>
<p>It works for us, since we don&#8217;t feel like getting deep into SQL and ASP.  If you want, I can share the procedure from the beginning to the end.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ygenlibrarian.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ygenlibrarian.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygenlibrarian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygenlibrarian.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygenlibrarian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygenlibrarian.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygenlibrarian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygenlibrarian.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygenlibrarian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygenlibrarian.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygenlibrarian.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygenlibrarian.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygenlibrarian.wordpress.com&blog=3937609&post=7&subd=ygenlibrarian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ygenlibrarian.wordpress.com/2007/10/11/database-descriptionlink-maintence-how-we-do-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cdc5bb208e6d7b531f8bc048ed9e6fc6?s=96&#38;d=identicon" medium="image">
			<media:title type="html">ltr2</media:title>
		</media:content>
	</item>
		<item>
		<title>RSS in your webpage</title>
		<link>http://ygenlibrarian.wordpress.com/2007/10/10/rss-in-our-webpage/</link>
		<comments>http://ygenlibrarian.wordpress.com/2007/10/10/rss-in-our-webpage/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 18:08:38 +0000</pubDate>
		<dc:creator>Logan</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://libguy.info/?p=6</guid>
		<description><![CDATA[RSS feeds are great ways for patrons to access your page without actually accessing your page.  They can keep up to date on everything in a blog simply by subscribing to the blog.  While they may not see any pretty pictures, they will read (like plain text email) everything that you put in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygenlibrarian.wordpress.com&blog=3937609&post=6&subd=ygenlibrarian&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a title="RSS feeds" href="http://www.webreference.com/authoring/languages/xml/rss/intro/">RSS feeds</a> are great ways for patrons to access your page without actually accessing your page.  They can keep up to date on everything in a blog simply by subscribing to the blog.  While they may not see any pretty pictures, they will read (like plain text email) everything that you put in your blog.  It&#8217;s simple, too!</p>
<p>Here&#8217;s all it takes to make firefox (and other browsers) recognize the fact that your page has an RSS feed:</p>
<p>In the &lt;head&gt; tag:</p>
<p>&lt;link rel=&#8221;alternate&#8221; type=&#8221;application/rss+xml&#8221; href=&#8221;{URL of your feed}&#8221; /&gt;</p>
<p>Start using it today!</p>
<p>On another note, look at how nice it is in upstate New York in the Fall:</p>
<p><img src="http://libguy.info/images/outsidem1.jpg" alt="Outside the library" width="400" height="300" /></p>
<p><img src="http://libguy.info/images/outsidem2.jpg" alt="Outside the library 2" width="400" height="300" /></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ygenlibrarian.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ygenlibrarian.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ygenlibrarian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ygenlibrarian.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ygenlibrarian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ygenlibrarian.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ygenlibrarian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ygenlibrarian.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ygenlibrarian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ygenlibrarian.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ygenlibrarian.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ygenlibrarian.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ygenlibrarian.wordpress.com&blog=3937609&post=6&subd=ygenlibrarian&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ygenlibrarian.wordpress.com/2007/10/10/rss-in-our-webpage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cdc5bb208e6d7b531f8bc048ed9e6fc6?s=96&#38;d=identicon" medium="image">
			<media:title type="html">ltr2</media:title>
		</media:content>

		<media:content url="http://libguy.info/images/outsidem1.jpg" medium="image">
			<media:title type="html">Outside the library</media:title>
		</media:content>

		<media:content url="http://libguy.info/images/outsidem2.jpg" medium="image">
			<media:title type="html">Outside the library 2</media:title>
		</media:content>
	</item>
	</channel>
</rss>