<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>The House of AnimeJB &#187; Tips &#038; Tricks</title>
	<atom:link href="http://www.animejb.net/category/tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.animejb.net</link>
	<description>The House of AnimeJB</description>
	<pubDate>Mon, 20 Oct 2008 19:20:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>cal@animejb.net ()</managingEditor>
		<webMaster>cal@animejb.net()</webMaster>
		<category></category>
		<ttl>1440</ttl>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>The House of AnimeJB</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>cal@animejb.net</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.animejb.net/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.animejb.net/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>The House of AnimeJB</title>
			<link>http://www.animejb.net</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Editing New, Send To, and Other Windows Vista Context Menus</title>
		<link>http://www.animejb.net/2008/05/14/editing-new-send-to-and-other-windows-vista-context-menus</link>
		<comments>http://www.animejb.net/2008/05/14/editing-new-send-to-and-other-windows-vista-context-menus#comments</comments>
		<pubDate>Wed, 14 May 2008 21:46:04 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Tips &#038; Tricks]]></category>

		<category><![CDATA[Vista]]></category>

		<category><![CDATA[computers]]></category>

		<category><![CDATA[menus]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2008/05/14/editing-new-send-to-and-other-windows-vista-context-menus</guid>
		<description><![CDATA[It took me a bit to scour the internet and find all the information I needed to get rid of annoying extra items in my Windows Vista context menus.  Of ultimate annoyance were the &#8220;Send To&#8221; and &#8220;New&#8221; menus.
Many sites weren&#8217;t of any help at all, and some replies to this question on forums [...]]]></description>
			<content:encoded><![CDATA[<p>It took me a bit to scour the internet and find all the information I needed to get rid of annoying extra items in my Windows Vista context menus.  Of ultimate annoyance were the &#8220;Send To&#8221; and &#8220;New&#8221; menus.</p>
<p>Many sites weren&#8217;t of any help at all, and some replies to this question on forums were met with, &#8220;Uninstall the program&#8221;, which is perhaps the stupidest answer of all.</p>
<p>So here&#8217;s the resources I finally used, so you don&#8217;t need to look anymore.</p>
<p><strong>Removing &#8220;Send To&#8221; Entries:</strong><br />
<a href="http://www.howtogeek.com/howto/windows-vista/customize-the-windows-vista-send-to-menu/">Customize the Windows Vista Send To Menu</a> - Simple, easy, and won&#8217;t break your computer.</p>
<p><strong>Removing &#8220;New&#8221; Entries:</strong><br />
<a href="http://www.annoyances.org/exec/show/article05-010">Clear Unwanted Entries from Explorer&#8217;s New Menu </a> - For the more advanced only!  You&#8217;ll have to edit your registry for this, but it&#8217;s relatively straightforward.</p>
<p><strong>General Menu Customization</strong><br />
<a href="http://www.bestvistadownloads.com/software/t-free-fast-explorer-download-xpbwnuol.html">Fast Explorer</a> - For the more advanced only!  It was useful for getting rid of one of my general context menus that popped up on any file or folder I clicked for an archive program I used.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2008/05/14/editing-new-send-to-and-other-windows-vista-context-menus/feed</wfw:commentRss>
		</item>
		<item>
		<title>Short Rant:  The Problem With Linux</title>
		<link>http://www.animejb.net/2007/09/26/short-rant-the-problem-with-linux</link>
		<comments>http://www.animejb.net/2007/09/26/short-rant-the-problem-with-linux#comments</comments>
		<pubDate>Wed, 26 Sep 2007 17:21:20 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[computers]]></category>

		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2007/09/26/short-rant-the-problem-with-linux/</guid>
		<description><![CDATA[Here&#8217;s the problem with Linux.
Within the past two years or so, there have been GIANT LEAPS in usability on Linux platforms.  The latest version of Ubuntu is an awesome testament to that fact.  The last time I tried to configure a Linux machine - I think it was an installation of Suse - [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the problem with Linux.</p>
<p>Within the past two years or so, there have been GIANT LEAPS in usability on Linux platforms.  <a href="http://www.ubuntu.com/">The latest version of Ubuntu</a> is an awesome testament to that fact.  The last time I tried to configure a Linux machine - I think it was an installation of Suse - I managed to break it within a few hours after it was installed.  I&#8217;ve also managed to kill Kubuntu before.  I haven&#8217;t broken Ubuntu 7.04 (Feisty) yet.  This is a sign from the Gods.</p>
<p>So what&#8217;s the problem?</p>
<p>The problem is when a new user, like me, needs to get something done, obviously they turn to &#8220;experienced&#8221; Linux users, and the first thing those users say is, &#8220;open a terminal and type&#8230;&#8221;</p>
<p>This is very discouraging for those of us using the new installations and wondering why there isn&#8217;t a way to do it through the normal interface.  The thing is - there ARE ways to do it through the normal interface now, but the people who have been using Linux forever only know how to do it through the terminal and find it easier that way - even though it isn&#8217;t easier for the rest of us who are graphics-oriented.</p>
<p>I&#8217;m not saying those of you who are using the terminal are wrong or bad people.  And I know that a lot of people coming to you guys with questions have not &#8220;RTFM&#8217;ed&#8221;.  But just be aware that help documents have improved, and that they and other system configurations no longer need to be accessed from the terminal.</p>
<p>And to new Linux users out there - pick up a modern installation and try to RTFM.  And stop asking experienced users &#8220;how&#8221; to do things.  It&#8217;s one thing to ask, &#8220;Is it possible to do this?&#8221; or, &#8220;What&#8217;s it called when you do this?&#8221; so you know how where to look in your manuals, but if you ask an experienced Linux user &#8220;how&#8221; to actually do it, you&#8217;re going to be in for a world of hurt.  Just so you know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2007/09/26/short-rant-the-problem-with-linux/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to See Pretty Subtitles for MKVs and SoftSubs</title>
		<link>http://www.animejb.net/2007/04/26/how-to-see-pretty-subtitles-for-mkvs-and-softsubs</link>
		<comments>http://www.animejb.net/2007/04/26/how-to-see-pretty-subtitles-for-mkvs-and-softsubs#comments</comments>
		<pubDate>Thu, 26 Apr 2007 18:28:23 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Tips &#038; Tricks]]></category>

		<category><![CDATA[computers]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[mkvs softsubs]]></category>

		<category><![CDATA[subtitles]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2007/04/26/how-to-properly-watch-mkvs-and-softsubs/</guid>
		<description><![CDATA[There&#8217;s been a lot of debate going around about subbing groups encoding things with SoftSubs or in MKV format.  I used to hate those things too, but now I find that they&#8217;re pretty awesome, especially for taking screenshots!  So I did a little research and put together a little guide to get things [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s been a lot of debate going around about subbing groups encoding things with SoftSubs or in MKV format.  I used to hate those things too, but now I find that they&#8217;re pretty awesome, especially for taking screenshots!  So I did a little research and put together a little guide to get things looking pretty on Windows and Mac, displaying subtitles the way the group intended for them to look.</p>
<p>To see what I mean, check out these screenshots:</p>
<p><a href='http://www.animejb.net/wp-content/uploads/2007/04/bad_subs.png' title='VLC’s Bad Subtitles'><img src='http://www.animejb.net/wp-content/uploads/2007/04/bad_subs.thumbnail.png' alt='VLC’s Bad Subtitles' /></a> VS. <a href='http://www.animejb.net/wp-content/uploads/2007/04/proper_subs.png' title='MPlayer + asslib Good Subtitles'><img src='http://www.animejb.net/wp-content/uploads/2007/04/proper_subs.thumbnail.png' alt='MPlayer + asslib Good Subtitles' /></a></p>
<p><span id="more-307"></span></p>
<h3>Realize VLC Sucks</h3>
<p>Don&#8217;t get me wrong.  I use VLC all the time - it plays EVERYTHING and it&#8217;s easy to screencap from.  HOWEVER.  For MKVs and SoftSubs, it really, really, <strong>really</strong> sucks. A few issues I&#8217;ve encountered:</p>
<ul>
<li>Displays programming it can&#8217;t understand in curly braces {}.</li>
<li>Displays in an ugly default font.</li>
<li>Sometimes, ugly default font is jaggedy and unreadable depending on the programming.</li>
<li>It renders multiple simultaneous subtitle lines on top of each other, making both unreadable.</li>
</ul>
<p>There&#8217;s more, but these are the ones that irritated me.</p>
<p>Also be aware that VLC has a lot of older codecs and libraries that, besides making ugly subtitles, cause other issues, such as the h264 videos loading slower.  Also, their settings are maybe a bit TOO complex and not very user friendly.</p>
<h3>Pretty Subtitles In Windows</h3>
<p>If you&#8217;re watching these types of files in windows, you <em>really</em> ought to be using <a href="http://www.cccp-project.net/">The Combined Community Codec Pack (CCCP)</a>.  Wipe out any other codecs and players on your system and install CCCP, and you will never need anything else.  There&#8217;s nothing more to it!</p>
<p>The site provides you with a utility to help track down your stray codecs, and the pack itself contains two very awesome players - Media Player Classic and Zoom Player.  Don&#8217;t download them separately - use the ones that come with CCCP.  Trust me, you&#8217;ll be glad you did.</p>
<h3>Pretty Subtitles On The Mac</h3>
<p>This is a smidgen more complicated than Windows, but not much more, I promise!</p>
<h4>Step 1</h4>
<p>Download and install <a href="http://www.mplayerhq.hu/design7/dload.html">MPlayer</a>. You want MPlayer OS X 1.0rc1.</p>
<h4>Step 2</h4>
<p>Open up the preferences menu.  On my machine, it&#8217;s on the top bar under MPlayer OSX:</p>
<p><img src='http://www.animejb.net/wp-content/uploads/2007/04/top_menu.png' alt='Mac Top Menu' /></p>
<h4>Step 3</h4>
<p>Under the &#8220;General&#8221; tab, set your font mirroring the settings below.  You don&#8217;t have to use Gulim - any true type font (.ttf) will do.  Also feel free to set the font size to &#8220;normal&#8221; instead of &#8220;small&#8221; -I just prefer mine smaller by default.</p>
<p><img src='http://www.animejb.net/wp-content/uploads/2007/04/gen_prefs.png' alt='General/Font Preferences' /></p>
<h4>Step 4: Final Step!</h4>
<p>Click the &#8220;Miscellaneous&#8221; tab.  Check off the &#8220;Additional Settings&#8221; checkbox and paste in this line:</p>
<pre>-ass -embeddedfonts -correct-pts -sid 0</pre>
<p>If this doesn&#8217;t work, try adding <code> -fontconfig</code> at the end.</p>
<p><img src='http://www.animejb.net/wp-content/uploads/2007/04/misc_prefs.png' alt='Misc Preferences' /></p>
<h4>MPlayer Extras</h4>
<p>If you still aren&#8217;t seeing subtitles, be aware of these two shortcut keys:</p>
<ul>
<li>v: toggles subtitles on and off</li>
<li>j: shuffles through subtitles if there is more than one option</li>
</ul>
<h3>REJOICE!</h3>
<p>You should have pretty subtitles now.  These are the best options available as far as I know, though of course there is always a user choice in these things.  Hopefully this has helped you out a little!</p>
<h3>References</h3>
<p>Here are the references and links I&#8217;ve used for this post.</p>
<ul>
<li><a href="http://forums.animesuki.com/showpost.php?p=824048&#038;postcount=28">http://forums.animesuki.com/showpost.php?p=824048&#038;postcount=28</a></li>
<li><a href="http://www.cccp-project.net/">http://www.cccp-project.net/</a></li>
<li><a href="http://www.mplayerhq.hu/design7/dload.html">http://www.mplayerhq.hu/design7/dload.html</a></li>
<li><a href="http://forums.animesuki.com/showpost.php?p=820875&#038;postcount=18">http://forums.animesuki.com/showpost.php?p=820875&#038;postcount=18</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2007/04/26/how-to-see-pretty-subtitles-for-mkvs-and-softsubs/feed</wfw:commentRss>
		</item>
		<item>
		<title>Create .ico files with Photoshop</title>
		<link>http://www.animejb.net/2007/01/10/create-ico-files-with-photoshop</link>
		<comments>http://www.animejb.net/2007/01/10/create-ico-files-with-photoshop#comments</comments>
		<pubDate>Wed, 10 Jan 2007 16:22:26 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Photoshop]]></category>

		<category><![CDATA[images]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2007/01/10/create-ico-files-with-photoshop/</guid>
		<description><![CDATA[It really sucked to have to download freeware .ico makers whenever I wanted to make an icon, only to delete them when I was finished.  Today I finally found a plugin so that I can save as a .ico from Photoshop!]]></description>
			<content:encoded><![CDATA[<p>It really sucked to have to download freeware .ico makers whenever I wanted to make an icon, only to delete them when I was finished.  Today I finally found a plugin so that I can save as a .ico from Photoshop!</p>
<p><a href="http://www.telegraphics.com.au/sw/">Telegraphics</a></p>
<p>It comes with a version for mac and windows.  Spiffy!  Just pop the plugin into the File Format folder as directed in the readme it comes with and you&#8217;re all set.  It&#8217;s also neat that it&#8217;s open source, so you can see how they did it.</p>
<p>There were also a few other links worthy of note:</p>
<ul>
<li>Photoshop .icns plugin (for mac icons) - <a href="http://www.zonic.co.uk/products/iconlab/">IconLab</a></li>
<li>Linux extract and convert icons - <a href="http://www.nongnu.org/icoutils/">icoutil</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2007/01/10/create-ico-files-with-photoshop/feed</wfw:commentRss>
		</item>
		<item>
		<title>Multiple IE Versions on Windows XP</title>
		<link>http://www.animejb.net/2006/11/13/multiple-ie-versions-on-windows-xp</link>
		<comments>http://www.animejb.net/2006/11/13/multiple-ie-versions-on-windows-xp#comments</comments>
		<pubDate>Mon, 13 Nov 2006 14:34:46 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Browsers]]></category>

		<category><![CDATA[applications]]></category>

		<category><![CDATA[computers]]></category>

		<category><![CDATA[internet explorer]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2006/11/13/multiple-ie-versions-on-windows-xp/</guid>
		<description><![CDATA[There are a lot of different tips, techniques, and cheats for installing multiple versions of Internet Explorer on a Windows XP machine.  Most of them are a huge pain in the butt for the functionality, and even then, when you&#8217;re doing it without using a virtual machine, some things still are broken, like cookies [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of different tips, techniques, and cheats for installing multiple versions of Internet Explorer on a Windows XP machine.  Most of them are a huge pain in the butt for the functionality, and even then, when you&#8217;re doing it without using a virtual machine, some things still are broken, like cookies and <a href="http://www.quirksmode.org/css/condcom.html">conditional comments</a>.</p>
<p>Well there&#8217;s a new program out on the block - <a href="http://tredosoft.com/Multiple_IE">Multiple IE by TredoSoft</a>.</p>
<p>The installer allows you to run other versions of IE (versions 3-6) next to your IE 7 installation.  The cookies and conditional comments work right, too!  There are still a few issues, but it&#8217;s clearly better than any other solution out there.</p>
<p>Essentially, you just upgrade your IE6 to IE7 normally so that everything works properly, and then run the Multiple IE installer. <img src='http://www.animejb.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2006/11/13/multiple-ie-versions-on-windows-xp/feed</wfw:commentRss>
		</item>
		<item>
		<title>Dynamic Style Sheets</title>
		<link>http://www.animejb.net/2006/06/29/dynamic-style-sheets</link>
		<comments>http://www.animejb.net/2006/06/29/dynamic-style-sheets#comments</comments>
		<pubDate>Thu, 29 Jun 2006 16:29:44 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2006/06/29/dynamic-style-sheets/</guid>
		<description><![CDATA[This isn&#8217;t about rotating through alternate stylesheets or importing them, or even changing an inline style on an element through Javascript.  Oh no.  This is about creating an actually stylesheet element ON THE FLY.
The reason for this is because for a bit I was just trying to create a long string with the [...]]]></description>
			<content:encoded><![CDATA[<p>This isn&#8217;t about rotating through alternate stylesheets or importing them, or even changing an inline style on an element through Javascript.  Oh no.  This is about creating an actually stylesheet element ON THE FLY.</p>
<p>The reason for this is because for a bit I was just trying to create a long string with the style tags and rules inside it, and then just pop it in the innerHTML of the body.  (Hey, I&#8217;m no Guru, I have a lot to learn!) Needless to say, this caused a few issues.</p>
<p><span id="more-45"></span></p>
<p>At first I tried to use <a href="http://www.howtocreate.co.uk/tutorials/javascript/domstylesheets">DOM Stylesheets</a> to serve my purposes, but I soon found that although they work in Mozilla and IE (though IE works funny and has different functions to use), the <code>document.stylesheets</code> object and it&#8217;s functions are woefully supported in other browsers, Safari in particular.</p>
<p>My next attempt was a tad more successful - I used <code>document.createElement("style")</code>, appended the rules to it as a TextNode, and then appended the style to the <code>&lt;head&gt;</code>.  I then learned that IE does not like to append TextNodes to style elements.</p>
<p>So, after a bit of research I found a way to get IE to insert the text into the style.  It works in the latest-greatest Mozilla, IE, Safari, and Opera.  Not sure about older versions.  Just have it run <code>onLoad()</code> and make an example <code>div</code> to test it out.</p>
<pre>
var myCSS = "div{background-color: blue}";
var myStyle = document.createElement("style");
	myStyle.setAttribute("type", "text/css");

//only IE uses style.styleSheet, the rest use style.sheet
if(myStyle.styleSheet){
	//Many browsers won't let you change the style's cssText, but IE does.
	myStyle.styleSheet.cssText = myCSS;
} else {
	//this is the standard way to do it, which IE does not support.
	myCSS = document.createTextNode(myCSS);
	myStyle.appendChild(myCSS);
}

document.getElementsByTagName("head")[0].appendChild(myStyle);
</pre>
<p>Obviously if you don&#8217;t want things to blow up in more archaic browsers, you&#8217;re going to want to do a detect for <code>document.createElement</code> before running this code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2006/06/29/dynamic-style-sheets/feed</wfw:commentRss>
		</item>
		<item>
		<title>JavaScript XPath Support</title>
		<link>http://www.animejb.net/2006/06/29/javascript-xpath-support</link>
		<comments>http://www.animejb.net/2006/06/29/javascript-xpath-support#comments</comments>
		<pubDate>Thu, 29 Jun 2006 16:02:20 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[XML]]></category>

		<category><![CDATA[web]]></category>

		<category><![CDATA[xpath]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2006/06/29/javascript-xpath-support/</guid>
		<description><![CDATA[At work some of my tasks have led me to fooling around with new interface ideas.  I figured this is a good way to get up to scratch with AJAX and related ideas.
Now if you&#8217;re pulling in XML with AJAX you know that it can be a perfect pain to parse the file.  [...]]]></description>
			<content:encoded><![CDATA[<p>At work some of my tasks have led me to fooling around with new interface ideas.  I figured this is a good way to get up to scratch with AJAX and related ideas.</p>
<p>Now if you&#8217;re pulling in XML with AJAX you know that it can be a perfect pain to parse the file.  You&#8217;ve got to make sure that the file is converted into a document element (and the methods for doing so are unfortunately not cross-browser), and even afterwards there&#8217;s no cross-browser method to finding the tags you want - at least not one that will give you clean code.  Basically, your choices are:</p>
<ul>
<li><code>getElementsByTagName()</code> - it works, but the function is long, and you&#8217;ll have more loops and nests than you can shake a stick at.  Also, you&#8217;re limited to tags.</li>
<li>Functions such as <code>firstChild</code> and <code>childNodes</code> - which again, leads to long code and lots of nesting.  Plus, using these you don&#8217;t even know what the tags are you&#8217;re messing with, and heaven forbid you change the XML schema a bit, if you didn&#8217;t well-document your javascript it could take you a bit to find the lines you need to alter.</li>
<li>XPath and XSLT transformations - which are sadly not cross-browser and in some cases don&#8217;t even exist in certain browsers.</li>
</ul>
<p><span id="more-44"></span></p>
<p>That third option is what this post is really all about.  After doing some research I have found a few lovely developers who created a wrapper for Internet Explorer to help it behave similarly to Mozilla, thus creating nice cross-browser XML parsers.  Here are the three bigger ones.</p>
<ul>
<li><a href="https://sourceforge.net/projects/sarissa/">Sarissa</a> is my personal favorite of the three.  It&#8217;s a cross browser library that handles making document objects, <code>xmlHTTPRequest</code>, xPath parsing, XML to XSLT transformations, and converting XML into strings.  There is a lot of documentation on it, the forums are fairly active, it&#8217;s an active project, AND besides working for Mozilla and IE, it also partically supports Safari and Opera (which have incomplete native functionality).</li>
<li><a href="http://glazkov.com/blog/archive/2004/04/06/168.aspx">Glazkov&#8217;s XPath Parser</a> is by far the easiest of the three to use.  It lets you use XPath parsing to traverse through the HTML DOM.  I was pretty pleased with it and even managed to make a few wrapper functions for it to make it even easier to use.  Unfortuantely, through, it only works with objects that are in your normal document&#8217;s DOM - that is, it won&#8217;t work on an XML type document.  Bummage.  It&#8217;s also been put in hiatus.  Still, if you&#8217;re only using it to go through your own DOM, it&#8217;s the best one to go with.</li>
<li><a href="http://goog-ajaxslt.sourceforge.net/">Google AJAXSLT</a> - I&#8217;m really only including this because it&#8217;s Google.  It does, from what I can tell, AJAX calls, XPath parsing, and XML to XSLT transformations. The project itself isn&#8217;t terribly well documented and has been stagnant since October 2005.  However people seem to enjoy it and they use something similar to this for <a href="http://www.google.com/apis/homepage/guide.html#XML">Google Homepages</a>, and they&#8217;ve said recently that the project isn&#8217;t abandoned, just not a priority.  So if you can figure out how to use it, it&#8217;s probably pretty neat.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2006/06/29/javascript-xpath-support/feed</wfw:commentRss>
		</item>
		<item>
		<title>Firefox Developer Extensions</title>
		<link>http://www.animejb.net/2006/06/02/firefox-developer-extensions</link>
		<comments>http://www.animejb.net/2006/06/02/firefox-developer-extensions#comments</comments>
		<pubDate>Fri, 02 Jun 2006 13:58:37 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Browsers]]></category>

		<category><![CDATA[extensions]]></category>

		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2006/06/02/firefox-developer-extensions/</guid>
		<description><![CDATA[I had made this entry in our old blog, but since that&#8217;s lost and there&#8217;s a lot more Firefox Extensions out now, I figured it&#8217;d be good to make a new list of extensions that are useful for web development.

Web Developer - A great toolbar that allows you to easily disable browser elements (css, cookies, [...]]]></description>
			<content:encoded><![CDATA[<p>I had made this entry in our old blog, but since that&#8217;s lost and there&#8217;s a lot more Firefox Extensions out now, I figured it&#8217;d be good to make a new list of extensions that are useful for web development.</p>
<ul>
<li><a href="http://ma.gnolia.com/bookmarks/fetuve/dispatch" target="_blank">Web Developer</a> - A great toolbar that allows you to easily disable browser elements (css, cookies, javascript, cache, etc), outline elements on a page, edit css and html, and even view the generated source on the page - that is, what your JavaScripts print out.  Way nifty.</li>
<li><a href="http://www.iosart.com/firefox/colorzilla/" target="_blank">Colorzilla</a> - Lets you pick a color from anywhere on a website and copy it into your page.  Has a color pallet that lets you fine tune your colors, too.</li>
<li><a href="http://www.kevinfreitas.net/extensions/measureit/" target="_blank">MeasureIt</a> - Lets you draw a ruler on a webpage.  Pretty useful for estimating space.</li>
<li><a href="http://jennifermadden.com/scripts/ViewRenderedSource.html" target="_blank">View Source Chart</a> - The ultimate tool for viewing the generated source of a page.  Color codes and indents everything into nice crisp boxes.</li>
<li><a href="https://addons.mozilla.org/firefox/697/" target="_blank">View Formatted Source</a> - Like the View Source Chart but want to kick it up a notch?  Not only does this extension view the generated source (though not as neatly organized, I think) - you can also view images by highlighting them int he source code, and the same goes for the CSS of an element!  PLUS it has an inline element that allows you to select a section of the page and view it&#8217;s source. AWESOME.</li>
<li><a href="http://www.joehewitt.com/software/firebug/" target="_blank">FireBug</a> - A spiffy little console that attaches to the bottom of the browser.  Lets you traverse the DOM, view errors in JavaScript, XML, and CSS (and toggle them on and off!), shows you results of AJAX requests, and even gives you the option of writing messages directly to the console instead of alerting them through JavaScript.  Very, VERY awesome.</li>
<li><a href="http://forums.mozillazine.org/viewtopic.php?t=318102" target="_self">Console<sup>2</sup></a> - If FireBug is a bit too much for you, you can always turn to Console<sup>2</sup>.  As of Firefox 1.5 all your error messages for XML, CSS and JS are all shoved into the same JavaScript Console.  This extension renames it to an &#8220;Error Console&#8221; and allows you to toggle your error types on and off.</li>
<li><a href="https://addons.mozilla.org/firefox/2104/" target="_blank">CSSViewer</a> - Switch it on and then hover over any element to get it&#8217;s style in a nicely organized floating box.  Very cute, but doesn&#8217;t seem to like frames very much.</li>
</ul>
<p>There are a few more out there that I haven&#8217;t tried, but look pretty useful.  Please do try them and comment here with results!</p>
<ul>
<li><a href="https://addons.mozilla.org/firefox/2077/" target="_blank">Regular Expressions Tester</a></li>
<li><a href="https://addons.mozilla.org/firefox/1095/" target="_blank">XPath Checker</a></li>
<li><a href="https://addons.mozilla.org/firefox/1192/" target="_blank">XPather</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2006/06/02/firefox-developer-extensions/feed</wfw:commentRss>
		</item>
		<item>
		<title>Tips and Tricks Index</title>
		<link>http://www.animejb.net/2006/05/12/tips-and-tricks-index</link>
		<comments>http://www.animejb.net/2006/05/12/tips-and-tricks-index#comments</comments>
		<pubDate>Fri, 12 May 2006 16:14:02 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Tips &#038; Tricks]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2006/05/12/tips-and-tricks-index/</guid>
		<description><![CDATA[I decided to split up Tips and Tricks into subcategories so that they would be easier for people to go through.  Below is a list of the subcategories.



Browsers (RSS) (2)

CSS (RSS) (1)

Flash (RSS) (1)

Javascript (RSS) (3)

Regular Expressions (RSS) (1)



Linux (RSS) (1)

Photoshop (RSS) (1)

Vista (RSS) (1)

XML (RSS) (1)




]]></description>
			<content:encoded><![CDATA[<p>I decided to split up Tips and Tricks into subcategories so that they would be easier for people to go through.  Below is a list of the subcategories.</p>
<blockquote>
<ul>
<phpcode>
<li class="cat-item cat-item-34"><a href="http://www.animejb.net/category/tips-tricks/browsers" title="Things dealing with browsers.  Especially Firefox, most likey.">Browsers</a> (<a href="http://www.animejb.net/category/tips-tricks/browsers/feed" title="RSS">RSS</a>) (2)
</li>
<li class="cat-item cat-item-36"><a href="http://www.animejb.net/category/tips-tricks/css" title="CSS">CSS</a> (<a href="http://www.animejb.net/category/tips-tricks/css/feed" title="RSS">RSS</a>) (1)
</li>
<li class="cat-item cat-item-17"><a href="http://www.animejb.net/category/tips-tricks/flash" title="Flash and actionscript tips.">Flash</a> (<a href="http://www.animejb.net/category/tips-tricks/flash/feed" title="RSS">RSS</a>) (1)
</li>
<li class="cat-item cat-item-31"><a href="http://www.animejb.net/category/tips-tricks/javascript" title="View all posts filed under Javascript">Javascript</a> (<a href="http://www.animejb.net/category/tips-tricks/javascript/feed" title="RSS">RSS</a>) (3)
<ul class='children'>
<li class="cat-item cat-item-32"><a href="http://www.animejb.net/category/tips-tricks/javascript/regular-expressions" title="View all posts filed under Regular Expressions">Regular Expressions</a> (<a href="http://www.animejb.net/category/tips-tricks/javascript/regular-expressions/feed" title="RSS">RSS</a>) (1)
</li>
</ul>
</li>
<li class="cat-item cat-item-50"><a href="http://www.animejb.net/category/tips-tricks/linux" title="View all posts filed under Linux">Linux</a> (<a href="http://www.animejb.net/category/tips-tricks/linux/feed" title="RSS">RSS</a>) (1)
</li>
<li class="cat-item cat-item-35"><a href="http://www.animejb.net/category/tips-tricks/photoshop" title="Photoshop tutorials, patterns, brushes, etc.">Photoshop</a> (<a href="http://www.animejb.net/category/tips-tricks/photoshop/feed" title="RSS">RSS</a>) (1)
</li>
<li class="cat-item cat-item-53"><a href="http://www.animejb.net/category/tips-tricks/vista" title="View all posts filed under Vista">Vista</a> (<a href="http://www.animejb.net/category/tips-tricks/vista/feed" title="RSS">RSS</a>) (1)
</li>
<li class="cat-item cat-item-37"><a href="http://www.animejb.net/category/tips-tricks/xml" title="View all posts filed under XML">XML</a> (<a href="http://www.animejb.net/category/tips-tricks/xml/feed" title="RSS">RSS</a>) (1)
</li>
</phpcode>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2006/05/12/tips-and-tricks-index/feed</wfw:commentRss>
		</item>
		<item>
		<title>Reg Ex for Script Tags</title>
		<link>http://www.animejb.net/2006/05/12/reg-ex-for-script-tags</link>
		<comments>http://www.animejb.net/2006/05/12/reg-ex-for-script-tags#comments</comments>
		<pubDate>Fri, 12 May 2006 16:09:48 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Regular Expressions]]></category>

		<category><![CDATA[regex]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2006/05/12/reg-ex-for-script-tags/</guid>
		<description><![CDATA[I thought it might be nice to have a little archive of Javascript Regular Expressions for other people coming through.
This one is for pulling &#60;script&#62; tags out of a string.  It should match any case, account for attributes in the opening tag, and match any code including line breaks in between the tags.
First up, [...]]]></description>
			<content:encoded><![CDATA[<p>I thought it might be nice to have a little archive of Javascript Regular Expressions for other people coming through.</p>
<p>This one is for pulling <code>&lt;script&gt;</code> tags out of a string.  It should match any case, account for attributes in the opening tag, and match any code including line breaks in between the tags.</p>
<p>First up, a code to jut match an opening <code>&lt;script&gt;</code> tag, because any open <code>&lt;script&gt;</code> tag can screw up a page, so you might want to take care of just that:</p>
<pre>/<[Ss]*?script(s[Ss]*?)?>/gi</pre>
<p>Next, a tag to grab a <code>&lt;script&gt;</code> tag from beginning to end, so that you can protect all the text, or replace it, or what have you.</p>
<pre>/<[Ss]*?script(s[Ss]*?)?>[Ss]*?<[Ss]*?/script(s[Ss]*?)?>/gi</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2006/05/12/reg-ex-for-script-tags/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
