<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>cocos2d for iPhone &#187; Topic: test html validator plugin</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/47</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 21:47:39 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cocos2d-iphone.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.cocos2d-iphone.org/forum/rss/topic/47" rel="self" type="application/rss+xml" />

		<item>
			<title>allenfjordan on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-231</link>
			<pubDate>Tue, 09 Jun 2009 19:58:44 +0000</pubDate>
			<dc:creator>allenfjordan</dc:creator>
			<guid isPermaLink="false">231@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p><img src="http://i43.tinypic.com/16jpylf.jpg" alt="image" /><br />
seems to work<br />
here's some backticked code testing:<br />
<pre><code>//create the string of data for the sign depending on the existence of the seconnd line site name
                        if (metData.SiteInfo.StationNameSecondLine == &#34;&#34;)
                        {
                            stringData = string.Format(&#34;{0}&#34; + newLineString + &#34;Temp {1:0}&#34; + DEGSTRING + &#34;F&#34; + temperatureTrendString + newLineString + &#34;Wind {3:0}mph  &#34; + windDirectionStr + ((metData.SiteInfo.DisplayWindchill) ? newLineString + &#34;Windchill {2:d}&#34; + DEGSTRING + &#34;F&#34; : &#34;&#34;) + newLineString + &#34;Pres {4:0.0}&#34; + inchesStr + &#34;Hg&#34; + pressureTrendString,
                                metData.SiteInfo.StationNameFirstLine, metData.Temperature, (int)Math.Round(metData.WindChill), metData.WindSpeed, metData.Pressure);
                        }
                        else
                        {
                            stringData = string.Format(&#34;{0}&#34; + newLineString + &#34;{1}&#34; + newLineString + &#34;Temp {2:0}&#34; + DEGSTRING + &#34;F&#34; + temperatureTrendString + newLineString + &#34;Wind {4:0}mph  &#34; + windDirectionStr + ((metData.SiteInfo.DisplayWindchill) ? newLineString + &#34;Windchill {3:d}&#34; + DEGSTRING + &#34;F&#34; : &#34;&#34;) + newLineString + &#34;Pres {5:0.0}&#34; + inchesStr + &#34;Hg&#34; + pressureTrendString,
                                metData.SiteInfo.StationNameFirstLine, metData.SiteInfo.StationNameSecondLine, metData.Temperature, (int)Math.Round(metData.WindChill), metData.WindSpeed, metData.Pressure);
                        }</code></pre></description>
		</item>
		<item>
			<title>Codemattic on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-224</link>
			<pubDate>Tue, 09 Jun 2009 17:50:38 +0000</pubDate>
			<dc:creator>Codemattic</dc:creator>
			<guid isPermaLink="false">224@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p><img src="http://fliiby.com/images/_thumbs/me_tsr9reay7t1.jpg" />
</p></description>
		</item>
		<item>
			<title>Codemattic on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-223</link>
			<pubDate>Tue, 09 Jun 2009 17:48:51 +0000</pubDate>
			<dc:creator>Codemattic</dc:creator>
			<guid isPermaLink="false">223@http://www.cocos2d-iphone.org/forum/</guid>
			<description><ol>
<li> item
</li>
<li> item2
</li>
<li> item3
</li>
</ol></description>
		</item>
		<item>
			<title>Codemattic on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-222</link>
			<pubDate>Tue, 09 Jun 2009 17:41:48 +0000</pubDate>
			<dc:creator>Codemattic</dc:creator>
			<guid isPermaLink="false">222@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p><em>em</em></p>
<ul>ul</ul>
<ol>ol</ol>
<li>li</li>
<p><em>
<ul>
<ol>
<li>em ul ol li</li>
</ol>
</ul>
</em>
</p></description>
		</item>
		<item>
			<title>Codemattic on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-221</link>
			<pubDate>Tue, 09 Jun 2009 17:38:59 +0000</pubDate>
			<dc:creator>Codemattic</dc:creator>
			<guid isPermaLink="false">221@http://www.cocos2d-iphone.org/forum/</guid>
			<description><blockquote><p>blockquote klhj ljkh lkjh lkj<br />
asdasda kljh lkjh lkh lkj hlkjh lkjh lkjh lkjh lkj hlkjh lkjh lkjh lkjh lkj hlkj hlkjh lkjh lkjh lkjh lkjhlkjhlkjh ljkh lk kjh lkh lkjh lkj lkjh lkj hlkj lkj lkj kljhlkhjlkjhlkjhlkjh lkjh lkj sdf
</p></blockquote></description>
		</item>
		<item>
			<title>Codemattic on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-220</link>
			<pubDate>Tue, 09 Jun 2009 17:36:57 +0000</pubDate>
			<dc:creator>Codemattic</dc:creator>
			<guid isPermaLink="false">220@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p><strong>strong</strong>
<ul>underline</ul></description>
		</item>
		<item>
			<title>riq on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-212</link>
			<pubDate>Tue, 09 Jun 2009 17:02:52 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">212@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>images and code are working ok now
</p></description>
		</item>
		<item>
			<title>riq on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-211</link>
			<pubDate>Tue, 09 Jun 2009 17:00:55 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">211@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>code:<br />
<pre><code>#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;CocosNode.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Camera.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Grid.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Scheduler.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;ccMacros.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Director.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Support/CGPointExtension.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Support/ccArray.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Support/TransformUtils.h&#34;

@interface CocosNode (Private)
-(void) step_: (ccTime) dt;
// lazy allocs
-(void) actionAlloc;
-(void) childrenAlloc;
-(void) timerAlloc;
// helper that reorder a child
-(void) insertChild:(CocosNode*)child z:(int)z;
// used internally to alter the zOrder variable. DON&#39;T call this method manually
-(void) _setZOrder:(int) z;
-(void) detachChild:(CocosNode *)child cleanup:(BOOL)doCleanup;
@end

@implementation CocosNode

@synthesize visible;
@synthesize parent, children;
@synthesize grid;
@synthesize zOrder;
@synthesize tag;
@synthesize vertexZ = vertexZ_;

#pragma mark CocosNode - Transform related properties

@synthesize rotation=rotation_, scaleX=scaleX_, scaleY=scaleY_, position=position_;
@synthesize transformAnchor=transformAnchor_, relativeTransformAnchor=relativeTransformAnchor_;

// getters synthesized, setters explicit
-(void) setRotation: (float)newRotation
{
	rotation_ = newRotation;
	isTransformDirty_ = isInverseDirty_ = YES;
}

-(void) setScaleX: (float)newScaleX
{
	scaleX_ = newScaleX;
	isTransformDirty_ = isInverseDirty_ = YES;
}

-(void) setScaleY: (float)newScaleY
{
	scaleY_ = newScaleY;
	isTransformDirty_ = isInverseDirty_ = YES;
}

-(void) setPosition: (CGPoint)newPosition
{
	position_ = newPosition;
	isTransformDirty_ = isInverseDirty_ = YES;
}</code></pre></description>
		</item>
		<item>
			<title>riq on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-210</link>
			<pubDate>Tue, 09 Jun 2009 17:00:37 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">210@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>more code:<br />
<pre><code>#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;CocosNode.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Camera.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Grid.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Scheduler.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;ccMacros.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Director.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Support/CGPointExtension.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Support/ccArray.h&#34;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;Support/TransformUtils.h&#34;

@interface CocosNode (Private)
-(void) step_: (ccTime) dt;
// lazy allocs
-(void) actionAlloc;
-(void) childrenAlloc;
-(void) timerAlloc;
// helper that reorder a child
-(void) insertChild:(CocosNode*)child z:(int)z;
// used internally to alter the zOrder variable. DON&#39;T call this method manually
-(void) _setZOrder:(int) z;
-(void) detachChild:(CocosNode *)child cleanup:(BOOL)doCleanup;
@end

@implementation CocosNode

@synthesize visible;
@synthesize parent, children;
@synthesize grid;
@synthesize zOrder;
@synthesize tag;
@synthesize vertexZ = vertexZ_;

#pragma mark CocosNode - Transform related properties

@synthesize rotation=rotation_, scaleX=scaleX_, scaleY=scaleY_, position=position_;
@synthesize transformAnchor=transformAnchor_, relativeTransformAnchor=relativeTransformAnchor_;

// getters synthesized, setters explicit
-(void) setRotation: (float)newRotation
{
	rotation_ = newRotation;
	isTransformDirty_ = isInverseDirty_ = YES;
}

-(void) setScaleX: (float)newScaleX
{
	scaleX_ = newScaleX;
	isTransformDirty_ = isInverseDirty_ = YES;
}

-(void) setScaleY: (float)newScaleY
{
	scaleY_ = newScaleY;
	isTransformDirty_ = isInverseDirty_ = YES;
}

-(void) setPosition: (CGPoint)newPosition
{
	position_ = newPosition;
	isTransformDirty_ = isInverseDirty_ = YES;
}</code></pre></description>
		</item>
		<item>
			<title>riq on "test html validator plugin"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/47#post-209</link>
			<pubDate>Tue, 09 Jun 2009 16:57:55 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">209@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>test html validator plugin<br />
<img src="http://fliiby.com/images/_thumbs/me_tsr9reay7t1.jpg" />
</p></description>
		</item>

	</channel>
</rss>

