User snipper - SnippetGoodmost recent 30 from http://snippetgood.com2010-07-29T23:50:09Zhttp://snippetgood.com/feeds/user/2http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://snippetgood.com/questions/79/what-doctype-is-best-for-standards-and-cross-browser-compliance/160#160Answer by Snipper for What doctype is best for standards and cross browser compliance?Snipper2010-02-19T18:32:51Z2010-02-19T18:32:51Z<p>I've expanded on doctypes here: <a href="http://danvogler.com/articles/doctypes-w3c-validator.html" rel="nofollow">http://danvogler.com/articles/doctypes-w3c-validator.html</a></p>
http://snippetgood.com/questions/79/what-doctype-is-best-for-standards-and-cross-browser-complianceWhat doctype is best for standards and cross browser compliance?Snipper2009-10-11T21:11:03Z2010-02-19T18:32:51Z
<p>Hello,
I know there are a few different doctypes out there, but which is a good one to use and benefits associated with it?</p>
<p>Thank you,
Ronson</p>
http://snippetgood.com/questions/159/apache-and-iis-compressionApache and IIS CompressionSnipper2010-02-01T01:58:06Z2010-02-01T01:58:06Z
<p>If you're wondering how you can do compression using apache and IIS 6 and 7 check out the this article</p>
<p><a href="http://www.danvogler.com/articles/apache-iis-compression.html" rel="nofollow">www.danvogler.com</a></p>
http://snippetgood.com/questions/158/what-is-the-shoemoney-systemWhat is The ShoeMoney System?Snipper2010-01-10T17:03:19Z2010-01-10T17:03:19Z
<p>The ShoeMoney System is one of our trusted sponsors. I've used the system personally, and many other techniques Jeremy Schoemaker has there's no doubt that this is the quickest way to advertise your site.</p>
<p><a href="http://www.shoemoneysystem.com/its-coming/?c=dvogler1" rel="nofollow">http://www.shoemoneysystem.com/its-coming/?c=dvogler1</a></p>
<p>Signup and you'll get four more videos. Watch them! It's a great intro to what internet marketing has to offer. If you think this offer is cheesy, it's not! </p>
http://snippetgood.com/questions/120/b-or-strong<b> or <strong>?Snipper2009-10-23T03:15:54Z2009-11-11T04:39:16Z
<p>Let's talk html. Why am I told to use the <code><strong></code> tag instead of <code><b></code>? Was <code><b></code> too confusing?</p>
http://snippetgood.com/questions/142/how-can-i-detect-which-browser-a-visitor-is-usingHow can I detect which browser a visitor is using?Snipper2009-10-31T15:45:38Z2009-10-31T15:45:38Z
<p>I want to show different content or give display a message to visitors using a specific browser.</p>
<p>Using javascript (or maybe jquery) or .NET can I detect the browser?</p>
http://snippetgood.com/questions/141/how-do-i-find-a-good-web-host-for-my-snippetsHow do I find a good web host for my snippets?Snipper2009-10-29T18:23:44Z2009-10-29T18:23:44Z
<p>Alright, I'm not asking for a snippet, but this is a <strong><em>very</em></strong> important question.</p>
<p><strong>How do I find and choose the right host for my website?</strong></p>
<p>I want a host that has reliable systems and good customer service.</p>
http://snippetgood.com/questions/140/a-calendar-for-your-websiteA calendar for your website?Snipper2009-10-29T17:54:27Z2009-10-29T17:54:27Z
<p>I've got some events I woud like to organize in a calendar, and I don't want to spend a lot of time with complicated systems. I found an calendar made in tables. </p>
<pre><code><TABLE BORDER=3 CELLSPACING=3 CELLPADDING=3>
<TR>
<TD COLSPAN="7" ALIGN=center><B>December 2001</B></TD>
</TR>
<TR>
<TD COLSPAN="7" ALIGN=center><I>Another year comes to an end</I></TD>
</TR>
<TR>
<TD ALIGN=center>Sun</TD>
<TD ALIGN=center>Mon</TD>
<TD ALIGN=center>Tue</TD>
<TD ALIGN=center>Wed</TD>
<TD ALIGN=center>Thu</TD>
<TD ALIGN=center>Fri</TD>
<TD ALIGN=center>Sat</TD>
</TR>
<TR>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
<TD ALIGN=center>1</TD>
</TR>
<TR>
<TD ALIGN=center>2</TD>
<TD ALIGN=center>3</TD>
<TD ALIGN=center>4</TD>
<TD ALIGN=center>5</TD>
<TD ALIGN=center>6</TD>
<TD ALIGN=center>7</TD>
<TD ALIGN=center>8</TD>
</TR>
<TR>
<TD ALIGN=center>9</TD>
<TD ALIGN=center>10</TD>
<TD ALIGN=center>11</TD>
<TD ALIGN=center>12</TD>
<TD ALIGN=center>13</TD>
<TD ALIGN=center>14</TD>
<TD ALIGN=center>15</TD>
</TR>
<TR>
<TD ALIGN=center>16</TD>
<TD ALIGN=center>17</TD>
<TD ALIGN=center>18</TD>
<TD ALIGN=center>19</TD>
<TD ALIGN=center>20</TD>
<TD ALIGN=center>21</TD>
<TD ALIGN=center>22</TD>
</TR>
<TR>
<TD ALIGN=center>23</TD>
<TD ALIGN=center>24</TD>
<TD ALIGN=center>25</TD>
<TD ALIGN=center>26</TD>
<TD ALIGN=center>27</TD>
<TD ALIGN=center>28</TD>
<TD ALIGN=center>29</TD>
</TR>
<TR>
<TD ALIGN=center>30</TD>
<TD ALIGN=center>31</TD>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
<TD ALIGN=center></TD>
</TR>
</TABLE>
</code></pre>
<p>I would much prefer an asp or php coded app. Is there anything I can use?</p>
http://snippetgood.com/questions/50/how-can-i-make-a-basic-jquery-rotator/138#138Answer by Snipper for How can I make a basic jquery rotator?Snipper2009-10-29T17:41:24Z2009-10-29T17:41:24Z<p>I'm also using a similar script you can view at audinow.com. View the arouce to grab the plugin. I'll edit if I find the source for "Simple Gallery".</p>
http://snippetgood.com/questions/129/how-can-i-display-formatted-rss-data-in-a-div/135#135Answer by Snipper for How can I display formatted rss data in a DIVSnipper2009-10-28T02:59:55Z2009-10-28T02:59:55Z<p>If you have access to an xml you can use something like this:</p>
<pre><code> $(function() {
$.ajax({
type: "GET",
url: "myxml.xml",
dataType: "xml",
success: function(xml) {
$(xml).find('infoContainer').each(function() {
var day = $(this).find('nodeName').text();
$("#xml-container").append("<div class='day'>" + day + "</div>");
}
}
});
}
});
</code></pre>
<p>more information: <a href="http://think2loud.com/reading-xml-with-jquery/" rel="nofollow">http://think2loud.com/reading-xml-with-jquery/</a></p>
http://snippetgood.com/questions/119/wrap-text-around-image-with-html-and-cssWrap text around image with html and css.Snipper2009-10-23T03:11:01Z2009-10-23T03:16:29Z
<p>How can I wrap text around an image? </p>
<p>The image can be in the top left or right. </p>
<p>I'm thinking of using a graphical image for a drop case letter, or a profile picture with text wrapping around it.</p>
http://snippetgood.com/questions/80/how-can-i-use-meta-tags-in-my-website/82#82Answer by Snipper for How can I use meta tags in my website?Snipper2009-10-11T21:53:42Z2009-10-11T21:53:42Z<p>Meta tags aren't a cure-all for your seo needs, but they do influence robots that crawl your site.</p>
<pre><code><head>
<meta name="keywords" content="keyword1,keyword2,keyword3" />
<meta name="description" content="Here is a description of the webpage." />
</head>
</code></pre>
<p>I use a nice a tool - www.spacky.com. It shows you how many times a keyword or phrase is searched, but I like the related results feature.</p>
http://snippetgood.com/questions/77/a-good-image-tag-for-better-search-results/78#78Answer by Snipper for A good image tag for better search resultsSnipper2009-10-11T21:06:17Z2009-10-11T21:06:17Z<p>Here's a good image tag that will get you better search results if you're not using it already. The alternate text and title tags help bots recognize the content of the image. Also remember that larger images in size and quality out rank the smaller guys.</p>
<pre><code><img src="" alt="" title="" />
</code></pre>
http://snippetgood.com/questions/65/current-year-copyright-line-in-php/67#67Answer by Snipper for Current Year Copyright Line in PHPSnipper2009-10-11T01:55:59Z2009-10-11T02:05:42Z<p>PHP - Display Currenty Year:</p>
<pre><code><?php echo date("Y") ?>
</code></pre>
<p>Many a folk like to use this for copyrite displays.</p>
http://snippetgood.com/questions/66/current-year-copyright-line-in-asp/68#68Answer by Snipper for Current Year Copyright Line in ASPSnipper2009-10-11T02:05:15Z2009-10-11T02:05:15Z<p>ASP - Display Current Year:</p>
<pre><code><%=DateTime.Now.Year%>
</code></pre>
<p>Many people use this for copyrite.</p>
http://snippetgood.com/questions/60/excel-sheet-to-html-on-website/62#62Answer by Snipper for Excel Sheet to HTML on Website?Snipper2009-10-10T18:45:40Z2009-10-10T18:45:40Z<p>I wouldn't normally recommend software for a task that can be done, I'm sure, in many other ways, but in this case I used the trial version of software for a an excel doc I needed online. </p>
<p>There's a utility called <a href="http://www.mvps.org/dmcritchie/excel/xl2html.htm" rel="nofollow">XL2HTML</a>. This was nice for me because it installs as a plugin for excel. I installed it on office 2007 without any issues. One thing I really liked was the search function it created in the .htm export.</p>
http://snippetgood.com/questions/48/ninjafy-javascript-halloween-pirates-or-ghosts-or-ninjas/49#49Answer by Snipper for Ninjafy Javascript Halloween Pirates or Ghosts or NinjasSnipper2009-10-08T22:45:21Z2009-10-08T22:45:21Z<p>A wise friend of ours suggests you ninjafy your site courtesy of <a href="http://ninjafy.com/" rel="nofollow">http://ninjafy.com/</a></p>
<pre><code><a href="#" onclick="ninjafy_add();return false;">
<img src="http://ninjafy.com/assets/ninjafy.gif" width="52" height="15" border="0" alt="ninjafy!" /></a>
<script type="text/javascript" src="http://ninjafy.com/js/ninjafy.js"></script>
</code></pre>
<p>You could probably adapt the script therein to suit your theme needs.</p>
http://snippetgood.com/questions/31/using-windows-built-in-ftp-application-with-batch-files/32#32Answer by Snipper for Using Windows built in FTP application with batch files.Snipper2009-10-02T23:31:53Z2009-10-02T23:31:53Z<p>Hi there, yes, windows has a built-in FTP app. I would use it to move small files, but nothing intensive.</p>
<p>Here you can schedule a task to run the batch file. It refers to the .txt that controls the FTP session:</p>
<p>ftpsite.bat</p>
<pre><code>ftp -s:ftpsite.txt ftp.domain.com
</code></pre>
<p>ftpjobrun.txt</p>
<pre><code>yourUserName
yourPassword
bin
cd /files
put file.zip
bye
</code></pre>
http://snippetgood.com/questions/13/how-do-i-log-in-with-an-openid/14#14Answer by Snipper for How do I log in with an OpenID?Snipper2009-10-01T03:01:25Z2009-10-02T14:30:27Z<p>You do not need to register if you just want to ask or answer a question. You do need to register if you want to earn reputation which lets you vote, retag, and edit.</p>
<p>To register for SnippetGood.com, click the login link at the top of the page. Rather than storing users and passwords ourselves, SnippetGood.com integrates with OpenID accounts. Basically this is a new "login once, go to any site" technology. If you already have one (it will look like a web address starting with http:// your-username.your-provider.com /), then enter it into the text box on the login page (including the http://) and click the Login button. If you don't have one (or think you don't have one), keep reading...</p>
<p>Any website can become an OpenID provider. Many, like Google, Facebook, and Yahoo! already are. If you don't have any of those, you can get a new OpenID by following this procedure:</p>
<ul>
<li>
Go to <a href="https://www.myopenid.com/signup" rel="nofollow">https://www.myopenid.com/signup</a></li><li>
Make up a user name Put in a password</li><li>
Enter any email address you want to use</li><li>
Enter the text in the captcha</li><li>
Check the I Agree to... checkbox</li><li>
Click Sign Up</li>
</ul>
<p>That should give you an OpenID and it will look like a website address (<a href="http://...myopenid.com" rel="nofollow">http://...myopenid.com</a>). You can use that on any OpenID site including SnippetGood.com.</p>
<p><strong>Sources:</strong><br />
<em><a href="http://moms4mom.com/questions/6/how-do-i-log-in-with-an-openid" rel="nofollow">http://moms4mom.com/questions/6/how-do-i-log-in-with-an-openid</a></em> <br />
<em><a href="http://stopthesearch.com/questions/4/how-do-i-log-in-with-an-openid" rel="nofollow">http://stopthesearch.com/questions/4/how-do-i-log-in-with-an-openid</a></em></p>
http://snippetgood.com/questions/16/can-i-use-net-to-return-an-ip/17#17Answer by Snipper for Can I use .NET to return an IP?Snipper2009-10-01T04:50:51Z2009-10-01T04:50:51Z<p>This will return your IP.</p>
<pre><code>Public Function GetExternalIP(ByVal Provider As String) As String
Dim WebReq As HttpWebRequest = HttpWebRequest.Create(Provider)
Dim WebRes As HttpWebResponse = WebReq.GetResponse()
Dim ResStream As System.IO.Stream = WebRes.GetResponseStream
Dim ResStreamReader As New StreamReader(ResStream, Encoding.UTF8)
Dim IP As String = ResStreamReader.ReadToEnd
ResStream.Close()
WebRes.Close()
Return IP
End Function
</code></pre>
http://snippetgood.com/questions/48/ninjafy-javascript-halloween-pirates-or-ghosts-or-ninjas/116#116Comment by SnipperSnipper2009-10-29T17:37:11Z2009-10-29T17:37:11ZThis is an awesome script to add a cool halloween touch. Easy to do, not 1990's annoying!