background preloader

Scripts

Facebook Twitter

Slider

HTML Resume Template | alexking.org. I was updating my resume and wasn’t sure how I wanted to format it in HTML. Being on the lazy side, I didn’t want to have to copy/paste the HTML for each job I listed – anyway, I made a simple PHP page to do the grunt work for me. I also included a JavaScript that might keep your email address from being harvested by junk mailers. Feel free to use it if you like. Example History Version 2.2 adds the ability to include links and hand-coded HTML in the HTML output. Version 2.1 adds a ‘self-contained’ HTML version (suitable for e-mailing). Version 2.0 is released under the GPL license and includes a number of nice enhancements including: Valid XHTML 1.1 and CSS outputSeparate CSS for screen and for print.Plain text output option.Cleaned up code to make it simpler to add data. DevSnippets.

Dynamic Drive DHTML(dynamic html) &amp; JavaScript code library. Random Image Script. Released on May 10, 2003Last Updated: May 10, 2003 3:44 AMVersion: 1.1 Description This is your standard random image script that takes a slightly different approach than most, namely using standard HTTP headers instead of reading the file through the script. Installation/Usage For the simplest possible installation, just drop this code in a directory with the images you want to rotate, and call it like you would a normal image, for example: Code A Rotator Apart <?

*/// Make this the relative path to the images, like ".. // Space seperated list of extensions, you probably won't have to change this. $files = array(); $i = -1; // Initialize some variables if ('' == $folder) $folder = ' $handle = opendir($folder); $exts = explode(' ', $exts); while (false ! Header('Location: '. Notes For additional information about the thinking behind this script, see A Better Image Rotator. Like this: Like Loading... Twitter Syndication. RSS to Twitter code. I've been a Twitter user for a few weeks now and have come across many tools to help with Twitter posting and integration.

I have also seen several Twitter mashups that essentially do RSS to Twitter and have become rather popular. At first it might sound stupid to use Twitter for syndication instead of tried and true RSS, but simply put, Twitter users are always aware of Twitter happenings, creating a more effective syndication experience. I like to call it micro-syndication as you only have 144 characters to get your point across. After a bit of research the best way I could find to carry out RSS to Twitter involved a Jabber bot package for Ruby. If you don't know how to use or setup a cron job to execute the script, you can just run the script manually whenever your feed gets updated. The main source code for RSS to Twitter v0.1, based on this code. Installation Download, unpack and upload to a public directory on your server. Comments. Script to turn Twitter into HTML. Twitter Scripts. XML 101 Index. Lesson 1. Introduction to XML what is it? How can it be used? Why should people learn it? Lesson 2.

XML Rules syntax well-formed valid Lesson 3. What are they? Lesson 4. Parts of an XML document what are XML elements? Lesson 5. Compare XML attributes to HTML attributes modify your XML elements Lesson 6. What is a DTD? Lesson 7. Difference between DTDs and schemas creating a schema complex and simple types Lesson 8. What they are how to declare a namespace why use namespaces Lesson 9.

What is XSL (as opposed to XSLT)? Lesson 10. XHTML and XHTML Modules XForms XPath XLink CDF, P3P, WML, SOAP, VoiceXML, etc. Class Maintenance Get More Help If you need more help with XML - post your question to the Web Design forum.