<?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>NPSites.com</title>
	<atom:link href="http://www.npsites.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.npsites.com</link>
	<description>NPSites.com</description>
	<lastBuildDate>Mon, 06 Sep 2010 05:38:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HowTo &#8211; Integrating WordPress Features Into Other Programs</title>
		<link>http://www.npsites.com/2010/09/05/howto-integrating-wordpress-features-into-other-programs.html</link>
		<comments>http://www.npsites.com/2010/09/05/howto-integrating-wordpress-features-into-other-programs.html#comments</comments>
		<pubDate>Mon, 06 Sep 2010 05:21:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2525</guid>
		<description><![CDATA[Although WordPress has a number of great internal features and the ability to be extended through plugins there are times when using supplementary  software can make the management of your site so much easier.
Unfortunately when you install a new piece of website software you are faced with the decision of either theming it to match [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-180" title="wordpress-logo" src="http://www.npsites.com/npsblog/wp-content/uploads/2009/04/wordpress-logo.jpg" alt="wordpress-logo" width="126" height="126" />Although WordPress has a number of great internal features and the ability to be extended through plugins there are times when using supplementary  software can make the management of your site so much easier.</p>
<p>Unfortunately when you install a new piece of website software you are faced with the decision of either theming it to match the layout of your main WordPress site or making it look different so users know they are on a different section of your site.</p>
<p>It is a difficult choice and you are likely to endup losing access to some of the features in WordPress that you want to include.</p>
<p>The work around is to load a connection between WordPress and your external ap by including your wp-blog-header.php file at the top of your other applications main file or header file.</p>
<p>Once loaded in your external ap you will have access to all the functions available in WordPress.</p>
<p>This means if you include a menu or a sidebar showing your recent posts and then make changes or additions in your WordPress site the changes will show in your external Ap.</p>
<p>HOWEVER you will need to make sure your CSS is being used correctly and this could be a problem if you are using images that depend on /relative/directory/structures&#8230; replace them with http:// calls where necessary.</p>
<p>Now as to not be confused this is different then loading your header.php file that is found in your theme folder. The wp-blog-header.php file can be thought of a startup command for WordPress to begin executing and your theme file header.php is the portion of your theme that generates the top section of html such as your title and menu area.</p>
<h2>Loading The Header</h2>
<p>The wp-blog-header.php file should be located in your root directory if you are using WordPress 3.0 or higher or it may be in a subdirectory where your wp-config.php file is.</p>
<p>To load the file use a basic PHP require or include call</p>
<pre class="brush: php;">[/php]

&lt;?php require('/dir/wp-blog-header.php'); ?&gt;

[php]</pre>
<p>If you decide to use an include statement instead of a require statement your external ap will continue executing after a failure of loading the WordPress header file. This can be a good or bad thing depending on your hosting environment and is something you should investigate as a basic PHP code writer it won&#8217;t have effect on the connection between the two aps.</p>
<h2>Making Use Of The Connection</h2>
<p>Once you have connected both of your applications you will need to do some trouble shooting just incase some of the functions in WordPress are duplicated in your outside ap. This should not really be a problem but if necessary you may need to use a file based text string replace to rename functions and their calls in your outside ap. I suggest Active State Komodo Edit that can find and replace inside files in a directory and all its subdirectories.</p>
<p>Now you can include any WordPress feature the same way you would in your Theme file.</p>
<p>You can call dynamic sidebars or display a loop full of posts or titles of posts.</p>
<p>You will also have access for checking if a user is logged in as a member of your WordPress Site by using conditional statements.</p>
<p>Basically any feature that you are useto using within your main WordPress site will be available to you.</p>
<h2>Real World Examples</h2>
<p>Integrating WordPress in this way is best when your external application can not be fed into WordPress by the use of a Custom Page Theme file.  If you don&#8217;t know what I mean you should take a look at designing a custom page template and the ability to include php inside the page template.</p>
<p>Larger applications such as a form where users can add content phpBB is one or a shopping cart application require dedicated management and many of the features just can not be duplicated with a plugin.</p>
<p>For instance if you run a clothing consignment store your inventory may be scanned into either your shopping cart or a spreadsheet file that you import into your shopping cart.</p>
<p>Managing hundreds or thousands of items from within a WordPress shopping cart plugin is not reasonable because you can not quickly manage your online purchases and inventory. You will also be limited in other ways such as the ability to quickly generate checkout links to paypal that bounce back to a specific url for file downloads or the ability to manage coupons and dozens of other features that a full shopping cart can offer.</p>
<p>This is not to say the WordPress shopping cart plugins are bad its to say if you have a large store and you have to depend on it for your main business and you have to integrate your shop with your tax preparation software it can get rather complex.</p>
<p>Additionally when you are managing thousands of form posts a day and you need to keep that content separate from your main site adding a phpbb install vs letting visitors join your site as Authors will reduce your headaches. Not to mention some banner advertisers restrict placement on content that is not managed.</p>
<p>The one drawback of using external aps is that your visitor will most likely need to login twice if they are also a member of your WordPress site when they want to process an order from your store or access your Form area.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/09/05/howto-integrating-wordpress-features-into-other-programs.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Torrent Copyright Lawsuits Just Took A Twist Adult Movies Seek Names</title>
		<link>http://www.npsites.com/2010/09/04/torrent-copyright-lawsuits-just-took-a-twist-adult-movies-seek-names.html</link>
		<comments>http://www.npsites.com/2010/09/04/torrent-copyright-lawsuits-just-took-a-twist-adult-movies-seek-names.html#comments</comments>
		<pubDate>Sat, 04 Sep 2010 19:08:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Industry News]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2524</guid>
		<description><![CDATA[Downloading pirated products including software, music and video is something that industry associations have been fighting for some time.  As we have seen some artists that seek to protect their rights can get hammered by their fans case in point Metalica whos lawsuit against Napster is said to be reason for breaking up the band [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.npsites.com/npsblog/wp-content/uploads/HLIC/7f5fb925b7ab533416be9142abf651a6.png" alt="" width="200" height="200" />Downloading pirated products including software, music and video is something that industry associations have been fighting for some time.  As we have seen some artists that seek to protect their rights can get hammered by their fans case in point Metalica whos lawsuit against Napster is said to be reason for breaking up the band and more recently Lilly Allen who just about walked away from music all together stating for about six months she would get into selling clothes with one of her relatives.</p>
<p>But what is interesting about Lilly or Ulrich&#8217;s quest to recover as much money as they can&#8230; their recordings were released by them or their representatives on a variety of media sites such as YouTube for anyone to access for free.</p>
<p>There is no need to Pirate anyone&#8217;s songs when you can build a huge playlist and play it back on your iPhone or home computer&#8230; its all right there .. tens of thousands of songs that labels not only want you to hear they compete for you to hear their artists.</p>
<p>However in this latest round of Video content lawsuits we are not talking about risque language that might get you a detention if you were listening in school or could get you fired if thats all you do all day at work &#8230; the group that has filed the latest round of copyright infringement suits is the porn industry.</p>
<p>Lets face it the internet was built because porn was on it and people wanted to see it.. but most people will never talk about it.</p>
<p>The stars of the films in question have to eat and pay their bills and because internet porn is so widely available now you don&#8217;t see a lot of shops selling it anymore.</p>
<p>Where we might go to the movies to see Terminator or Resident Evil instead of downloading someones hand held camera version because we want to take our kids or have a night out with someone special&#8230; Porn is usually viewed in the privacy of your home and purchasing it online with your credit card can leave a trail.</p>
<p>This is where the twist comes in &#8230; along with producers of videos like Debbie Does Dallas one of the primary litigants is suing because hundreds of Torrent users are downloading and distributing Transexual Pornography&#8230;</p>
<p>To each your own&#8230; whether someone looks at transexual porn for gratification or for sheer amazement is up to them but it seems if you are grabbing it off a torrent your name may be published in some international news when the IP Addresses of the offenders are released.</p>
<p>However what some have already said is just like the recording industry approached offenders and then arm twisted them to pay sums of money directly to the industry association they are expecting that the same will occur when people are approached about downloading porn &#8230;. HOWEVER with the stigma attached any out of court settlement will be more closer to extortion then protection of the artists property rights.</p>
<p>We will see how this will play out in the next few months but i think instead of going after average people maybe the video associations should look at how government employees were found in possessions of huge amounts of porn so much that one person in the NSA had filled their office and then started stacking spindles and drives through out other offices&#8230; I mean really where is the public interest here where is the offense&#8230;.</p>
<p>Its difficult to say how this will play out but you can probably bet the same people that are saying they are victims because a few hundred or maybe thousand people downloaded  a video will be out marching for the right to distribute their products &#8230; or for other rights&#8230; .</p>
<p>And much like Lily is now happy being a mommy and doing the occasional song for right now.. she probably wishes every minute of every day she could have not even thought about a few people downloading her songs&#8230; and just got on with doing more events because thats where the money is today in music&#8230;.</p>
<p>Anyway &#8230;  we will see.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/09/04/torrent-copyright-lawsuits-just-took-a-twist-adult-movies-seek-names.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Craigslist Gives In And Pulls Their Adult Services Section</title>
		<link>http://www.npsites.com/2010/09/04/craigslist-gives-in-and-pulls-their-adult-services-section.html</link>
		<comments>http://www.npsites.com/2010/09/04/craigslist-gives-in-and-pulls-their-adult-services-section.html#comments</comments>
		<pubDate>Sat, 04 Sep 2010 11:39:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Industry News]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2523</guid>
		<description><![CDATA[After many years and many lawsuits it seems Craigslist has finally given up on offering an adult services section. Recent attacks on the site have gone one step farther and accuse them of fostering underage prostitution.. you never really heard those accusations in the past and it most likely has something to do with treaties [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.npsites.com/npsblog/wp-content/uploads/HLIC/6fb1343230c63a946c2bb80a224bcd85.jpg" alt="" width="170" height="170" />After many years and many lawsuits it seems Craigslist has finally given up on offering an adult services section. Recent attacks on the site have gone one step farther and accuse them of fostering underage prostitution.. you never really heard those accusations in the past and it most likely has something to do with treaties that the European Union is setting in place.  If you didn&#8217;t hear the EU is up in arms because England has opted out of the Human Trafficking program because they think it will allow other European countries access to their private police and court files.</p>
<p>I personally never use the site because its more of a yardsale atmosphere where on sites like Amazon or Ebay you have some if only a little buyer protection. This doesn&#8217;t mean the site isn&#8217;t a valued resource.</p>
<p>Since its introduction Craigslist has been one of the most active sites on the net and you can find something there to satisfy just about anyone.</p>
<p>When earlier attacks by State Attorney Generals on the Adult Services section lead to high priced legal battles over first amendment rights there seemed to be a work around for craigslist to continue listing this small but probably very popular part of its site.</p>
<p>Its not like everyone that visits the site is hiring an escort but you can bet most people even the most prurient have taken a look.</p>
<p>So what does this mean for Craigslist and the Adult Services industry? Not a lot. Craigslist will continue and most likely instead of seeing ads placed directly for paid services you will see massage or someone selling a big chest with french polish &#8230; the crap you see in every newspaper &#8230; but then again most telephone books have escort services  so what is this really stopping? nothing.</p>
<p>This is just a notch in someones election barrel&#8230;.</p>
<p>If America is really interested in stopping human trafficing they should look at the 20 million illegal aliens in our country&#8230; are they all living on the streets? heck no .. 20 million people living on our streets would be pretty noticeable &#8230; so where are they?</p>
<p>They go to work right next to you and live down the street from you and no one even cares.</p>
<p>There is a HUGE underground selling everything from heroin to fake medications, Sex and weapons and that is the real problem&#8230; not some 20yo girl posting a notice on craigslist to earn $150 an hour for giving release&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/09/04/craigslist-gives-in-and-pulls-their-adult-services-section.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do Aps Push Hardware? And Is That A Bad Thing?</title>
		<link>http://www.npsites.com/2010/09/02/do-aps-push-hardware-and-is-that-a-bad-thing.html</link>
		<comments>http://www.npsites.com/2010/09/02/do-aps-push-hardware-and-is-that-a-bad-thing.html#comments</comments>
		<pubDate>Thu, 02 Sep 2010 19:35:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Industry News]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2522</guid>
		<description><![CDATA[I was watching a show on the history of the Game industry the other night&#8230; it was probably on CNBC or some other cable station and they talked about how the game  Tetris had been one of the main reasons people purchased hand held Gameboys. This got me thinking of how hardware and software interact [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.npsites.com/npsblog/wp-content/uploads/HLIC/dbe5374ea1d69db4c8c3e1792705fdc1.png" alt="" width="200" height="200" />I was watching a show on the history of the Game industry the other night&#8230; it was probably on CNBC or some other cable station and they talked about how the game  Tetris had been one of the main reasons people purchased hand held Gameboys. This got me thinking of how hardware and software interact and why some people are willing to purchase systems for a single solution.</p>
<p>People see a great application and are willing to spend good money on what seems dedicated hardware to be able to use it.</p>
<p>The thing is this influence is not limited to game systems. In the late 80&#8217;s early 90&#8217;s it seemed if you were connected to the publishing industry the use of a Macintosh computer was a requirement. Even though Windows eventually provided the same or better solution with price points thousands of dollars less you can still see shops that rely on Macs.</p>
<p>The interesting thing about that is the current Mac OS is based on Unix so you would think that there would be a cross platform solution. If you can run BSD on an Intel Box you should definitely be able to run Mac OS on it and there are a few virtual environments that will allow some systems to be built.</p>
<p>You also have game boxes from a handful of manufacturers that should be able to have the games ported to a desktop system and with the addition of a high end video card the experience should be exactly the same but you would still have your primary system for other tasks.</p>
<p>And then we have mobile devices like the iPad or the Gentouch which is going through lawsuits to keep it off the market because it uses android / java and you can guess that friends of Jobs have come to his rescue to kill something that could costs 25% of the price of the iPad just to secure the market.</p>
<p>Now some people would say this is why we need open source software. So the applications can be ported and people will have a choice. The problem with that is hardware developers also need to be pushed into developing solutions that provide the same experience.This is easier said then done and probably the reason that many open source games have not displaced much of the dedicated systems.</p>
<p>I don&#8217;t know if there is a solution for this or if forcing one would reduce development but it can be very frustrating for those of us that have neither the money or desk space to buy every new device because there is a great new ap we need to use.</p>
<p>Anyway back to the gameboy and tetras &#8230; it seems that after decades not a lot has changed. Even with many of the players in the market moving out on their own or falling to the wayside we are still seeing systems like the Kindle, iPad and XBox offering closed systems dedicated to a handful of tasks.</p>
<p>For some reason it just doesn&#8217;t seem reasonable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/09/02/do-aps-push-hardware-and-is-that-a-bad-thing.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The UK&#8217;s ASA Introduces New Regulations On Internet Advertising</title>
		<link>http://www.npsites.com/2010/09/01/the-uks-asa-introduces-new-regulations-on-internet-advertising.html</link>
		<comments>http://www.npsites.com/2010/09/01/the-uks-asa-introduces-new-regulations-on-internet-advertising.html#comments</comments>
		<pubDate>Wed, 01 Sep 2010 09:39:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO & Advertising]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2521</guid>
		<description><![CDATA[The UK is introducing new regulation on Internet Advertising that will be managed through the ASA Advertising Standards Authority.  Like those introduced in the USA by the FTC and other governing boards the new rules are expected to hit many businesses, non-profits and even political influenced speech pretty hard.
What is interesting about the loss of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-1567" title="money" src="http://www.npsites.com/npsblog/wp-content/uploads/2010/02/money.jpg" alt="money" width="169" height="169" />The UK is introducing new regulation on Internet Advertising that will be managed through the ASA Advertising Standards Authority.  Like those introduced in the USA by the FTC and other governing boards the new rules are expected to hit many businesses, non-profits and even political influenced speech pretty hard.</p>
<p>What is interesting about the loss of what many in the US would consider First Amendment rights the rulings are being placed on the back of child protection.</p>
<p>Now most people are in favor of rules that would eliminate spam to some extent and others would go as far to say businesses need to be held accountable for all advertising whether paid or not the ASA is looking also at links within search engines and on social networks like Facebook and Twitter.</p>
<p>The new rulings will have effect on which ads people are allowed to see&#8230; for instance they say</p>
<p>&#8220;New stricter rules provide further protections for children, for example  a new scheduling restriction will prevent ads for age-restricted  computer and console games from appearing around programmes made for, or  likely to appeal particularly to them.&#8221;</p>
<p>And they also go on to say&#8230;</p>
<p>&#8220;While a new section on  environmental claims will provide greater clarity for the public on what  ‘green’ terms are likely to be acceptable.&#8221;</p>
<p>It seems more then overboard to not promote products to minors that they would enjoy. It is up to the parent to tell the child to either save their allowance if they get one or maybe buy them a book..</p>
<p>But how do environmentalists play into this protection scheme? Why do they need protection from anyone?</p>
<p>Maybe the animals they hope to save or trees do but &#8230; it is very far reaching to get to the level where one group is protected over another.</p>
<p>After all we just found out that the 100 Billion dollars the Obama administration promised to Europe for green projects was based on faulty science.</p>
<p>The rules in the US are not as harsh as the ones in the UK but that is because US law makers are going through another round of introducing regulations.</p>
<p>It seems that as long as people are in power that want to remove our freedom of speech along with other rights we have.. they will come back over and over again in the dead of night and push through things that steal our rights&#8230;</p>
<p>http://asa.org.uk/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/09/01/the-uks-asa-introduces-new-regulations-on-internet-advertising.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Does Social Networking Management Take Away From Content Development?</title>
		<link>http://www.npsites.com/2010/09/01/does-social-networking-management-take-away-from-content-development.html</link>
		<comments>http://www.npsites.com/2010/09/01/does-social-networking-management-take-away-from-content-development.html#comments</comments>
		<pubDate>Wed, 01 Sep 2010 08:46:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>
		<category><![CDATA[Social Networks]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2520</guid>
		<description><![CDATA[In the past three to 5 years we have seen an explosion in the use of social networks to promote web content but how much time is lost by fostering a social network child instead of building your own site into a valuable resource.
This seems to be a very hot topic on Twitter among the [...]]]></description>
			<content:encoded><![CDATA[<p>In the past three to 5 years we have seen an explosion in the use of social networks to promote web content but how much time is lost by fostering a social network child instead of building your own site into a valuable resource.</p>
<p>This seems to be a very hot topic on Twitter among the PR community. When twitter first became almost necessary for every business there were dozens of mostly unknown sites that skyrocketed to fame. We all know their names so there is no reason to go into pointing fingers but what has been lost or gained and how has that effected the content we read on a daily basis&#8230;</p>
<p>It is not as if content is developed purely for social networking but when you look at some of the articles that continue to be pumped out rather then information that can actually be helpful you have to wonder who is getting hurt.</p>
<p>It is almost impressive to watch how social networking sites can change people and by people it is not only stars like Miley Cyrus who decided to walk away from twitter&#8230; its technical writers even politicians and news agencies..</p>
<p>People of all trades seem to take that ride of insanity when they find something they said generated interest.</p>
<p>What is worse is they try to duplicate the experience by sticking to what they thought worked instead of understanding that their primary success is not related to bumps in social interest.</p>
<p>This ends up poorly with the loss of their base or primary support.</p>
<p>I will give you an example&#8230;.</p>
<p>There was a tech writer who had been very popular on the web for a decade maybe more and one day he received a bill in the mail (im not going to say what company) that was generated by mistake. The calculation of the amount due was maybe 5000 times higher then he actually owed and instead of chalking it up to a glitch and getting on with his day he decided to rant about it on a social network.</p>
<p>Because the company is very large and generates tens of millions of bills there were a few thousand people that were in the same boat as he was&#8230; some of them were in his social network group and word started to get out and he became the master of the bad bill&#8230;.</p>
<p>From that point on the guy continues to write about similar problems with bills and businesses and this became more of a primary concern then his technical reviews and previous content&#8230;</p>
<p>Sure the guy was getting a lot of immediate attention and that was a good use of Social Networking because it introduced a variety of other people to him.. but the people that he attracted were interested in Bad Bills not Technical Information &#8230; eventually the guy became lost in the madness of trying to please people that he had no business BUSINESS dealing with in the first place.</p>
<p>So I think you probably get where I&#8217;m going here&#8230; popularity on social networks can be very misleading and misguiding. In High School you can get very popular if you cut a loud fart in the middle of assembly but do you really want to live the next three years as Fartman having to chow down a can of chili before every play or concert just to maintain that persona?</p>
<p>yea.. didn&#8217;t think so..</p>
<p>So, my advice is to use social networking as a tool and don&#8217;t give into the hype.</p>
<p>If you find you are spending more time then you previously did managing your social networks start to examine how you are using them. If you see that much of your content is off topic then evaluate whether that is really a direction that you should be taking.</p>
<p>There is nothing wrong with finding a new direction in life.</p>
<p>The average person will change their careers between 5 and 7 times during  their life and the reason for that may be fulfillment or just to make money.</p>
<p>Neither is a wrong reason&#8230;</p>
<p>However when you make changes in your life you want to do so with open eyes&#8230; and you also need to get a grip on reality some times.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/09/01/does-social-networking-management-take-away-from-content-development.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; Displaying The Word Count On Your WordPress Posts</title>
		<link>http://www.npsites.com/2010/08/27/howto-displaying-the-word-count-on-your-wordpress-posts.html</link>
		<comments>http://www.npsites.com/2010/08/27/howto-displaying-the-word-count-on-your-wordpress-posts.html#comments</comments>
		<pubDate>Fri, 27 Aug 2010 11:30:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2519</guid>
		<description><![CDATA[It is really difficult to say how word count effects your search engine placement but many people say that a minimum of 400 words to around 1,000 words per page is enough for the average bot to read and then index your pages.
While editing your pages in the WordPress visual editor you can look to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-180" title="wordpress-logo" src="http://www.npsites.com/npsblog/wp-content/uploads/2009/04/wordpress-logo.jpg" alt="wordpress-logo" width="100" height="100" />It is really difficult to say how word count effects your search engine placement but many people say that a minimum of 400 words to around 1,000 words per page is enough for the average bot to read and then index your pages.</p>
<p>While editing your pages in the WordPress visual editor you can look to the bottom left of the editor window to view your approximate word count for the page you are currently writing. This is important for writers but if you are an editor reviewing your site you may want to do it from the front end and not open every page for editing.</p>
<p>In this case you can add a word count to your WordPress posts and quickly check if your writers are keeping to your standard of content generation.</p>
<p>To include a word count on your Posts you need to edit your single.php file and for pages you edit your page.php file. This may change depending on the theme you are using but the area that you need to place the php code to count the words on your page is within the WordPress Loop.</p>
<pre class="brush: php;">
&lt;?php function count_words($str){
 $words = 0;
 $str = eregi_replace(&quot; +&quot;, &quot; &quot;, $str);
 $array = explode(&quot; &quot;, $str);
 for($i=0;$i &lt; count($array);$i++)
 {
 if (eregi(&quot;[0-9A-Za-zÀ-ÖØ-öø-ÿ]&quot;, $array[$i]))
 $words++;
 }
 return $words;
 }?&gt;

 Word count: &lt;?php echo count_words($post-&gt;post_content); ?&gt;
</pre>
<p>You can place the function above your loop but the line that says Word count: and then code should be placed within your loop.</p>
<p>I like to place it near the meta information that displays categories and tags.</p>
<p>You may also want to place the function into your functions.php file or in another file that you call to build your pages.</p>
<p>The word count code is pretty simple but you may need to adjust it to fit a language other then english.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/08/27/howto-displaying-the-word-count-on-your-wordpress-posts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Offers Free Server &amp; Dev Software For Business Startups</title>
		<link>http://www.npsites.com/2010/08/27/microsoft-offers-free-server-dev-software-for-business-startups.html</link>
		<comments>http://www.npsites.com/2010/08/27/microsoft-offers-free-server-dev-software-for-business-startups.html#comments</comments>
		<pubDate>Fri, 27 Aug 2010 06:13:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[Industry News]]></category>
		<category><![CDATA[Site Management]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2518</guid>
		<description><![CDATA[Microsoft just announced a new program for Technology Business Startups called BizSpark.
The BizSpark package is more of a backend package including Windows Server all versions, SQL Server, Visual Studio Enterprise and a number of other tools that businesses would spend thousands of dollars putting together on their own.
Although the package does not from what we [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-77" title="microsoft_logo" src="http://www.npsites.com/npsblog/wp-content/uploads/2009/01/microsoft_logo.gif" alt="microsoft_logo" width="176" height="95" />Microsoft just announced a new program for Technology Business Startups called BizSpark.</p>
<p>The BizSpark package is more of a backend package including Windows Server all versions, SQL Server, Visual Studio Enterprise and a number of other tools that businesses would spend thousands of dollars putting together on their own.</p>
<p>Although the package does not from what we can see offer any desktop operating systems &#8230; who knows because if small business server is included you are probably getting win7 &#8230; but all together this is a very decent set of tools for any company designing microsoft based solutions.</p>
<p>From a quick read you not only get rights to use the products for development which is usually the case when microsoft gives out free software you also get to deploy solutions at least for your own offerings.</p>
<p>Support for the package does include a couple direct calls to microsoft for free but also all of the online support for free.</p>
<h2>Who is eligible for BizSpark?</h2>
<p>An eligible Startup must have the following characteristics at the time of joining:</p>
<p>* Actively engaged in development of a software-based product or service that will form a core piece of its current or intended business,</p>
<p>* Privately held,</p>
<p>* In business for less than 3 years at the time of enrollment, and</p>
<p>* Less than US $1 million in annual revenue .</p>
<p>There is a 25 member limit for initial user registrations, but if your business needs justify additional licenses your Startup can add additional members with approval from the BizSpark team.</p>
<h2>So its Free?</h2>
<p>It is a very decent deal and any technology provider that is even slightly interested in using microsoft products should avail themselves of the offer if they qualify.</p>
<p><strong>For more information visit</strong></p>
<p><a href="http://www.microsoft.com/bizspark/" target="_blank">http://www.microsoft.com/bizspark/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/08/27/microsoft-offers-free-server-dev-software-for-business-startups.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Study Shows Cameron Diaz Is The Most Infected Star On The Internet</title>
		<link>http://www.npsites.com/2010/08/19/study-shows-cameron-diaz-is-the-most-infected-star-on-the-internet.html</link>
		<comments>http://www.npsites.com/2010/08/19/study-shows-cameron-diaz-is-the-most-infected-star-on-the-internet.html#comments</comments>
		<pubDate>Fri, 20 Aug 2010 05:58:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Industry News]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2517</guid>
		<description><![CDATA[A new report by the McAfee Virus Team announced that Cameron Diaz is the Most Infected Star on the Internet. Unlike Pamela Anderson they weren&#8217;t talking STDs&#8230; the study examined the number of files mostly screen savers and media like that are downloaded and found that the person&#8217;s image who was most linked to malware [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.npsites.com/npsblog/wp-content/uploads/HLIC/1b9289430b77dd96abbde5e0ca3bfc54.jpg" alt="" width="250" height="201" />A new report by the McAfee Virus Team announced that Cameron Diaz is the Most Infected Star on the Internet. Unlike Pamela Anderson they weren&#8217;t talking STDs&#8230; the study examined the number of files mostly screen savers and media like that are downloaded and found that the person&#8217;s image who was most linked to malware infections was Cameron Diaz&#8230;</p>
<p>Well maybe its better then being infected in real life but when you are looking for a hottie to put on your desktop many users aren&#8217;t considering they can catch something from it other then some mild chafing or redness.</p>
<p>So, what does this mean?</p>
<p>Don&#8217;t download crap from sites that don&#8217;t verify the content.</p>
<p>If you want a desktop image go to Google Images and search for an exact size image that fits your desktop or a large one that you can modify in a basic image editor. If you want a screen saver there are a lot of them from reputable sources or use the built in features of your operating system.</p>
<p>Personally I never liked desktop backgrounds because I tend to be messy with my folders and with windows open all the time there isn&#8217;t much chance I will be seeing it&#8230; add to that the fact that all the added garbage of os themes tend to slow your computer down a lot. Today you might not notice it with a six core processor but back when I was using a 486 and windows 3, 95, nt&#8230; you could really feel the difference.</p>
<p>So, why did these fools pick Cameron Diaz to distribute their garbage? Who knows maybe they like her or maybe they don&#8217;t like the people that like her&#8230; or maybe they had nothing better to do &#8230;. the scary thing might be that they were targeting a specific person and to get access to their computer at the Department of Defense they flooded the internet with millions of files&#8230;</p>
<p>Could happen&#8230; you never know</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/08/19/study-shows-cameron-diaz-is-the-most-infected-star-on-the-internet.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; WordPress Adding A Delete Post Link To Your Pages</title>
		<link>http://www.npsites.com/2010/08/17/howto-wordpress-adding-a-delete-post-link-to-your-pages.html</link>
		<comments>http://www.npsites.com/2010/08/17/howto-wordpress-adding-a-delete-post-link-to-your-pages.html#comments</comments>
		<pubDate>Tue, 17 Aug 2010 16:51:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=2516</guid>
		<description><![CDATA[If you run a large or busy website there are times when you will need to delete old or bad posts from your site. This means jumping back and forth between your Dashboard and the FrontEnd of your site while you are hunting down posts to get rid of.
Although many or most themes will provide [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-180" title="wordpress-logo" src="http://www.npsites.com/npsblog/wp-content/uploads/2009/04/wordpress-logo.jpg" alt="wordpress-logo" width="100" height="100" />If you run a large or busy website there are times when you will need to delete old or bad posts from your site. This means jumping back and forth between your Dashboard and the FrontEnd of your site while you are hunting down posts to get rid of.</p>
<p>Although many or most themes will provide an edit link when you are viewing a single page or post this still means heading into your backend to make the delete of the page.</p>
<p>The solution is to add a Delete Post link next to the Edit Post link.</p>
<p>To make use of the Delete Post link you need to be logged into WordPress and with the use of a conditional statement we can display the delete post link only to those users that have the rights to delete posts.</p>
<p>The following code will display a Delete Post link when placed inside your Loop.</p>
<pre class="brush: php;">
&lt;?php if ( current_user_can('delete_post', get_the_id() ) ) : ?&gt;
&lt;a href=&quot;&lt;?php echo get_delete_post_link( get_the_id() ); ?&gt;&quot; &gt;DELETE THIS POST&lt;/a&gt;
&lt;?php endif; ?&gt;
</pre>
<p>Because the above code works when it is inside the Loop you can place this link inside your single.php page.php or within your category  pages loop.</p>
<p>This will allow a logged in administrator to browse through their categories and delete pages quickly without the need to view the post or head into the backend.</p>
<p>With the use of other conditional statements you can display the_content to administrators and excerpts on category pages to your visitors.</p>
<p>How creative you get is up to you.</p>
<p>If you do not use the conditional statement as shown above</p>
<pre>current_user_can('delete_post'</pre>
<p>Then your visitors will be shown a # link to the same location that they are currently at&#8230;<br />
meaning if you use this in your single.php they will have a link back to the same page if you use it in a category page they will link back to the same place.</p>
<p>Double check by logging out of your WordPress site and checking the URL generated but it is better just to hide this option for anyone that is not logged in and also able to delete posts.</p>
<h2>Options when using get_delete_post_link</h2>
<p>By default the link will put the post in your trash which is not a bad idea but you can force a true delete by using the following.</p>
<p><strong>Use this with care because there is no going back as you know.</strong></p>
<p><strong><span>$force_delete</span> = <span>true</span></strong></p>
<pre class="brush: php;">
 &lt;?php if ( current_user_can('delete_post', get_the_id() ) ) : ?&gt;
 &lt;a href=&quot;&lt;?php echo get_delete_post_link( get_the_id(),$force_delete=true ); ?&gt;&quot; &gt;DELETE THIS POST&lt;/a&gt;
 &lt;?php endif; ?&gt;
</pre>
<p>Now get out there and start cleaning up your sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/2010/08/17/howto-wordpress-adding-a-delete-post-link-to-your-pages.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
