<?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/"
	>

<channel>
	<title>blogging and scraping &#187; wordpress</title>
	<atom:link href="http://www.tsnpc.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tsnpc.com</link>
	<description></description>
	<lastBuildDate>Mon, 12 Jul 2010 22:54:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>$ add adsense under each wordpress post by hand code $</title>
		<link>http://www.tsnpc.com/add-adsense-under-each-wordpress-post-by-hand-code/</link>
		<comments>http://www.tsnpc.com/add-adsense-under-each-wordpress-post-by-hand-code/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 22:08:38 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[google adsense]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tsnpc.com/?p=140</guid>
		<description><![CDATA[Sometimes I dont like to use plugin to add adsense in the blog, so I tried to add it by hand code, following is an example for add adsense under each post: Go to the file of single.php in the theme fold, read and find the code for displaying the content, the &#60;div class=&#8221;storycontent&#8221;&#62; should [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I dont like to use plugin to add adsense in the blog, so I tried to add it by hand code, following is an example for add adsense under each post:</p>
<p>Go to the file of single.php in the theme fold, read and find the code for displaying the content, the &lt;div class=&#8221;storycontent&#8221;&gt; should be the code to display the content, and the &lt;div class=&#8221;meta&#8221;&gt; should be the code to show the post meta, so just add the script under the the post meta, I use the &lt;hr&gt; to isolate adsense for clearance.</p>
<p>&lt;div class=&#8221;storycontent&#8221;&gt;<br />
&lt;?php the_content(__(&#8216;(more&#8230;)&#8217;)); ?&gt;<br />
&lt;/div&gt;&lt;!&#8211; end storycontent &#8211;&gt;</p>
<p>&lt;div class=&#8221;meta&#8221;&gt;</p>
<p>Written by &lt;?php the_author() ?&gt;&lt;?php _e(&#8221; in:&#8221;); ?&gt; &lt;?php the_category(&#8216;,&#8217;) ?&gt; | &lt;?php the_tags(__(&#8216;Tags: &#8216;), &#8216;, &#8216;, &#8216; &#8216;); ?&gt;&lt;?php edit_post_link(__(&#8216;Edit This&#8217;)); ?&gt;<br />
&lt;?php wp_link_pages(); ?&gt;&lt;br /&gt;</p>
<p>&lt;/div&gt;&lt;!&#8211; end meta &#8211;&gt;</p>
<p>&lt;hr&gt;<br />
******paste google adsense script here*************<br />
&lt;hr&gt;<br />
<h4>Related Blogs</h4>
<ul class="pc_pingback">
<li class="hdl" style="list-style: none">Related Blogs on <b>google adsense</b></li>
<li><a href="http://news.tourthailand.org/thailand-other-news/database-thailand-other-news/now-google-adsense-speaks-thai.html">Now <b>Google AdSense</b> speaks Thai</a></li>
<li><a href="http://www.126126.info/how-to-make-good-your-google-adsense-ads-by-manoj-yadav/">How to make good your <b>Google Adsense</b> ads â€” by MANOJ YADAV</a></li>
<li><a href="http://www.internetwondersezine.com/online-business-promotion-and-marketing/improving-your-google-adsense-ad-relevancy-with-section-targeting">Improving Your <b>Google Adsense</b> Ad Relevancy With Section Targeting</a></li>
<li><a href="http://www.126126.info/the-google-adsense-ppc-ppa-ppm/">The <b>Google Adsense</b> PPC , PPA ,PPM ,</a></li>
<li><a href="http://www.corporatepartytime.com/corporate-party-time/182">Your <b>Adsense</b> Earnings Style (corporate golf events)</a></li>
</ul>
<ul class="pc_pingback">
<li class="hdl" style="list-style: none">Related Blogs on <b>wordpress</b></li>
<li><a href="http://www.toptut.com/2008/10/10/dyne-wordpress-theme-3100-downloads-from-wordpressorg-alone/">Dyne <b>WordPress</b> Theme &#8211; 3100+ downloads from <b>WordPress</b>.org alone</a></li>
<li><a href="http://blog.firetree.net/2008/10/10/remove-textile-from-a-wordpress-blog/">Remove Textile from a <b>WordPress</b> blog</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/add-adsense-under-each-wordpress-post-by-hand-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>$ Disable WordPress Auto-Saving and Revisions $</title>
		<link>http://www.tsnpc.com/disable-wordpress-auto-saving-and-revisions/</link>
		<comments>http://www.tsnpc.com/disable-wordpress-auto-saving-and-revisions/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 19:19:22 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tsnpc.com/?p=136</guid>
		<description><![CDATA[Disable WordPress Auto-Saving Open the WordPress Config File: /wp-config.php And add following code after the first set of functions : define( &#8216;AUTOSAVE_INTERVAL&#8217;, 600 ); By Default this value is set to 60 (seconds), 600 equals 1 Hour,you can go higher, but i figure 1 hour is good for me. Disable WordPress Revisions Open the WordPress [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Disable WordPress Auto-Saving </strong><br />
Open the WordPress Config File:</p>
<p>/wp-config.php</p>
<p>And add following code after the first set of functions :</p>
<p>define( &#8216;AUTOSAVE_INTERVAL&#8217;, 600 ); </p>
<p>By Default this value is set to 60 (seconds), 600 equals 1 Hour,you can go higher, but i figure 1 hour is good for me.</p>
<p><strong>Disable WordPress Revisions</strong><br />
Open the WordPress Config File:</p>
<p>/wp-config.php</p>
<p>And and following code after the first set of functions:</p>
<p>define( &#8216;WP_POST_REVISIONS&#8217;, 0 ); </p>
<p>By Default this value is On (1), turn it off by setting it to Off (0) ( Zero ).<br />
<h4>Related Blogs</h4>
<ul class="pc_pingback">
<li class="hdl" style="list-style: none">Related Blogs on <b>wordpress</b></li>
<li><a href="http://www.toptut.com/2008/10/10/dyne-wordpress-theme-3100-downloads-from-wordpressorg-alone/">Dyne <b>WordPress</b> Theme &#8211; 3100+ downloads from <b>WordPress</b>.org alone</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/disable-wordpress-auto-saving-and-revisions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change the amount of posts displayed at wordpress manage page</title>
		<link>http://www.tsnpc.com/change-the-amount-of-posts-displayed-at-wordpress-manage-page/</link>
		<comments>http://www.tsnpc.com/change-the-amount-of-posts-displayed-at-wordpress-manage-page/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 15:18:10 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.tsnpc.com/?p=46</guid>
		<description><![CDATA[only 15 posts will be displayed by default when try to manage posts at wordpress, sometimes there is a need to see more posts for bulk modification, following is a wayï¼š go to the post.php in the folder of wp-admin/includes, and find the code: wp(&#8220;post_type=post&#38;what_to_show=posts$post_status_q&#38;posts_per_page=15 &#38;order=$order&#38;orderby=$orderby&#8221;); change the 15 to the desired number in posts_per_page=15.]]></description>
			<content:encoded><![CDATA[<p>only 15 posts will be displayed by default when try to manage posts at wordpress, sometimes there is a need to see more posts for bulk modification, following is a wayï¼š</p>
<p>go to the post.php in the folder of wp-admin/includes, and find the code:</p>
<p>wp(&#8220;post_type=post&amp;what_to_show=posts$post_status_q&amp;posts_per_page=15</p>
<p>&amp;order=$order&amp;orderby=$orderby&#8221;);</p>
<p>change the 15 to the desired number in posts_per_page=15.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/change-the-amount-of-posts-displayed-at-wordpress-manage-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The code for the image link of wordpress</title>
		<link>http://www.tsnpc.com/the-code-for-the-image-link-of-wordpress/</link>
		<comments>http://www.tsnpc.com/the-code-for-the-image-link-of-wordpress/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 19:41:18 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://tsnpc.com/?p=33</guid>
		<description><![CDATA[the code for the image link of wordpressï¼š &#60;img src=&#8221;http://www.zzz.cn/111.png&#8221; /&#62;]]></description>
			<content:encoded><![CDATA[<p>the code for the image link of wordpressï¼š<br />
&lt;img src=&#8221;http://www.zzz.cn/111.png&#8221; /&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/the-code-for-the-image-link-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remove the dashboard in wordpress</title>
		<link>http://www.tsnpc.com/remove-the-dashboard-in-wordpress/</link>
		<comments>http://www.tsnpc.com/remove-the-dashboard-in-wordpress/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 00:42:59 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[dashboard]]></category>

		<guid isPermaLink="false">http://tsnpc.com/?p=22</guid>
		<description><![CDATA[There are many rss in the dashboard, and sometimes it causes the wp-admin to load slowly, following is a way to remove the dashboard: find and modify the file of index-extra.php in the folder \wp-admin: original: &#60;?php require_once(â€™admin.phpâ€™); require( â€˜includes/dashboard.phpâ€™ ); require_once (ABSPATH . WPINC . â€˜/rss.phpâ€™); @header(â€™Content-Type: â€˜ . get_option(â€™html_typeâ€™) . â€˜; charset=â€™ . [...]]]></description>
			<content:encoded><![CDATA[<p>There are many rss in the dashboard, and sometimes it causes the wp-admin to load slowly, following is a way to remove the dashboard:</p>
<p>find and modify the file of index-extra.php in the folder \wp-admin:</p>
<p>original:</p>
<p>&lt;?php require_once(â€™admin.phpâ€™);<br />
require( â€˜includes/dashboard.phpâ€™ );<br />
require_once (ABSPATH . WPINC . â€˜/rss.phpâ€™);</p>
<p>@header(â€™Content-Type: â€˜ . get_option(â€™html_typeâ€™) . â€˜; charset=â€™ . get_option(â€™blog_charsetâ€™));</p>
<p>switch ( $_GET[â€™jaxâ€™] ) {</p>
<p>case â€˜incominglinksâ€™ :<br />
wp_dashboard_incoming_links_output();<br />
break;</p>
<p>case â€˜devnewsâ€™ :<br />
wp_dashboard_rss_output( â€˜dashboard_primaryâ€™ );<br />
break;</p>
<p>case â€˜planetnewsâ€™ :<br />
wp_dashboard_secondary_output();<br />
break;</p>
<p>case â€˜pluginsâ€™ :<br />
wp_dashboard_plugins_output();<br />
break;</p>
<p>}</p>
<p>?&gt;</p>
<p>modified:</p>
<p>&lt;?php require_once(â€™admin.phpâ€™);<br />
require( â€˜includes/dashboard.phpâ€™ );<br />
require_once (ABSPATH . WPINC . â€˜/rss.phpâ€™);</p>
<p>@header(â€™Content-Type: â€˜ . get_option(â€™html_typeâ€™) . â€˜; charset=â€™ . get_option(â€™blog_charsetâ€™));<br />
/*<br />
switch ( $_GET[â€™jaxâ€™] ) {</p>
<p>case â€˜incominglinksâ€™ :<br />
wp_dashboard_incoming_links_output();<br />
break;</p>
<p>case â€˜devnewsâ€™ :<br />
wp_dashboard_rss_output( â€˜dashboard_primaryâ€™ );<br />
break;</p>
<p>case â€˜planetnewsâ€™ :<br />
wp_dashboard_secondary_output();<br />
break;</p>
<p>case â€˜pluginsâ€™ :<br />
wp_dashboard_plugins_output();<br />
break;</p>
<p>}<br />
*/<br />
?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/remove-the-dashboard-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Try to manipulate the wordpress2.5RC2</title>
		<link>http://www.tsnpc.com/zhetengwordpress25rc2/</link>
		<comments>http://www.tsnpc.com/zhetengwordpress25rc2/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 00:01:56 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tsnpc.com/?p=18</guid>
		<description><![CDATA[Try to install and manipulate the wordpress2.5RC2ï¼Œthe new version is much slower than the version of 2.3.3, the Administration Screen is clean, no option for cache and gzip settings. Try to export and import the databases by phpmyadmin.]]></description>
			<content:encoded><![CDATA[<p>Try to install and manipulate the wordpress2.5RC2ï¼Œthe new version is much slower than the version of 2.3.3, the Administration Screen is clean, no option for cache and gzip settings.</p>
<p>Try to export and import the databases by phpmyadmin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/zhetengwordpress25rc2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the use of wordpress pinyin slug</title>
		<link>http://www.tsnpc.com/wordpresspinyinchajianyingyongzhuyishixiang/</link>
		<comments>http://www.tsnpc.com/wordpresspinyinchajianyingyongzhuyishixiang/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 16:52:55 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tsnpc.com/?p=14</guid>
		<description><![CDATA[Afer the pinyin slug is activatedï¼Œthe permalinks should be changed, go to wordpress-setting-permalinksï¼Œand set postname toï¼šÂ Â  /%postname%/]]></description>
			<content:encoded><![CDATA[<p>Afer the pinyin slug is activatedï¼Œthe permalinks should be changed, go to wordpress-setting-permalinksï¼Œand set postname toï¼šÂ Â  /%postname%/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/wordpresspinyinchajianyingyongzhuyishixiang/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>display post titles solely in the front page at wordpress</title>
		<link>http://www.tsnpc.com/display-post-titles-solely-in-the-front-page-at-wordpress/</link>
		<comments>http://www.tsnpc.com/display-post-titles-solely-in-the-front-page-at-wordpress/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 15:41:19 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tsnpc.com/?p=12</guid>
		<description><![CDATA[modify the index.php in the theme folder toï¼š &#60;div class=&#8221;entry&#8221;&#62; &#60;?php if (is_single()) { the_content(); } else {//no content, nothing. } ?&#62;]]></description>
			<content:encoded><![CDATA[<p>modify the index.php in the theme folder toï¼š</p>
<p>&lt;div class=&#8221;entry&#8221;&gt;<br />
&lt;?php<br />
if (is_single()) {<br />
the_content();<br />
}<br />
else {//no content, nothing.<br />
}<br />
?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/display-post-titles-solely-in-the-front-page-at-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>recover the admin user name for wordpress</title>
		<link>http://www.tsnpc.com/recover-the-admin-user-name-for-wordpress/</link>
		<comments>http://www.tsnpc.com/recover-the-admin-user-name-for-wordpress/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 15:32:07 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tsnpc.com/?p=10</guid>
		<description><![CDATA[Sometimes we could forget the admin user name for wordpressï¼Œwe can find the name of admin by looking the table of wp_users in phpmyadmin.]]></description>
			<content:encoded><![CDATA[<p>Sometimes we could forget the admin user name for wordpressï¼Œwe can find the name of admin by looking the table of wp_users in phpmyadmin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/recover-the-admin-user-name-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The header and footer of wordpress</title>
		<link>http://www.tsnpc.com/the-header-and-footer-of-wordpress/</link>
		<comments>http://www.tsnpc.com/the-header-and-footer-of-wordpress/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 15:00:13 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tsnpc.com/?p=8</guid>
		<description><![CDATA[we could modify the header and footer in wordpress to add navigation and advertisement, modification could be down by the theme edit, the detailed example could be searched on internet.]]></description>
			<content:encoded><![CDATA[<p>we could modify the header and footer in wordpress to add navigation and advertisement, modification could be down by the theme edit, the detailed example could be searched on internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tsnpc.com/the-header-and-footer-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
